So, in order to quash this completely (as a workaround) the left over endpoint information from nova-cc needs to be removed. Example of doing this (change relation ids, etc, as required):
$ juju run -u nova-cloud-controller/0 -- relation-ids identity-service
identity-service:47
So, in order to quash this completely (as a workaround) the left over endpoint information from nova-cc needs to be removed. Example of doing this (change relation ids, etc, as required):
$ juju run -u nova-cloud- controller/ 0 -- relation-ids identity-service
identity-service:47
$ juju run -u keystone/0 -- relation-list -r47 controller/ 0 controller/ 1 controller/ 3
nova-cloud-
nova-cloud-
nova-cloud-
$ juju run -u keystone/0 -- relation-get -r47 - nova-cloud- controller/ 0 10.*:8774/ v2.1 10.*:8774/ v2.1 10.*:8774/ v2.1 admin_url: http:// 10.*:8778 internal_ url: http:// 10.*:8778 public_ url: http:// 10.*:8778 ep_change: neutron placement
egress-subnets: 10.***/32
ingress-address: 10.*
nova_admin_url: http://
nova_internal_url: http://
nova_public_url: http://
nova_region: serverstack
nova_service: nova
placement_
placement_
placement_
placement_region: serverstack
placement_service: placement
private-address: *
subscribe_
The items with the "placement_" prefix need to be removed:
$ juju run -a nova-cloud- controller -- relation-set -r47 placement_ admin_url= \ internal_ url= placement_ public_ url= placement_region= placement_service=
placement_
Note that no characters come after the '='.
After the cloud has settled, you can verify the keystone end again:
juju run -u keystone/0 -- relation-get -r47 - nova-cloud- controller/ 0 10.*:8774/ v2.1 10.*:8774/ v2.1 10.*:8774/ v2.1
egress-subnets: 10.*/32
ingress-address: 10.*
nova_admin_url: http://
nova_internal_url: http://
nova_public_url: http://
nova_region: serverstack
nova_service: nova
Then verify that the endpoints are set to the placement unit.
---
The relevant place to fix the code in nova-cloud- controller is:
https:/ /github. com/openstack/ charm-nova- cloud-controlle r/blob/ b56572cf6bde1cb c91af1f0bab0aab 25a1648efd/ hooks/nova_ cc_utils. py#L1570