Cross model relation not completed for Keystone

Bug #1813915 reported by Alexandros Soumplis
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Canonical Juju
Expired
Undecided
Unassigned
OpenStack Nova Cloud Controller Charm
Expired
Undecided
Unassigned

Bug Description

I am trying to make a cross model relation (Juju 2.5.0) between working keystone in a model and other openstack components (ex. nova-cloud-controller) in another model (same controller). The relations does not complete.

nova-cloud-controller/2* waiting idle 31/lxd/2 172.16.1.185 8774/tcp,8775/tcp,8778/tcp Incomplete relations: identity
nova-cloud-controller/7 waiting idle 37/lxd/2 172.16.1.209 8774/tcp,8775/tcp,8778/tcp Incomplete relations: identity
nova-cloud-controller/8 waiting idle 38/lxd/2 172.16.1.210 8774/tcp,8775/tcp,8778/tcp Incomplete relations: identity

The juju log displays:
4f6fdac1-0db2-448a-8a72-6d35727586b8: unit-nova-cloud-controller-7 2019-01-30 10:41:05 INFO unit.nova-cloud-controller/7.juju-log server.go:284 identity relation's interface, identity-service, is related awaiting the following data from the relationship: service_port, service_host, auth_host, auth_port, admin_tenant_name, admin_user, admin_password.

The debug-hook when adding the relation shows:
root@juju-7586b8-37-lxd-2:/var/lib/juju/agents/unit-nova-cloud-controller-7/charm# ./hooks/identity-service-relation-joined
ERROR no unit id specified
ERROR no unit id specified
lxc
lxc
lxc

Tags: cmr
Revision history for this message
Ian Booth (wallyworld) wrote :

Given the errors logged about missing unit id during hook execution, this appears to be an issue with the charm(s). For charms to play nicely with CMR, they need to adhere to certain practices, like using network-get rather than unit-get to ask Juju for address info etc. Charms also need to not assume they know the name of the remote units, as these are obfuscated across a cross model relation. The first thing to check is the structure of the charm themselves. There was recently a similar issue with one of the openstack charms which required the charm to be updated.

Changed in juju:
status: New → Incomplete
Revision history for this message
covertgeek (derek-rushing) wrote :

I'm using cs:nova-cloud-controller-320 and cs:keystone-291. The relation ID errors I'm receiving are the same as described above. This is blocking/preventing the openstack deployment in this case.

Here's a pastebin of my bundle.yaml.
https://pastebin.com/0SJywvFU

Revision history for this message
covertgeek (derek-rushing) wrote :

Here's a bundle.yaml with all the current versions being used. It's hopefully more helpful than the one referenced above.

https://pastebin.com/m6AVkwpW

Revision history for this message
covertgeek (derek-rushing) wrote :

Updating to reflect that this has also affected openstack-dashboard <--> keystone. I removed keystone and nova-cloud-controller from a HA setup and left the rest the same.

openstack-dashboard now reports "ERROR no relation id specified"

The relations is showing in the status.
"keystone:identity-service openstack-dashboard:identity-service keystone regular"

James Page (james-page)
tags: added: cmr
Revision history for this message
James Page (james-page) wrote :

Ignore the "ERROR no relation id specified" messages - these are a bit of a red herring in terms of cause for this problem.

I've endeavoured to reproduce this issue with keystone+percona-cluster in one model, and neutron+nova+glance+dashboard+percona-cluster in a second one - the relation appears to be working for me, with all services ready and active and all catalog entries created by the keystone charm.

I also reviewed the data on the keystone identity-service interface - none of it relies on unit names for completeness so it should be fine and its all network space aware so again this should be ok.

Changed in charm-nova-cloud-controller:
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for juju because there has been no activity for 60 days.]

Changed in juju:
status: Incomplete → Expired
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for OpenStack nova-cloud-controller charm because there has been no activity for 60 days.]

Changed in charm-nova-cloud-controller:
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.