Followed the guide on OpenStack.org for deploying the OpenStack charms individually (i.e. not via one of the standard bundles) - https://docs.openstack.org/project-deploy-guide/charm-deployment-guide/latest/install-openstack.html. This is trying to deploy a simple set up to 3 MaaS nodes with juju.

Everything has worked successfully except for neutron-gateway; which is 'blocked':

neutron-gateway/0*        blocked   idle   2        192.168.10.4 
Services not running that should be: neutron-metadata-agent, nova-api-metadata, neutron-l3-agent, neutron-dhcp-agent

Logging into machine 2, and looking at unit-neutron-gateway-0.log, gives the following errors:

2018-10-07 17:07:19 DEBUG amqp-relation-changed Failed to restart neutron-dhcp-agent.service: Unit neutron-dhcp-agent.service not found.
2018-10-07 17:07:19 DEBUG amqp-relation-changed Failed to restart neutron-l3-agent.service: Unit neutron-l3-agent.service not found.
2018-10-07 17:07:50 DEBUG amqp-relation-changed Failed to restart neutron-metadata-agent.service: Unit neutron-metadata-agent.service not found.
2018-10-07 17:07:50 DEBUG amqp-relation-changed Failed to restart nova-api-metadata.service: Unit nova-api-metadata.service not found.

Here is the full output of juju status:

Model       Controller  Cloud/Region  Version  SLA          Timestamp
controller  maas-cloud  maas-cloud    2.4.3    unsupported  20:13:13Z

App                    Version       Status   Scale  Charm                  Store       Rev  OS      Notes
ceph-mon               12.2.7        active       3  ceph-mon               jujucharms   27  ubuntu  
ceph-osd               12.2.7        active       3  ceph-osd               jujucharms  270  ubuntu  
cinder                 12.0.3        active       1  cinder                 jujucharms  274  ubuntu  
glance                 16.0.1        active       1  glance                 jujucharms  269  ubuntu  
keystone               13.0.0        active       1  keystone               jujucharms  285  ubuntu  
mysql                  5.7.20-29.24  active       1  percona-cluster        jujucharms  270  ubuntu  
neutron-api            12.0.3        active       1  neutron-api            jujucharms  263  ubuntu  
neutron-gateway        12.0.3        blocked      1  neutron-gateway        jujucharms  254  ubuntu  
neutron-openvswitch    12.0.3        active       2  neutron-openvswitch    jujucharms  253  ubuntu  
nova-cloud-controller  17.0.5        active       1  nova-cloud-controller  jujucharms  314  ubuntu  
nova-compute           17.0.5        active       2  nova-compute           jujucharms  288  ubuntu  
openstack-dashboard    13.0.1        active       1  openstack-dashboard    jujucharms  268  ubuntu  
rabbitmq-server        3.6.10        active       1  rabbitmq-server        jujucharms   80  ubuntu  
swift-proxy            2.17.0        active       1  swift-proxy            jujucharms   72  ubuntu  
swift-storage-zone1    2.17.0        active       1  swift-storage          jujucharms  247  ubuntu  
swift-storage-zone2    2.17.0        active       1  swift-storage          jujucharms  247  ubuntu  
swift-storage-zone3    2.17.0        active       1  swift-storage          jujucharms  247  ubuntu  

