Revision history [back]

click to hide/show revision 1
initial version

Could not create VLAN

I installed Openstack RDO recently and I am able to launch instances with tenant_network_types=vxlan everything works good (ping, ssh ...). I need to create VLANs so I did the following configuration:

/etc/neutron/plugins/ml2/ml2_conf.ini file: (The portion that I changed)

[ml2]
type_drivers=vxlan,vlan,flat
tenant_network_types=vxlan,vlan
mechanism_drivers=openvswitch
[ml2_type_vlan]
 network_vlan_ranges =extnet:100:200

[ml2_type_vxlan]
vni_ranges=10:100
vxlan_group=224.0.0.1

/etc/neutron/plugins/ml2/openvswitch_agent.ini file (I did not change it)

[ovs]
bridge_mappings=extnet:br-ex

After the changes made on /etc/neutron/plugins/ml2/ml2_conf.ini I could not restart neutron:

sudo service neutron-server restart

RESULT:

Redirecting to /bin/systemctl restart neutron-server.service
Job for neutron-server.service failed because the control process exited with error code. See "systemctl status neutron-server.service" and "journalctl -xe" for details.


Feb 12 16:58:15 localhost.localdomain neutron-server[11967]: Guru meditation now registers SIGUSR1 and SIGUSR2 by default for backward compatibilit
Feb 12 16:58:18 localhost.localdomain systemd[1]: neutron-server.service: main process exited, code=exited, status=1/FAILURE
Feb 12 16:58:18 localhost.localdomain systemd[1]: Failed to start OpenStack Neutron Server.
-- Subject: Unit neutron-server.service has failed

Thank you

Could not create VLAN

I installed Openstack RDO recently and I am able to launch instances with tenant_network_types=vxlan everything works good (ping, ssh ...). I need to create VLANs so I did the following configuration:

/etc/neutron/plugins/ml2/ml2_conf.ini file: (The portion that I changed)

[ml2]
type_drivers=vxlan,vlan,flat
tenant_network_types=vxlan,vlan
mechanism_drivers=openvswitch
[ml2_type_vlan]
 network_vlan_ranges =extnet:100:200

[ml2_type_vxlan]
vni_ranges=10:100
vxlan_group=224.0.0.1

/etc/neutron/plugins/ml2/openvswitch_agent.ini file (I did not change it)

[ovs]
bridge_mappings=extnet:br-ex

After the changes made on /etc/neutron/plugins/ml2/ml2_conf.ini I could not restart neutron:

sudo service neutron-server restart

RESULT:

Redirecting to /bin/systemctl restart neutron-server.service
Job for neutron-server.service failed because the control process exited with error code. See "systemctl status neutron-server.service" and "journalctl -xe" for details.


Feb 12 16:58:15 localhost.localdomain neutron-server[11967]: Guru meditation now registers SIGUSR1 and SIGUSR2 by default for backward compatibilit
Feb 12 16:58:18 localhost.localdomain systemd[1]: neutron-server.service: main process exited, code=exited, status=1/FAILURE
Feb 12 16:58:18 localhost.localdomain systemd[1]: Failed to start OpenStack Neutron Server.
-- Subject: Unit neutron-server.service has failed

Thank you

Could not create VLANVLAN (VlanAllocation is not mapped error)

I installed Openstack RDO recently and I am able to launch instances with tenant_network_types=vxlan everything works good (ping, ssh ...). I need to create VLANs so I did the following configuration:

/etc/neutron/plugins/ml2/ml2_conf.ini file: (The portion that I changed)

[ml2]
type_drivers=vxlan,vlan,flat
tenant_network_types=vxlan,vlan
mechanism_drivers=openvswitch
[ml2_type_vlan]
 network_vlan_ranges =extnet:100:200

[ml2_type_vxlan]
vni_ranges=10:100
vxlan_group=224.0.0.1

/etc/neutron/plugins/ml2/openvswitch_agent.ini file (I did not change it)

[ovs]
bridge_mappings=extnet:br-ex

After the changes made on /etc/neutron/plugins/ml2/ml2_conf.ini I could not restart neutron:

sudo service neutron-server restart

RESULT:

Redirecting to /bin/systemctl restart neutron-server.service
Job for neutron-server.service failed because the control process exited with error code. See "systemctl status neutron-server.service" and "journalctl -xe" for details.


Feb 12 16:58:15 localhost.localdomain neutron-server[11967]: Guru meditation now registers SIGUSR1 and SIGUSR2 by default for backward compatibilit
Feb 12 16:58:18 localhost.localdomain systemd[1]: neutron-server.service: main process exited, code=exited, status=1/FAILURE
Feb 12 16:58:18 localhost.localdomain systemd[1]: Failed to start OpenStack Neutron Server.
-- Subject: Unit neutron-server.service has failed

After consulting the neutron log files I found this error:

'neutron.objects.plugins.ml2.vlanallocation.VlanAllocation' is not mapped

Thank you you