Ask Your Question
0

Packstack installation failed as neutron does not start

asked 2015-03-16 18:34:57 -0500

nfv-zombie gravatar image

Hello Openstackers,

This is my maiden attempt to perform an Openstack Installation. I have googled and researched through Openstack neutron failures but none of the solutions have worked for me. As a last resort I place my faith in this network. Please help me resolve my issue.

Thanks in advance for your guidance and support.

========Overview========

Architecture

Physical Server - I Hypervisor - OVS 3.3.2

VM1- Oracle Linux 6 Update 6 - Openstack Controller [172.30.21.160]

VM2- Oracle Linux 6 Update 6 - Openstack Neutron [172.30.21.161]

Physical Server - II Hypervisor - OVS 3.3.2

VM1- Oracle Linux 6 Update 6 - Openstack Compute Node [172.30.21.160]

VM2- Oracle Linux 6 Update 6 - Openstack Compute Node [172.30.21.161]

I am using Packstack to install Openstack and I use the config file generator to do the same -

https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux_OpenStack_Platform/2/html/Getting_Started_Guide/sect-Running_PackStack_Non-interactively.html (link text)

Packstack Config File Generator

[general]

# Path to a Public key to install on servers. If a usable key has not
# been installed on the remote servers the user will be prompted for a
# password and this key will be installed so the password will not be
# required again
CONFIG_SSH_KEY=

# Set to 'y' if you would like Packstack to install MySQL
CONFIG_MYSQL_INSTALL=y

# Set to 'y' if you would like Packstack to install OpenStack Image
# Service (Glance)
CONFIG_GLANCE_INSTALL=y

# Set to 'y' if you would like Packstack to install OpenStack Block
# Storage (Cinder)
CONFIG_CINDER_INSTALL=y

# Set to 'y' if you would like Packstack to install OpenStack Compute
# (Nova)
CONFIG_NOVA_INSTALL=y

# Set to 'y' if you would like Packstack to install OpenStack
# Networking (Neutron)
CONFIG_NEUTRON_INSTALL=y

# Set to 'y' if you would like Packstack to install OpenStack
# Dashboard (Horizon)
CONFIG_HORIZON_INSTALL=y

# Set to 'y' if you would like Packstack to install OpenStack Object
# Storage (Swift)
CONFIG_SWIFT_INSTALL=y

# Set to 'y' if you would like Packstack to install OpenStack
# Metering (Ceilometer)
CONFIG_CEILOMETER_INSTALL=y

# Set to 'y' if you would like Packstack to install OpenStack
# Orchestration (Heat)
CONFIG_HEAT_INSTALL=n

# Set to 'y' if you would like Packstack to install the OpenStack
# Client packages. An admin "rc" file will also be installed
CONFIG_CLIENT_INSTALL=y

# Comma separated list of NTP servers. Leave plain if Packstack
# should not install ntpd on instances.
CONFIG_NTP_SERVERS=172.30.0.60

# Set to 'y' if you would like Packstack to install Nagios to monitor
# OpenStack hosts
CONFIG_NAGIOS_INSTALL=n

# Comma separated list of servers to be excluded from installation in
# case you are running Packstack the second time with the same answer
# file and don't want Packstack to touch these servers. Leave plain if
# you don't need to exclude any server.
EXCLUDE_SERVERS=

# Set to 'y' if you want to run OpenStack services in debug mode.
# Otherwise set to 'n'.
CONFIG_DEBUG_MODE=n

# Set to 'y' if you want to use VMware vCenter as hypervisor and
# storageOtherwise set to 'n'.
CONFIG_VMWARE_BACKEND=n

# The IP address of the VMware vCenter server
CONFIG_VCENTER_HOST=

# The username to authenticate to VMware ...
(more)
edit retag flag offensive close merge delete

3 answers

Sort by ยป oldest newest most voted
0

answered 2015-03-17 03:51:23 -0500

Praveen N gravatar image

Hi, Once you end up with neutron error.Ensure the rabbitmq is active and running and Static IP is associated to eth interface rather than a bridge.Restart rabbitmq server and try running packstack answer file.