Unit                      Workload  Agent  Machine  Public address  Ports              Message
ceph-mon/0*               active    idle   0/lxd/0  192.168.10.5                       Unit is ready and clustered
ceph-mon/1                active    idle   2/lxd/4  192.168.10.12                      Unit is ready and clustered
ceph-mon/2                active    idle   1/lxd/3  192.168.10.6                       Unit is ready and clustered
ceph-osd/0*               active    idle   0        192.168.10.2                       Unit is ready (1 OSD)
ceph-osd/1                active    idle   2        192.168.10.4                       Unit is ready (1 OSD)
ceph-osd/2                active    idle   1        192.168.10.3                       Unit is ready (1 OSD)
cinder/0*                 active    idle   2/lxd/5  192.168.10.15   8776/tcp           Unit is ready
glance/0*                 active    idle   1/lxd/2  192.168.10.9    9292/tcp           Unit is ready
keystone/0*               active    idle   1/lxd/0  192.168.10.7    5000/tcp           Unit is ready
mysql/0*                  active    idle   2/lxd/1  192.168.10.16   3306/tcp           Unit is ready
neutron-api/0*            active    idle   2/lxd/0  192.168.10.14   9696/tcp           Unit is ready
neutron-gateway/0*        blocked   idle   2        192.168.10.4                       Services not running that should be: neutron-metadata-agent, nova-api-metadata, neutron-l3-agent, neutron-dhcp-agent
nova-cloud-controller/0*  active    idle   1/lxd/1  192.168.10.8    8774/tcp,8778/tcp  Unit is ready
nova-compute/0            active    idle   2        192.168.10.4                       Unit is ready
  neutron-openvswitch/1   active    idle            192.168.10.4                       Unit is ready
nova-compute/1*           active    idle   1        192.168.10.3                       Unit is ready
  neutron-openvswitch/0*  active    idle            192.168.10.3                       Unit is ready
openstack-dashboard/0*    active    idle   2/lxd/3  192.168.10.13   80/tcp,443/tcp     Unit is ready
rabbitmq-server/0*        active    idle   2/lxd/2  192.168.10.11   5672/tcp           Unit is ready
swift-proxy/0*            active    idle   1/lxd/4  192.168.10.10   8080/tcp           Unit is ready
swift-storage-zone1/0*    active    idle   0        192.168.10.2                       Unit is ready
swift-storage-zone2/0*    active    idle   1        192.168.10.3                       Unit is ready
swift-storage-zone3/0*    active    idle   2        192.168.10.4                       Unit is ready

Machine  State    DNS            Inst id              Series  AZ       Message
0        started  192.168.10.2   7yp8aq               bionic  default  Deployed
0/lxd/0  started  192.168.10.5   juju-8a044d-0-lxd-0  bionic  default  Container started
1        started  192.168.10.3   7e36wy               bionic  default  Deployed
1/lxd/0  started  192.168.10.7   juju-8a044d-1-lxd-0  bionic  default  Container started
1/lxd/1  started  192.168.10.8   juju-8a044d-1-lxd-1  bionic  default  Container started
1/lxd/2  started  192.168.10.9   juju-8a044d-1-lxd-2  bionic  default  Container started
1/lxd/3  started  192.168.10.6   juju-8a044d-1-lxd-3  bionic  default  Container started
1/lxd/4  started  192.168.10.10  juju-8a044d-1-lxd-4  bionic  default  Container started
2        started  192.168.10.4   4eayk8               bionic  default  Deployed
2/lxd/0  started  192.168.10.14  juju-8a044d-2-lxd-0  bionic  default  Container started
2/lxd/1  started  192.168.10.16  juju-8a044d-2-lxd-1  bionic  default  Container started
2/lxd/2  started  192.168.10.11  juju-8a044d-2-lxd-2  bionic  default  Container started
2/lxd/3  started  192.168.10.13  juju-8a044d-2-lxd-3  bionic  default  Container started
2/lxd/4  started  192.168.10.12  juju-8a044d-2-lxd-4  bionic  default  Container started
2/lxd/5  started  192.168.10.15  juju-8a044d-2-lxd-5  bionic  default  Container started

My neutron.yaml file (used to configure neutron-api and neutron-gateway) is as follows:

neutron-gateway:
  bridge-mappings:         physnet1:br-ex
  data-port:               br-ex:enp3s0f0
neutron-api:
  flat-network-providers: physnet1
  neutron-security-groups: True

Any ideas how do diagnose further?

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.