neutron-server fails to start; python-neutron-vpnaas and python-neutron-lbaas packages are missing.
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | nova-cloud-controller (Juju Charms Collection) |
Undecided
|
Unassigned | ||
Bug Description
When deploying OpenStack Kilo release neutron-server will fail to start. Initiallly the neuron-server logs will suggest
that db table 'neutron.
root@alice:
2015-06-25 21:28:33.570 9129 TRACE neutron.service OperationalError: (OperationalError) no such table: ml2_vlan_
2015-06-25 21:28:33.570 9129 TRACE neutron.service
2015-06-25 21:28:33.586 9129 CRITICAL neutron [-] OperationalError: (OperationalError) no such table: ml2_vlan_
lan_allocations' ()
2015-06-25 21:28:33.586 9129 TRACE neutron
root@alice:
neutron-server stop/waiting
This can be fixed if Neutron database migrations are applied manually like this:
sudo neutron-db-manage --config-
Once the migration is done neutron-server logs show a new error "ImportError:
No module named neutron_
root@alice:
2015-06-25 21:33:31.154 7864 TRACE neutron.
2015-06-25 21:33:31.154 7864 TRACE neutron.
2015-06-25 21:33:31.154 7864 TRACE neutron.
2015-06-25 21:33:31.158 7864 ERROR neutron.service [-] Unrecoverable error: please check log for details.
2015-06-25 21:33:31.158 7864 TRACE neutron.service Traceback (most recent call last):
2015-06-25 21:33:31.158 7864 TRACE neutron.service File "/usr/lib/
2015-06-25 21:33:31.158 7864 TRACE neutron.service service.start()
2015-06-25 21:33:31.158 7864 TRACE neutron.service File "/usr/lib/
2015-06-25 21:33:31.158 7864 TRACE neutron.service self.wsgi_app = _run_wsgi(
2015-06-25 21:33:31.158 7864 TRACE neutron.service File "/usr/lib/
2015-06-25 21:33:31.158 7864 TRACE neutron.service app = config.
2015-06-25 21:33:31.158 7864 TRACE neutron.service File "/usr/lib/
2015-06-25 21:33:31.158 7864 TRACE neutron.service raise RuntimeError(msg)
2015-06-25 21:33:31.158 7864 TRACE neutron.service RuntimeError: Unable to load neutron from configuration file /etc/neutron/
root@alice:
Once you install this the error message is replaced with complains about the missing vpnaas module "ImportError: No module named neutron_
root@alice:
2015-06-25 21:37:40.796 14496 TRACE neutron.
2015-06-25 21:37:40.796 14496 TRACE neutron.
2015-06-25 21:37:40.796 14496 TRACE neutron.
2015-06-25 21:37:40.808 14496 ERROR neutron.service [-] Unrecoverable error: please check log for details.
2015-06-25 21:37:40.808 14496 TRACE neutron.service Traceback (most recent call last):
2015-06-25 21:37:40.808 14496 TRACE neutron.service File "/usr/lib/
2015-06-25 21:37:40.808 14496 TRACE neutron.service service.start()
2015-06-25 21:37:40.808 14496 TRACE neutron.service File "/usr/lib/
2015-06-25 21:37:40.808 14496 TRACE neutron.service self.wsgi_app = _run_wsgi(
2015-06-25 21:37:40.808 14496 TRACE neutron.service File "/usr/lib/
2015-06-25 21:37:40.808 14496 TRACE neutron.service app = config.
2015-06-25 21:37:40.808 14496 TRACE neutron.service File "/usr/lib/
2015-06-25 21:37:40.808 14496 TRACE neutron.service raise RuntimeError(msg)
2015-06-25 21:37:40.808 14496 TRACE neutron.service RuntimeError: Unable to load neutron from configuration file /etc/neutron/
Obviously this can be fixed by install the vpnaas module:
root@alice:
IMHO nova-cloud-
Here are the deatils about my setup:
alice: controller node
bob: compute node
charlie: quantum-gateway node
deploy: juju node
syed@deploy:~$ juju status
environment: manual
machines:
"0":
agent-state: started
agent-version: 1.24.0
dns-name: deploy.example.com
instance-id: 'manual:'
series: trusty
hardware: arch=amd64 cpu-cores=2 mem=3953M
state-
"1":
agent-state: started
agent-version: 1.24.0
dns-name: alice.example.com
instance-id: manual:
series: trusty
hardware: arch=amd64 cpu-cores=2 mem=3953M
"2":
agent-state: started
agent-version: 1.24.0
dns-name: bob.example.com
instance-id: manual:
series: trusty
hardware: arch=amd64 cpu-cores=2 mem=3953M
"3":
agent-state: started
agent-version: 1.24.0
dns-name: charlie.example.com
instance-id: manual:
series: trusty
hardware: arch=amd64 cpu-cores=2 mem=3953M
services:
cinder:
charm: cs:trusty/cinder-24
exposed: false
service-status:
current: unknown
since: 25 Jun 2015 21:24:58Z
relations:
amqp:
- rabbitmq-server
cinder-
- nova-cloud-
cluster:
- cinder
identity-
- keystone
shared-db:
- mysql
units:
cinder/0:
current: unknown
since: 25 Jun 2015 21:24:58Z
current: idle
since: 25 Jun 2015 21:34:24Z
version: 1.24.0
machine: "1"
glance:
charm: cs:trusty/glance-22
exposed: false
service-status:
current: unknown
since: 25 Jun 2015 21:28:52Z
relations:
cluster:
- glance
identity-
- keystone
image-
- nova-cloud-
- nova-compute
shared-db:
- mysql
units:
glance/0:
current: unknown
since: 25 Jun 2015 21:28:52Z
current: idle
since: 25 Jun 2015 21:33:51Z
version: 1.24.0
machine: "1"
open-ports:
- 9292/tcp
heat:
charm: cs:trusty/heat-7
exposed: false
service-status:
current: unknown
since: 25 Jun 2015 21:25:50Z
relations:
amqp:
- rabbitmq-server
identity-
- keystone
shared-db:
- mysql
units:
heat/0:
current: unknown
since: 25 Jun 2015 21:25:50Z
current: idle
since: 25 Jun 2015 21:34:14Z
version: 1.24.0
machine: "1"
open-ports:
- 8000/tcp
- 8004/tcp
keystone:
charm: cs:trusty/
exposed: false
service-status:
current: unknown
since: 25 Jun 2015 21:24:25Z
relations:
cluster:
- keystone
identity-
- cinder
- glance
- heat
- nova-cloud-
- openstack-dashboard
shared-db:
- mysql
units:
keystone/0:
current: unknown
since: 25 Jun 2015 21:24:25Z
current: idle
since: 25 Jun 2015 21:52:01Z
version: 1.24.0
machine: "1"
mysql:
charm: cs:trusty/mysql-25
exposed: false
service-status:
current: unknown
since: 25 Jun 2015 21:22:17Z
relations:
cluster:
- mysql
shared-db:
- cinder
- glance
- heat
- keystone
- nova-cloud-
- nova-compute
- quantum-gateway
units:
mysql/0:
current: unknown
since: 25 Jun 2015 21:22:17Z
current: idle
since: 25 Jun 2015 21:30:57Z
version: 1.24.0
machine: "2"
nova-
charm: cs:trusty/
exposed: false
service-status:
current: unknown
since: 25 Jun 2015 21:30:14Z
relations:
amqp:
- rabbitmq-server
cinder-
- cinder
cloud-
- nova-compute
cluster:
- nova-cloud-
identity-
- keystone
image-
- glance
quantum-
- quantum-gateway
shared-db:
- mysql
units:
nova-
current: unknown
since: 25 Jun 2015 21:30:14Z
current: idle
since: 25 Jun 2015 21:34:04Z
version: 1.24.0
machine: "1"
open-ports:
- 3333/tcp
- 8773/tcp
- 8774/tcp
- 9696/tcp
nova-compute:
charm: cs:trusty/
exposed: false
service-status:
current: unknown
since: 25 Jun 2015 21:24:35Z
relations:
amqp:
- rabbitmq-server
cloud-
- nova-cloud-
compute-peer:
- nova-compute
image-
- glance
shared-db:
- mysql
units:
nova-
current: unknown
since: 25 Jun 2015 21:24:35Z
current: idle
since: 25 Jun 2015 21:33:39Z
version: 1.24.0
machine: "2"
openstack-
charm: cs:trusty/
exposed: false
service-status:
current: unknown
since: 25 Jun 2015 21:51:33Z
relations:
cluster:
- openstack-dashboard
identity-
- keystone
units:
openstack
current: unknown
since: 25 Jun 2015 21:51:33Z
current: idle
since: 25 Jun 2015 21:52:12Z
version: 1.24.0
machine: "1"
open-ports:
- 80/tcp
- 443/tcp
quantum-gateway:
charm: cs:trusty/
exposed: false
service-status:
current: unknown
since: 25 Jun 2015 21:24:22Z
relations:
amqp:
- rabbitmq-server
cluster:
- quantum-gateway
quantum-
- nova-cloud-
shared-db:
- mysql
units:
quantum-
current: unknown
since: 25 Jun 2015 21:24:22Z
current: idle
since: 25 Jun 2015 21:33:29Z
version: 1.24.0
machine: "3"
rabbitmq-server:
charm: cs:trusty/
exposed: false
service-status:
current: unknown
since: 25 Jun 2015 21:22:32Z
relations:
amqp:
- cinder
- heat
- nova-cloud-
- nova-compute
- quantum-gateway
cluster:
- rabbitmq-server
units:
rabbitmq-
current: unknown
since: 25 Jun 2015 21:22:32Z
current: idle
since: 25 Jun 2015 21:33:01Z
version: 1.24.0
machine: "1"
open-ports:
- 5672/tcp
| description: | updated |
| affects: | charms → nova-cloud-controller (Juju Charms Collection) |
| summary: |
- neutron-server fails to start. python-neutron-vpnaas and python-neutron- - lbaas packages missing + neutron-server fails to start; python-neutron-vpnaas and python-neutron- + lbaas packages are missing. |
| Edward Hope-Morley (hopem) wrote : | #1 |
| Changed in nova-cloud-controller (Juju Charms Collection): | |
| status: | New → Incomplete |
| Launchpad Janitor (janitor) wrote : | #2 |
[Expired for nova-cloud-
| Changed in nova-cloud-controller (Juju Charms Collection): | |
| status: | Incomplete → Expired |

Syed, support for neutron-server in the nova-cloud- controller charm was deprecated as of the 15.04 (see [1]) and moved to the neutron-api charm (lp:charms/trusty/neutron-api). Can you please confirm whether or not this problem exists when using the neutron-api charm?
[1] https:/ /wiki.ubuntu. com/ServerTeam/ OpenStackCharms /ReleaseNotes15 04#nova- cloud-controlle r_and_neutron- api_charms