edit flag offensive delete link more

Comments

@Praveen N - Thank you for your reply. I did check for RabbitMQ server and that seems to be running and upon restarting and trying Packstack installation failed again. :(

nfv-zombie gravatar imagenfv-zombie ( 2015-03-17 10:21:48 -0500 )edit
1

answered 2015-03-17 01:35:41 -0500

dbaxps gravatar image

updated 2015-03-17 04:34:39 -0500

Here is fragment from your answer file

CONFIG_NOVA_NETWORK_PUBIF=eth0
CONFIG_NOVA_NETWORK_PRIVIF=eth1
CONFIG_NOVA_NETWORK_FIXEDRANGE=192.168.0.0/16
CONFIG_NOVA_NETWORK_FLOATRANGE=182.16.0.0/16
CONFIG_NOVA_NETWORK_DEFAULTFLOATINGPOOL=nova
CONFIG_NOVA_NETWORK_AUTOASSIGNFLOATINGIP=n
CONFIG_NOVA_NETWORK_VLAN_START=100
CONFIG_NOVA_NETWORK_NUMBER=3
CONFIG_NOVA_NETWORK_SIZE=255
CONFIG_NEUTRON_SERVER_HOST=172.30.21.161
CONFIG_NEUTRON_KS_PW=607ed64a0dd843b4
CONFIG_NEUTRON_DB_PW=99bab38803c54341
CONFIG_NEUTRON_L3_HOSTS=172.30.21.161
CONFIG_NEUTRON_L3_EXT_BRIDGE=eth0
CONFIG_NEUTRON_DHCP_HOSTS=172.30.21.161
CONFIG_NEUTRON_LBAAS_HOSTS=
CONFIG_NEUTRON_L2_PLUGIN=openvswitch
CONFIG_NEUTRON_METADATA_HOSTS=172.30.21.161
CONFIG_NEUTRON_METADATA_PW=01ef98a3bdc44916
CONFIG_NEUTRON_ML2_TYPE_DRIVERS=local  <==== ERROR
CONFIG_NEUTRON_ML2_TENANT_NETWORK_TYPES=local <===== ERROR
CONFIG_NEUTRON_ML2_MECHANISM_DRIVERS=openvswitch
CONFIG_NEUTRON_ML2_FLAT_NETWORKS=
CONFIG_NEUTRON_ML2_VLAN_RANGES=
CONFIG_NEUTRON_ML2_TUNNEL_ID_RANGES=
CONFIG_NEUTRON_ML2_VXLAN_GROUP=
CONFIG_NEUTRON_ML2_VNI_RANGES= <===== ERROR
CONFIG_NEUTRON_L2_AGENT=openvswitch
CONFIG_NEUTRON_LB_TENANT_NETWORK_TYPE=local
CONFIG_NEUTRON_LB_VLAN_RANGES=
CONFIG_NEUTRON_LB_INTERFACE_MAPPINGS=
CONFIG_NEUTRON_OVS_TENANT_NETWORK_TYPE=local  <=== ERROR
CONFIG_NEUTRON_OVS_VLAN_RANGES=
CONFIG_NEUTRON_OVS_BRIDGE_MAPPINGS= <===== ERROR
CONFIG_NEUTRON_OVS_BRIDGE_IFACES=
CONFIG_NEUTRON_OVS_TUNNEL_RANGES=1:4094
CONFIG_NEUTRON_OVS_TUNNEL_IF=eth0 <====== Was used for PUBIF , looks strange
CONFIG_NEUTRON_OVS_VXLAN_UDP_PORT=4789

To perform RDO Juno ML2&OVS&VXLAN set up this fragment would better look like:-

CONFIG_NOVA_COMPUTE_PRIVIF=enp5s1
CONFIG_NOVA_NETWORK_MANAGER=nova.network.manager.FlatDHCPManager
CONFIG_NOVA_NETWORK_PUBIF=enp2s0
CONFIG_NOVA_NETWORK_PRIVIF=enp5s1
CONFIG_NOVA_NETWORK_FIXEDRANGE=192.168.32.0/22
CONFIG_NOVA_NETWORK_FLOATRANGE=10.3.4.0/22
CONFIG_NOVA_NETWORK_DEFAULTFLOATINGPOOL=nova
CONFIG_NOVA_NETWORK_AUTOASSIGNFLOATINGIP=n
CONFIG_NOVA_NETWORK_VLAN_START=100
CONFIG_NOVA_NETWORK_NUMBER=1
CONFIG_NOVA_NETWORK_SIZE=255
CONFIG_NEUTRON_KS_PW=808e36e154bd4cee
CONFIG_NEUTRON_DB_PW=0e2b927a21b44737
CONFIG_NEUTRON_L3_EXT_BRIDGE=br-ex
CONFIG_NEUTRON_L2_PLUGIN=ml2
CONFIG_NEUTRON_METADATA_PW=a965cd23ed2f4502
CONFIG_LBAAS_INSTALL=n
CONFIG_NEUTRON_METERING_AGENT_INSTALL=n
CONFIG_NEUTRON_FWAAS=n
CONFIG_NEUTRON_ML2_TYPE_DRIVERS=vxlan
CONFIG_NEUTRON_ML2_TENANT_NETWORK_TYPES=vxlan
CONFIG_NEUTRON_ML2_MECHANISM_DRIVERS=openvswitch
CONFIG_NEUTRON_ML2_FLAT_NETWORKS=*
CONFIG_NEUTRON_ML2_VLAN_RANGES=
CONFIG_NEUTRON_ML2_TUNNEL_ID_RANGES=1001:2000
CONFIG_NEUTRON_ML2_VXLAN_GROUP=239.1.1.2
CONFIG_NEUTRON_ML2_VNI_RANGES=1001:2000
CONFIG_NEUTRON_L2_AGENT=openvswitch
CONFIG_NEUTRON_LB_TENANT_NETWORK_TYPE=local
CONFIG_NEUTRON_LB_VLAN_RANGES=
CONFIG_NEUTRON_LB_INTERFACE_MAPPINGS=
CONFIG_NEUTRON_OVS_TENANT_NETWORK_TYPE=vxlan
CONFIG_NEUTRON_OVS_VLAN_RANGES=
CONFIG_NEUTRON_OVS_BRIDGE_MAPPINGS=physnet1:br-ex
CONFIG_NEUTRON_OVS_BRIDGE_IFACES=
CONFIG_NEUTRON_OVS_TUNNEL_RANGES=1001:2000
CONFIG_NEUTRON_OVS_TUNNEL_IF=enp5s1
CONFIG_NEUTRON_OVS_VXLAN_UDP_PORT=4789

I would also recommend you create third VM3 for compute node, rather then use Controller && Network Nodes as Compute Nodes. You may have a look at
http://bderzhavets.blogspot.com/2014/...
One more notice I am not sure Oracle Linux 6.6 as clone of RHEL 6.6 would work with Juno.
Anyway as OS installed on VMs it would better to be replaced by CentOS 7, which is well tested with Juno packstack installs many times.
You also posted tag "devstack-neutron" . What you mean by that ?

edit flag offensive delete link more

Comments

Thank you dbaxps. I am unable to get this architecture running. I am using the following - VM 1 - Controller 172.30.21.160 : x.x.20.160 VM 2 - Neutron 172.30.21.161 : x.x.20.161 VM 3 - Compute 1 172.30.21.162 : x.x.20.162 VM 4 - Compute 2 172.30.21.163 : x.x.20.163 Each VM has 2 interfaces

nfv-zombie gravatar imagenfv-zombie ( 2015-03-23 10:06:23 -0500 )edit
0

answered 2015-04-10 07:02:04 -0500

nfv-zombie gravatar image

I have not been able to get packstack to do multi-node installation. It works fine when I install Nova-Network Model where Control & Network are in the same server but when I separate them it does not seem to work. I have installed the nodes separately following the Openstack Config Guide for RHEL.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2015-03-16 18:34:57 -0500

Seen: 1,015 times

Last updated: Apr 10 '15