[Juno][UCA] Non default configuration sections ignored for nova.conf
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Invalid
|
Medium
|
Davanum Srinivas (DIMS) | ||
Ubuntu Cloud Archive |
Invalid
|
Undecided
|
Unassigned | ||
oslo.config |
Invalid
|
Medium
|
Davanum Srinivas (DIMS) |
Bug Description
Non default configuration sections [glance], [neutron] ignored for nova.conf then installed from UCA packages:
How to reproduce:
1) Install and configure OpenStack Juno Nova with Neutron at compute node using UCA (http://
python-oslo.config 1:1.2.1-0ubuntu2
python-
python-
nova-common 1:2014.
python-nova 1:2014.
neutron-common 1:2014.1.5-0ubuntu1
/etc/nova/nova.conf example:
[DEFAULT]
debug=True
...
[glance]
api_servers=
[neutron]
admin_auth_url=http://
admin_username=
admin_tenant_
admin_password=
url=http://
...
2) From nova log, check which values has been applied:
# grep -E 'admin_
2015-08-26 07:34:48.193 30535 DEBUG nova.openstack.
2015-08-26 07:34:48.210 30535 DEBUG nova.openstack.
2015-08-26 07:34:48.211 30535 DEBUG nova.openstack.
Expected:
configuration options to be applied from [glance], [neutron] sections according to the docs http://
Actual:
Defaults for the deprecated options were applied from the [DEFAULT] section instead
Changed in cloud-archive: | |
status: | New → Invalid |
So https:/ /wiki.openstack .org/wiki/ ReleaseNotes/ 2014.1. 5 shows that "The 2014.1.5 release is a Icehouse bugfix update", so that's icehouse and NOT juno. If you inspect for example nova/network/ neutronv2/ api.py in your environment, you will see
cfg. StrOpt( 'neutron_ admin_username' ,
help= 'Username for connecting to neutron in admin context'),
and NOT
cfg. StrOpt( 'admin_ username' ,
help=' Username for connecting to neutron in admin context',
deprecated_ group=' DEFAULT' ,
deprecated_ name='neutron_ admin_username' ),
Hope that helps.
Dims