Ironic fails to communicate with neutron, glance and inspector
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kolla-ansible |
Fix Released
|
Undecided
|
Mark Goddard |
Bug Description
As of [1], ironic requires explicit configuration of authentication parameters for communication with neutron, glance, inspector, swift, and service_catalog. Omission of these parameters leads to a failure to communicate with the service.
For example, attempts to communicate with neutron leads to a backtrace such as [2] when validating a node (this is done as part of a number of other operations also), e.g.
openstack baremetal node validate <node>
The [neutron], [glance] and [inspector] sections in ironic.conf need configuration of the following values:
auth_type = password
project_domain_id = default
user_domain_id = default
project_name = service
username = {{ ironic_
password = {{ ironic_
Kolla-ansible does not currently configure the [swift] or [service_catalog] sections.
[1] https:/
[2]
2017-06-30 18:42:25.821 7 ERROR oslo_messaging.
2017-06-30 18:42:25.821 7 ERROR oslo_messaging.
2017-06-30 18:42:25.821 7 ERROR oslo_messaging.
2017-06-30 18:42:25.821 7 ERROR oslo_messaging.
2017-06-30 18:42:25.821 7 ERROR oslo_messaging.
2017-06-30 18:42:25.821 7 ERROR oslo_messaging.
2017-06-30 18:42:25.821 7 ERROR oslo_messaging.
2017-06-30 18:42:25.821 7 ERROR oslo_messaging.
2017-06-30 18:42:25.821 7 ERROR oslo_messaging.
2017-06-30 18:42:25.821 7 ERROR oslo_messaging.
2017-06-30 18:42:25.821 7 ERROR oslo_messaging.
2017-06-30 18:42:25.821 7 ERROR oslo_messaging.
2017-06-30 18:42:25.821 7 ERROR oslo_messaging.
2017-06-30 18:42:25.821 7 ERROR oslo_messaging.
2017-06-30 18:42:25.821 7 ERROR oslo_messaging.
2017-06-30 18:42:25.821 7 ERROR oslo_messaging.
2017-06-30 18:42:25.821 7 ERROR oslo_messaging.
2017-06-30 18:42:25.821 7 ERROR oslo_messaging.
2017-06-30 18:42:25.821 7 ERROR oslo_messaging.
2017-06-30 18:42:25.821 7 ERROR oslo_messaging.
2017-06-30 18:42:25.821 7 ERROR oslo_messaging.
2017-06-30 18:42:25.821 7 ERROR oslo_messaging.
2017-06-30 18:42:25.821 7 ERROR oslo_messaging.
2017-06-30 18:42:25.821 7 ERROR oslo_messaging.
2017-06-30 18:42:25.821 7 ERROR oslo_messaging.
2017-06-30 18:42:25.821 7 ERROR oslo_messaging.
2017-06-30 18:42:25.821 7 ERROR oslo_messaging.
2017-06-30 18:42:25.821 7 ERROR oslo_messaging.
2017-06-30 18:42:25.821 7 ERROR oslo_messaging.
2017-06-30 18:42:25.821 7 ERROR oslo_messaging.
2017-06-30 18:42:25.821 7 ERROR oslo_messaging.
2017-06-30 18:42:25.821 7 ERROR oslo_messaging.
2017-06-30 18:42:25.821 7 ERROR oslo_messaging.
2017-06-30 18:42:25.821 7 ERROR oslo_messaging.
2017-06-30 18:42:25.821 7 ERROR oslo_messaging.
2017-06-30 18:42:25.821 7 ERROR oslo_messaging.
2017-06-30 18:42:25.821 7 ERROR oslo_messaging.
2017-06-30 18:42:25.821 7 ERROR oslo_messaging.
2017-06-30 18:42:25.821 7 ERROR oslo_messaging.
2017-06-30 18:42:25.821 7 ERROR oslo_messaging.
2017-06-30 18:42:25.821 7 ERROR oslo_messaging.
2017-06-30 18:42:25.821 7 ERROR oslo_messaging.
2017-06-30 18:42:25.821 7 ERROR oslo_messaging.
2017-06-30 18:42:25.821 7 ERROR oslo_messaging.
2017-06-30 18:42:25.821 7 ERROR oslo_messaging.
2017-06-30 18:42:25.821 7 ERROR oslo_messaging.
2017-06-30 18:42:25.821 7 ERROR oslo_messaging.
2017-06-30 18:42:25.821 7 ERROR oslo_messaging.
2017-06-30 18:42:25.821 7 ERROR oslo_messaging.
summary: |
- Ironic fails to communicate with neutron + Ironic fails to communicate with neutron, glance and inspector |
description: | updated |
Changed in kolla-ansible: | |
assignee: | nobody → Mark Goddard (mgoddard) |
Reviewed: https:/ /review. openstack. org/480154 /git.openstack. org/cgit/ openstack/ kolla-ansible/ commit/ ?id=f0062331f58 55cfe0ce7cae11d 65b80719fd49df
Committed: https:/
Submitter: Jenkins
Branch: master
commit f0062331f5855cf e0ce7cae11d65b8 0719fd49df
Author: Mark Goddard <email address hidden>
Date: Fri Jun 30 19:20:06 2017 +0100
Fix ironic authentication configuration
As of [1], the ironic configuration for neutron, glance, swift,
inspector and service_catalog requires explicit configuration of
authentication parameters for communication with these services.
This change adds the required parameters to [neutron], [glance] and
[inspector] sections of ironic.conf. Kolla-ansible does not configure
the [swift] or [service_discovery] sections currently.
We also replace option [glance] glance_hosts with [glance] api_servers as the former is deprecated.
glance_
Since we no longer need to support generating configuration for kubernetes[ 2], some related options have been cleaned.
kolla-
[1] /github. com/openstack/ ironic/ commit/ 4f9035c24f0465b e5728ed9a8a6df7 6cd6f46ed3 /blueprints. launchpad. net/kolla- ansible/ +spec/clean- k8s-config
https:/
[2]
https:/
Change-Id: Ifc239af5f3e44a 508fedc9dea08cb 06160c4f7f3
Closes-Bug: #1701713