Deploying cs:trusty/rabbitmq-server-50 to an LXC on a VM as part of Openstack installation breaks
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack RabbitMQ Server Charm |
Invalid
|
Undecided
|
Unassigned | ||
rabbitmq-server (Juju Charms Collection) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Juju status is forever stuck in this status:
$ juju status rabbitmq-server
environment: maas
machines:
"1":
agent-state: started
agent-version: 1.25.6.1
dns-name: VMNode2MAAS.maas
instance-id: /MAAS/api/
series: trusty
containers:
1/lxc/1:
dns-name: 10.1.1.112
series: trusty
hardware: arch=amd64
hardware: arch=amd64 cpu-cores=4 mem=4096M tags=virtual availability-
services:
rabbitmq-server:
charm: cs:trusty/
exposed: false
life: dying
service-status:
current: maintenance
message: 'Waiting for rabbitmq app to start: /var/run/
since: 09 Oct 2016 14:53:10+02:00
relations:
amqp:
- neutron-api
cluster:
- rabbitmq-server
units:
rabbitmq-
current: maintenance
message: 'Waiting for rabbitmq app to start: /var/run/
since: 09 Oct 2016 14:53:10+02:00
current: executing
message: running update-status hook
since: 09 Oct 2016 14:53:09+02:00
version: 1.25.6.1
life: dying
machine: 1/lxc/1
open-ports:
- 5672/tcp
networks:
subnet-1:
provider-id: subnet-1
cidr: 172.26.0.0/22
subnet-2:
provider-id: subnet-2
cidr: 10.1.1.0/24
Debugging on the machine itself:
Doing a service restart:
ubuntu@
* Restarting message broker rabbitmq-server [fail]
Checking /var/log/
ERROR: epmd error for host "blue-drop": address (cannot connect to host/port)
For the above, I do have a machine called blue-drop but its fully qualified DNS name is blue-drop.maas. Could this be what's causing a problem with rabbitMQ?
How do I resolve the above situation?
Full juju-status:
environment: maas
machines:
"0":
agent-state: started
agent-version: 1.25.6.1
dns-name: VMNode1MAAS.maas
instance-id: /MAAS/api/
series: trusty
hardware: arch=amd64 cpu-cores=4 mem=4096M tags=virtual availability-
state-
"1":
agent-state: started
agent-version: 1.25.6.1
dns-name: VMNode2MAAS.maas
instance-id: /MAAS/api/
series: trusty
containers:
1/lxc/0:
dns-name: 10.1.1.144
series: trusty
hardware: arch=amd64
1/lxc/1:
dns-name: 10.1.1.112
series: trusty
hardware: arch=amd64
1/lxc/2:
dns-name: 10.1.1.150
series: trusty
hardware: arch=amd64
1/lxc/3:
dns-name: 10.1.1.132
series: trusty
hardware: arch=amd64
1/lxc/4:
dns-name: 10.1.1.129
series: trusty
hardware: arch=amd64
1/lxc/5:
dns-name: 10.1.1.109
series: trusty
hardware: arch=amd64
1/lxc/6:
dns-name: 10.1.1.106
series: trusty
hardware: arch=amd64
hardware: arch=amd64 cpu-cores=4 mem=4096M tags=virtual availability-
"2":
agent-state: started
agent-version: 1.25.6.1
dns-name: blue-drop.maas
instance-id: /MAAS/api/
series: trusty
hardware: arch=amd64 cpu-cores=24 mem=131072M tags=node-
availabil
"3":
agent-state: started
agent-version: 1.25.6.1
dns-name: chilly-
instance-id: /MAAS/api/
series: trusty
hardware: arch=amd64 cpu-cores=32 mem=65536M tags=node-
availabil
"4":
agent-state: started
agent-version: 1.25.6.1
dns-name: old-vm-
instance-id: /MAAS/api/
series: trusty
hardware: arch=amd64 cpu-cores=32 mem=65536M availability-
"5":
agent-state: started
agent-version: 1.25.6.1
dns-name: VMNode3MAAS.maas
instance-id: /MAAS/api/
series: trusty
hardware: arch=amd64 cpu-cores=4 mem=4096M tags=virtual availability-
"6":
agent-state: started
agent-version: 1.25.6.1
dns-name: VMNode4MAAS.maas
instance-id: /MAAS/api/
series: trusty
hardware: arch=amd64 cpu-cores=4 mem=4096M tags=virtual availability-
services:
cinder-api:
charm: cs:trusty/
exposed: false
service-status:
current: blocked
message: 'Missing relations: messaging'
since: 10 Oct 2016 09:52:45+02:00
relations:
cinder-
- nova-cloud-
cluster:
- cinder-api
identity-
- keystone
image-
- glance
shared-db:
- mysql
units:
cinder-api/0:
current: blocked
message: 'Missing relations: messaging'
since: 10 Oct 2016 09:52:45+02:00
current: idle
since: 10 Oct 2016 09:52:48+02:00
version: 1.25.6.1
machine: 1/lxc/6
open-ports:
- 8776/tcp
cinder-volume:
charm: cs:trusty/
exposed: false
service-status:
current: blocked
message: 'Missing relations: messaging'
since: 10 Oct 2016 09:56:10+02:00
relations:
cluster:
- cinder-volume
image-
- glance
shared-db:
- mysql
units:
cinder-
current: blocked
message: 'Missing relations: messaging'
since: 10 Oct 2016 09:56:10+02:00
current: idle
since: 10 Oct 2016 09:56:12+02:00
version: 1.25.6.1
machine: "5"
open-ports:
- 8776/tcp
glance:
charm: cs:trusty/
exposed: false
service-status:
current: active
message: Unit is ready
since: 10 Oct 2016 09:54:16+02:00
relations:
cluster:
- glance
identity-
- keystone
image-
- cinder-api
- cinder-volume
- nova-cloud-
- nova-compute
shared-db:
- mysql
units:
glance/0:
current: active
message: Unit is ready
since: 10 Oct 2016 09:54:16+02:00
current: idle
since: 10 Oct 2016 09:54:18+02:00
version: 1.25.6.1
machine: 1/lxc/3
open-ports:
- 9292/tcp
keystone:
charm: cs:trusty/
exposed: false
service-status:
current: active
message: Unit is ready
since: 10 Oct 2016 09:56:09+02:00
relations:
cluster:
- keystone
identity-
- cinder-api
- glance
- neutron-api
- nova-cloud-
- openstack-dashboard
shared-db:
- mysql
units:
keystone/0:
current: active
message: Unit is ready
since: 10 Oct 2016 09:56:09+02:00
current: idle
since: 10 Oct 2016 09:56:11+02:00
version: 1.25.6.1
machine: 1/lxc/2
open-ports:
- 5000/tcp
mysql:
charm: cs:trusty/mysql-55
exposed: false
service-status:
current: unknown
since: 09 Oct 2016 14:17:10+02:00
relations:
cluster:
- mysql
shared-db:
- cinder-api
- cinder-volume
- glance
- keystone
- neutron-api
- nova-cloud-
- nova-compute
units:
mysql/1:
current: unknown
since: 09 Oct 2016 14:17:10+02:00
current: idle
since: 10 Oct 2016 09:52:17+02:00
version: 1.25.6.1
machine: 1/lxc/0
open-ports:
- 3306/tcp
neutron-api:
charm: cs:trusty/
exposed: false
service-status:
current: blocked
message: 'Missing relations: messaging'
since: 10 Oct 2016 09:56:10+02:00
relations:
amqp:
- rabbitmq-server
cluster:
- neutron-api
identity-
- keystone
neutron-api:
- nova-cloud-
neutron-
- neutron-gateway
- neutron-openvswitch
shared-db:
- mysql
units:
neutron-
current: blocked
message: 'Missing relations: messaging'
since: 10 Oct 2016 09:56:10+02:00
current: idle
since: 10 Oct 2016 09:56:13+02:00
version: 1.25.6.1
machine: 1/lxc/4
open-ports:
- 9696/tcp
neutron-gateway:
charm: cs:trusty/
exposed: false
service-status:
current: blocked
message: 'Missing relations: messaging'
since: 10 Oct 2016 09:52:27+02:00
relations:
cluster:
- neutron-gateway
neutron-
- neutron-api
units:
neutron-
current: blocked
message: 'Missing relations: messaging'
since: 10 Oct 2016 09:52:27+02:00
current: idle
since: 10 Oct 2016 09:52:30+02:00
version: 1.25.6.1
machine: "2"
neutron-
charm: cs:trusty/
exposed: false
service-status: {}
relations:
neutron-
- nova-compute
neutron-
- neutron-api
subordinate-to:
- nova-compute
nova-
charm: cs:trusty/
exposed: false
service-status:
current: blocked
message: 'Missing relations: messaging'
since: 10 Oct 2016 09:56:25+02:00
relations:
cinder-
- cinder-api
cloud-
- nova-compute
cluster:
- nova-cloud-
identity-
- keystone
image-
- glance
neutron-api:
- neutron-api
shared-db:
- mysql
units:
nova-
current: blocked
message: 'Missing relations: messaging'
since: 10 Oct 2016 09:56:25+02:00
current: idle
since: 10 Oct 2016 09:56:28+02:00
version: 1.25.6.1
machine: 1/lxc/5
open-ports:
- 8774/tcp
nova-compute:
charm: cs:trusty/
exposed: false
service-status:
current: blocked
message: 'Missing relations: messaging'
since: 10 Oct 2016 09:53:26+02:00
relations:
cloud-
- nova-cloud-
compute-peer:
- nova-compute
image-
- glance
neutron-
- neutron-openvswitch
shared-db:
- mysql
units:
nova-
current: blocked
message: 'Missing relations: messaging'
since: 10 Oct 2016 09:56:26+02:00
current: idle
since: 10 Oct 2016 09:56:29+02:00
version: 1.25.6.1
machine: "3"
nova-
current: blocked
message: 'Missing relations: messaging'
since: 10 Oct 2016 09:53:26+02:00
current: idle
since: 10 Oct 2016 09:53:28+02:00
version: 1.25.6.1
machine: "4"
openstack-
charm: cs:trusty/
exposed: false
service-status:
current: active
message: Unit is ready
since: 10 Oct 2016 09:53:40+02:00
relations:
cluster:
- openstack-dashboard
identity-
- keystone
units:
openstack
current: active
message: Unit is ready
since: 10 Oct 2016 09:53:40+02:00
current: idle
since: 10 Oct 2016 09:53:42+02:00
version: 1.25.6.1
machine: "6"
open-ports:
- 80/tcp
- 443/tcp
rabbitmq-server:
charm: cs:trusty/
exposed: false
life: dying
service-status:
current: maintenance
message: 'Waiting for rabbitmq app to start: /var/run/
since: 09 Oct 2016 14:53:10+02:00
relations:
amqp:
- neutron-api
cluster:
- rabbitmq-server
units:
rabbitmq-
current: maintenance
message: 'Waiting for rabbitmq app to start: /var/run/
since: 09 Oct 2016 14:53:10+02:00
current: executing
message: running update-status hook
since: 09 Oct 2016 14:53:09+02:00
version: 1.25.6.1
life: dying
machine: 1/lxc/1
open-ports:
- 5672/tcp
networks:
subnet-1:
provider-id: subnet-1
cidr: 172.26.0.0/22
subnet-2:
provider-id: subnet-2
cidr: 10.1.1.0/24
Changed in rabbitmq-server (Juju Charms Collection): | |
status: | New → Invalid |
Changed in charm-rabbitmq-server: | |
status: | New → Invalid |
EDIT: rabbitmq- env.conf
$ sudo nano /etc/rabbitmq/
has
RABBITMQ_ NODENAME= rabbit@ blue-drop
which I modified to
<email address hidden>
and tried a service rabbitmq-server restart. Still yielded a fail.
Unresolved