packstack error with neutron

By | 30th July 2015

Every since I started working with openstack. I have tried different methods right from manual installation of every component —  devstack.

One of of the most easiest method of installing openstack is using the RDO repo with packstack.

I got the following error  unfortunately I was unable to find the issue. Had to use step 3(revert back the snapshot and started again)

Will continue with my pursuit of the issue. However the following are some of the steps suggested.

ERROR : Error appeared during Puppet run: 192.168.10.17_neutron.pp

>>

ERROR : Error appeared during Puppet run: 192.168.10.17_neutron.pp
Notice: /Stage[main]/Main/Exec[neutron-db-manage upgrade]/returns:
sqlalchemy.exc.OperationalError: (OperationalError) (1050, “Table
‘cisco_ml2_n1kv_policy_profiles’ already exists”) ‘nCREATE TABLE
cisco_ml2_n1kv_policy_profiles (ntid VARCHAR(36) NOT NULL, ntname
VARCHAR(255) NOT NULL, ntvsm_ip VARCHAR(16) NOT NULL, ntPRIMARY
KEY (id, vsm_ip)n)ENGINE=InnoDBnn’ ()
You will find full trace in log
/var/tmp/packstack/20150730-145227-iDTnBG/manifests/192.168.10.17_neutron.pp.log
Please check log file
/var/tmp/packstack/20150730-145227-iDTnBG/openstack-setup.log for more
information
Additional information:
* Time synchronization installation was skipped. Please note that
unsynchronized time on server instances might be problem for some
OpenStack components.
* File /root/keystonerc_admin has been created on OpenStack client
host 192.168.10.17. To use the

>>

Mutiple steps were tried.

1. First step tried was to run it again and see if it could be resolved.

Result: It did not fix the issue.

[root@localhost ~]#
[root@localhost ~]# /usr/bin/packstack –answer-file
packstack-answers-20150730-122143.txt

2. Remove the openstack neutron packages and run again.
3. Revert back the Virtual machine the snapshot of the Virtual
machine and then start the installation from fresh.

==> When using neutron it is best to use the following method as mentioned in the rdo website.

# packstack –allinone –provision-demo=n
Regards,
Rajeev

Leave a Reply

Your email address will not be published. Required fields are marked *