Ask Your Question
0

Problems installing neutron

asked 2014-01-10 03:07:14 -0600

Hi all,

I'm following this guide http://openstack.redhat.com/Neutron-Quickstart to install Neutron in a SLC6 virtual machine.

My problem is on Step 3 and is related to ceilometer. The error is:

ERROR : Error appeared during Puppet run: 128.142.243.215_ceilometer.pp
Notice: /Stage[main]/Ceilometer::Db/Exec[ceilometer-dbsync]/returns: 2014-01-09 15:31:15.522 17794 TRACE ceilometer KeyError: 'versionArray'

The openstack-setup.log file shows this:

:ERROR::run_setup::912::root:: Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/packstack/installer/run_setup.py", line 893, in main
    single_step_aio_install(options)
  File "/usr/lib/python2.6/site-packages/packstack/installer/run_setup.py", line 662, in single_step_aio_install
    single_step_install(options)
  File "/usr/lib/python2.6/site-packages/packstack/installer/run_setup.py", line 695, in single_step_install
    _main(answerfilepath)
  File "/usr/lib/python2.6/site-packages/packstack/installer/run_setup.py", line 573, in _main
    runSequences()
  File "/usr/lib/python2.6/site-packages/packstack/installer/run_setup.py", line 552, in runSequences
    controller.runAllSequences()
  File "/usr/lib/python2.6/site-packages/packstack/installer/setup_controller.py", line 84, in runAllSequences
    sequence.run(self.CONF)
  File "/usr/lib/python2.6/site-packages/packstack/installer/core/sequences.py", line 105, in run
    step.run(config=config)
  File "/usr/lib/python2.6/site-packages/packstack/installer/core/sequences.py", line 52, in run
    raise SequenceError(str(ex))
SequenceError: Error appeared during Puppet run: 128.142.243.215_ceilometer.pp
^[[mNotice: /Stage[main]/Ceilometer::Db/Exec[ceilometer-dbsync]/returns: 2014-01-09 15:31:15.522 17794 TRACE ceilometer KeyError: 'versionArray'

And the ceilometer.pp.log file:

Error: /Stage[main]/Ceilometer::Db/Exec[ceilometer-dbsync]: Failed to call refresh: ceilometer-dbsync --config-file=/etc/ceilometer/ceilometer.conf returned 1 instead of one of [0]^[[0m
^[[1;31mError: /Stage[main]/Ceilometer::Db/Exec[ceilometer-dbsync]: ceilometer-dbsync --config-file=/etc/ceilometer/ceilometer.conf returned 1 instead of one of [0]

Anyone knows what is the problem?

Thank you.

edit retag flag offensive close merge delete

Comments

I think my problem is related to this bug https://bugzilla.redhat.com/show_bug.cgi?id=1026881, but I need some confirmation.

Marcos F. Lobo gravatar imageMarcos F. Lobo ( 2014-01-10 03:26:00 -0600 )edit

Another related bug but without solution https://bugzilla.redhat.com/show_bug.cgi?id=1035937%3C/p%3E (https://bugzilla.redhat.com/show_bug.cgi?id=1035937)

Marcos F. Lobo gravatar imageMarcos F. Lobo ( 2014-01-10 03:41:11 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
1

answered 2014-01-10 08:20:48 -0600

SamYaple gravatar image

This does not appear to be a problem with Neutron, but with Ceilometer. From your errors, it looks like you cannot connect to your Ceilometer database. I believe it uses mongodb as a database backend by default. You would need to setup that database or change ceilometer to work with your other database backend (possibly mysql).

Can you post your Ceilometer configs and logs?

NOTE: You do not need Ceilometer to run Neutron or anything in OpenStack for that matter. I don't normally setup Ceilometer until the end of my installs.

edit flag offensive delete link more

Comments

I'll try to install packstack without ceilomenter

Marcos F. Lobo gravatar imageMarcos F. Lobo ( 2014-01-10 08:42:12 -0600 )edit

Ok, installing without ceilometer it works for me. Thank you, but I'm not sure that your answer is the correct one, anyone can test that to verify?

Marcos F. Lobo gravatar imageMarcos F. Lobo ( 2014-01-10 09:15:28 -0600 )edit

No one will be able to test your setup to verify since no one knows your setup. Not having a database installed, or access to the database failing _does_ cause those errors, but that may not have been your issue. I would suggest checking your config files and finding out what database it was trying to access.

SamYaple gravatar imageSamYaple ( 2014-01-10 10:03:10 -0600 )edit

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: 2014-01-10 03:07:14 -0600

Seen: 514 times

Last updated: Jan 10 '14