benjamin000
Enthusiast
Enthusiast

Authenticating when creating or editing neutron router

We need to create a router using the cli as we want to disable snat.

We have the command

neutron router-gateway-set --disable-snat f6176261-6675-42e4-aae2-ec1356dc8855 2a839744-f16d-4e28-a6e3-4ec0161809e3

However when running this we receive :"-

Discovering versions from the identity service failed when creating the password plugin. Attempting to determine version from URL.

Could not determine a suitable URL for the plugin

Our rc file looks like the following

# Ansible managed file, do not edit directly

unset OS_SERVICE_TOKEN

unset OS_SERVICE_ENDPOINT

unset OS_TENANT_NAME

export OS_AUTH_URL=http://172.16.0.42/5000/v3

export OS_REGION_NAME=nova

export OS_PROJECT_ID=f25adf22c293444bb8e2778df6a12ad9

export OS_USERNAME=removed

export OS_USER_DOMAIN_NAME=default

export NOVA_ENDPOINT_TYPE=internalURL

export OS_ENDPOINT_TYPE=internalURL

export CINDER_ENDPOINT_TYPE=internalURL

export OS_INTERFACE=internal

export OS_IDENTITY_API_VERSION=2

We normally have no issues as we use this rc file when we need to reset instances that are in error so I do not know what the problem could be.

I have attached our keystone log file so someone could make sense and hopefully provide some guidance.

Regards Ben McGuire
0 Kudos
1 Reply
benjamin000
Enthusiast
Enthusiast

The issue was resolved by xgao3​ . The OS_Password field was not in our keystone source file so I we were not authenticated. If xgao3​ responds I can award points as this was discussed in a private chat.

Regards Ben McGuire
0 Kudos