OpenStack deploy with JuJu - neutron-gateway blocked - services not running The 2019 Stack...
If the empty set is a subset of every set, why write ... ∪ {∅}?
                
                    Are my PIs rude or am I just being too sensitive?
                
                    How many people can fit inside Mordenkainen's Magnificent Mansion?
                
                    How does this infinite series simplify to an integral?
                
                    Single author papers against my advisor's will?
                
                    Why did all the guest students take carriages to the Yule Ball?
                
                    How to delete random line from file using Unix command?
                
                    Problems with Ubuntu mount /tmp
                
                    The following signatures were invalid: EXPKEYSIG 1397BC53640DB551
                
                    Can a novice safely splice in wire to lengthen 5V charging cable?
                
                    Python - Fishing Simulator
                
                    How to test the equality of two Pearson correlation coefficients computed from the same sample?
                
                    Scientific Reports - Significant Figures
                
                    Does the AirPods case need to be around while listening via an iOS Device?
                
                    What do you call a plan that's an alternative plan in case your initial plan fails?
                
                    Derivation tree not rendering
                
                    ELI5: Why do they say that Israel would have been the fourth country to land a spacecraft on the Moon and why do they call it low cost?
                
                    "... to apply for a visa" or "... and applied for a visa"?
                
                    Is every episode of "Where are my Pants?" identical?
                
                    First use of “packing” as in carrying a gun
                
                    Can withdrawing asylum be illegal?
                
                    What aspect of planet Earth must be changed to prevent the industrial revolution?
                
                    Who or what is the being for whom Being is a question for Heidegger?
                
                    Arduino Pro Micro - switch off LEDs
OpenStack deploy with JuJu - neutron-gateway blocked - services not running
The 2019 Stack Overflow Developer Survey Results Are In
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)How do I deploy an OpenStack cloud with Juju?Openstack Neutron - Cannot Access Tenant Router GatewayCan Ping but Cannot SSH to Openstack VM InstanceJuju incomplete Neutron installationDeploy MAAS, Juju, OpenstackLandscape Autopilot - Accessing inner Juju EnvironmentOpenstack router interfaces always downCan't access Openstack VM instances using floating IPJuju add-machine does not start LXD containerDeploy Openstack Lxd via Juju
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}
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?
juju openstack
add a comment |
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?
juju openstack
add a comment |
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?
juju openstack
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?
juju openstack
juju openstack
asked Oct 7 '18 at 20:16
eds365eds365
11
11
add a comment |
add a comment |
                                1 Answer
                            1
                        
active
oldest
votes
Seems the neutron installation hook failed to install the packages in the neutron-gateway host. Would be very helpful to see the juju controller logs, to see what was the reason why the reactive action didn't trigger the installation in the remote host.
New contributor
Angel Humberto Vargas is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
                                Your Answer
                            
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1081794%2fopenstack-deploy-with-juju-neutron-gateway-blocked-services-not-running%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
                                1 Answer
                            1
                        
active
oldest
votes
                                1 Answer
                            1
                        
active
oldest
votes
active
oldest
votes
active
oldest
votes
Seems the neutron installation hook failed to install the packages in the neutron-gateway host. Would be very helpful to see the juju controller logs, to see what was the reason why the reactive action didn't trigger the installation in the remote host.
New contributor
Angel Humberto Vargas is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
Seems the neutron installation hook failed to install the packages in the neutron-gateway host. Would be very helpful to see the juju controller logs, to see what was the reason why the reactive action didn't trigger the installation in the remote host.
New contributor
Angel Humberto Vargas is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
Seems the neutron installation hook failed to install the packages in the neutron-gateway host. Would be very helpful to see the juju controller logs, to see what was the reason why the reactive action didn't trigger the installation in the remote host.
New contributor
Angel Humberto Vargas is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
Seems the neutron installation hook failed to install the packages in the neutron-gateway host. Would be very helpful to see the juju controller logs, to see what was the reason why the reactive action didn't trigger the installation in the remote host.
New contributor
Angel Humberto Vargas is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Angel Humberto Vargas is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
answered 5 mins ago
Angel Humberto VargasAngel Humberto Vargas
1
1
New contributor
Angel Humberto Vargas is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Angel Humberto Vargas is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
Angel Humberto Vargas is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
add a comment |
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
 
But avoid …
- Asking for help, clarification, or responding to other answers.
 - Making statements based on opinion; back them up with references or personal experience.
 
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1081794%2fopenstack-deploy-with-juju-neutron-gateway-blocked-services-not-running%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown