nova services and transport_url, cannot connect to vhost if specified
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Expired
|
Undecided
|
Unassigned | ||
oslo.messaging |
Expired
|
High
|
Unassigned |
Bug Description
Centos 7
RDO installation
After upgrading from newton to ocata, i configured transport_url as:
transport_url = rabbit:
and I removed [oslo_messaging
But then the services din't start and I could ofcourse launch an instance.
Rabbitmq-logs:
=ERROR REPORT==== 18-Sep-
Error on AMQP connection <0.24592.64> (192.168.
access to vhost 'nova' refused for user 'nova'
nova-conductor logs:
2017-09-18 13:59:58.600 27799 ERROR oslo_service.
When I removed the transport_url and reconfigured the [oslo_messaging
[oslo_messaging
rabbit_hosts = 192.168.
rabbit_userid = "nova"
rabbit_password = "nova_pass"
rabbit_virtual_host = "/nova_vhost"
Finaly I reconfigured transport_url removed the /nova_vhost from the end, gave access to nova user for / vhost and everything worked. Keep in mind that of course nova user had access to /nova_vhost before. I also did cell_v2 update to update the transport_url in the db.
tags: | added: openstack-version.ocata |
tags: | added: cells |
Changed in oslo.messaging: | |
assignee: | Ken Giusti (kgiusti) → nobody |
transport_url is a stropt, not a listopt, so I've never seen this specified as a list before.