yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #37332
[Bug 1488809] Re: [Juno][UCA] Non default configuration sections ignored for nova.conf
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
** Changed in: oslo.config
Assignee: (unassigned) => Davanum Srinivas (DIMS) (dims-v)
** Changed in: nova
Assignee: (unassigned) => Davanum Srinivas (DIMS) (dims-v)
** Changed in: oslo.config
Importance: Undecided => Medium
** Changed in: nova
Importance: Undecided => Medium
** Changed in: oslo.config
Status: New => Invalid
** Changed in: nova
Status: New => Invalid
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1488809
Title:
[Juno][UCA] Non default configuration sections ignored for nova.conf
Status in ubuntu-cloud-archive:
New
Status in OpenStack Compute (nova):
Invalid
Status in oslo.config:
Invalid
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://archive.ubuntu.com/ubuntu/ trusty-updates/main amd64 Packages):
python-oslo.config 1:1.2.1-0ubuntu2
python-oslo.messaging 1.3.0-0ubuntu1.2
python-oslo.rootwrap 1.2.0-0ubuntu1
nova-common 1:2014.1.5-0ubuntu1.2
python-nova 1:2014.1.5-0ubuntu1.2
neutron-common 1:2014.1.5-0ubuntu1
/etc/nova/nova.conf example:
[DEFAULT]
debug=True
...
[glance]
api_servers=10.0.0.3:9292
[neutron]
admin_auth_url=http://10.0.0.3:5000/v2.0
admin_username=admin
admin_tenant_name=services
admin_password=admin
url=http://10.0.0.3:9696
...
2) From nova log, check which values has been applied:
# grep -E 'admin_auth_url\s+=|admin_username\s+=|api_servers\s+=' /var/log/nova/nova-compute.log
2015-08-26 07:34:48.193 30535 DEBUG nova.openstack.common.service [-] glance_api_servers = ['192.168.121.14:9292'] log_opt_values /usr/lib/python2.7/dist-packages/oslo/config/cfg.py:1941
2015-08-26 07:34:48.210 30535 DEBUG nova.openstack.common.service [-] neutron_admin_auth_url = http://localhost:5000/v2.0 log_opt_values /usr/lib/python2.7/dist-packages/oslo/config/cfg.py:1941
2015-08-26 07:34:48.211 30535 DEBUG nova.openstack.common.service [-] neutron_admin_username = None log_opt_values /usr/lib/python2.7/dist-packages/oslo/config/cfg.py:1941
Expected:
configuration options to be applied from [glance], [neutron] sections according to the docs http://docs.openstack.org/juno/config-reference/content/list-of-compute-config-options.html
Actual:
Defaults for the deprecated options were applied from the [DEFAULT] section instead
To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1488809/+subscriptions
References