yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #79572
[Bug 1839621] [NEW] Inappropriate split of transport_url string
Public bug reported:
In /etc/nova/nova.conf line 3085 if your password for messaging provider
(such as rabbit) contains "#" character then string will be splitted
inaccurately preventing nova service from starting.
Steps to reproduce
1. In /etc/nova/nova.conf set transport url to
transport_url=rabbit://openstack:test#password@xxxxxxxxxxxxxxxxxxxxxxxxxxx
2. systemctl start openstack-nova-api.service openstack-nova-
consoleauth.service openstack-nova-scheduler.service openstack-nova-
conductor.service openstack-nova-novncproxy.service
this will produce:
Job for openstack-nova-consoleauth.service failed because the control process exited with error code. See "systemctl status openstack-nova-consoleauth.service" and "journalctl -xe" for details.
Job for openstack-nova-api.service failed because the control process exited with error code. See "systemctl status openstack-nova-api.service" and "journalctl -xe" for details.
Job for openstack-nova-conductor.service failed because the control process exited with error code. See "systemctl status openstack-nova-conductor.service" and "journalctl -xe" for details.
Job for openstack-nova-scheduler.service failed because the control process exited with error code. See "systemctl status openstack-nova-scheduler.service" and "journalctl -xe" for details.
3. Check journalctl -xe logs and notice:
nova-conductor[31437]: ValueError: invalid literal for int() with base 10: 'test'
systemd[1]: openstack-nova-conductor.service: main process exited, code=exited, status=1/FAILURE
systemd[1]: Failed to start OpenStack Nova Conductor Server.
Environment:
OS: CentOS Linux release 7.6.1810
kernel: 3.10.0-957.21.3.el7.x86_64
rpm -qa | grep nova
python2-novaclient-13.0.1-1.el7.noarch
openstack-nova-conductor-19.0.1-1.el7.noarch
openstack-nova-console-19.0.1-1.el7.noarch
openstack-nova-common-19.0.1-1.el7.noarch
openstack-nova-novncproxy-19.0.1-1.el7.noarch
python2-nova-19.0.1-1.el7.noarch
openstack-nova-api-19.0.1-1.el7.noarch
openstack-nova-scheduler-19.0.1-1.el7.noarch
** Affects: nova
Importance: Undecided
Status: New
--
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/1839621
Title:
Inappropriate split of transport_url string
Status in OpenStack Compute (nova):
New
Bug description:
In /etc/nova/nova.conf line 3085 if your password for messaging
provider (such as rabbit) contains "#" character then string will be
splitted inaccurately preventing nova service from starting.
Steps to reproduce
1. In /etc/nova/nova.conf set transport url to
transport_url=rabbit://openstack:test#password@xxxxxxxxxxxxxxxxxxxxxxxxxxx
2. systemctl start openstack-nova-api.service openstack-nova-
consoleauth.service openstack-nova-scheduler.service openstack-nova-
conductor.service openstack-nova-novncproxy.service
this will produce:
Job for openstack-nova-consoleauth.service failed because the control process exited with error code. See "systemctl status openstack-nova-consoleauth.service" and "journalctl -xe" for details.
Job for openstack-nova-api.service failed because the control process exited with error code. See "systemctl status openstack-nova-api.service" and "journalctl -xe" for details.
Job for openstack-nova-conductor.service failed because the control process exited with error code. See "systemctl status openstack-nova-conductor.service" and "journalctl -xe" for details.
Job for openstack-nova-scheduler.service failed because the control process exited with error code. See "systemctl status openstack-nova-scheduler.service" and "journalctl -xe" for details.
3. Check journalctl -xe logs and notice:
nova-conductor[31437]: ValueError: invalid literal for int() with base 10: 'test'
systemd[1]: openstack-nova-conductor.service: main process exited, code=exited, status=1/FAILURE
systemd[1]: Failed to start OpenStack Nova Conductor Server.
Environment:
OS: CentOS Linux release 7.6.1810
kernel: 3.10.0-957.21.3.el7.x86_64
rpm -qa | grep nova
python2-novaclient-13.0.1-1.el7.noarch
openstack-nova-conductor-19.0.1-1.el7.noarch
openstack-nova-console-19.0.1-1.el7.noarch
openstack-nova-common-19.0.1-1.el7.noarch
openstack-nova-novncproxy-19.0.1-1.el7.noarch
python2-nova-19.0.1-1.el7.noarch
openstack-nova-api-19.0.1-1.el7.noarch
openstack-nova-scheduler-19.0.1-1.el7.noarch
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1839621/+subscriptions
Follow ups