Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Hi bcollins, thanks for your response. I can install lbaas with packstack (RDO Mitaka) in --allinone mode and 2 nodes (Controller and Compute). The problem is when i try install in 3 nodes (Controller, Compute and Network). When I install neutron-server in other node different to the Controller. The RDO installation fails. The error is:

Applying 192.168.112.220_neutron.pp
192.168.112.220_neutron.pp:                          [ DONE ]
192.168.112.219_nova.pp:                             [ DONE ]
192.168.112.210_nova.pp:                             [ DONE ]
Applying 192.168.112.210_neutron.pp
Applying 192.168.112.219_neutron.pp
192.168.112.219_neutron.pp:                          [ DONE ]
192.168.112.210_neutron.pp:                       [ ERROR ]
Applying Puppet manifests                         [ ERROR ]

ERROR : Error appeared during Puppet run: 192.168.112.210_neutron.pp
Error: /Stage[main]/Neutron::Server/Service[neutron-server]: Failed to call refresh: Could not restart Service[neutron-server]: Execution of '/usr/bin/systemctl restart neutron-server' returned 1: 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.
You will find full trace in log /var/tmp/packstack/20160913-120419-CQU5xG/manifests/192.168.112.210_neutron.pp.log
Please check log file /var/tmp/packstack/20160913-120419-CQU5xG/openstack-setup.log for more information
Additional information:
 * File /root/keystonerc_admin has been created on OpenStack client host 192.168.112.210. To use the command line tools you need to source the file.
 * NOTE : A certificate was generated to be used for ssl, You should change the ssl certificate configured in /etc/httpd/conf.d/ssl.conf on 192.168.112.210 to use a CA signed cert.
 * To access the OpenStack Dashboard browse to https://192.168.112.210/dashboard .
Please, find your login credentials stored in the keystonerc_admin in your home directory.
 * To use Nagios, browse to http://192.168.112.210/nagios username: nagiosadmin, password: 01b2b9b737d34345
[root@controller ~]#

Seems that the neutron-server don't start.

[root@controller ~]# cat /var/tmp/packstack/20160913-120419-CQU5xG/manifests/192.168.112.210_neutron.pp.log
Warning: Scope(Class[Neutron::Server]): identity_uri, auth_tenant, auth_user, auth_password, auth_region configuration options are deprecated in favor of auth_plugin and related options
Notice: Compiled catalog for controller.localdomain in environment production in 14.40 seconds
Notice: /Stage[main]/Neutron/Neutron_config[DEFAULT/service_plugins]/value: value changed 'router,metering' to 'lbaas,router,metering'
Notice: /Stage[main]/Neutron::Server/Neutron_config[DEFAULT/rpc_workers]/value: value changed '2' to '6'
Notice: /Stage[main]/Neutron::Server/Neutron_config[DEFAULT/api_workers]/value: value changed '2' to '6'
Notice: /Stage[main]/Main/Package[neutron-lbaas-agent]/ensure: created
Notice: /Stage[main]/Neutron::Plugins::Ml2/Neutron_plugin_ml2[ml2/mechanism_drivers]/value: value changed 'openvswitch,linuxbridge' to 'openvswitch'
Notice: /Stage[main]/Keystone::Deps/Anchor[keystone::service::end]: Triggered 'refresh' from 1 events
Notice: /Stage[main]/Neutron::Db::Sync/Exec[neutron-db-sync]: Triggered 'refresh' from 5 events
Error: /Stage[main]/Neutron::Server/Service[neutron-server]: Failed to call refresh: Could not restart Service[neutron-server]: Execution of '/usr/bin/systemctl restart neutron-server' returned 1: 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.
Error: /Stage[main]/Neutron::Server/Service[neutron-server]: Could not restart Service[neutron-server]: Execution of '/usr/bin/systemctl restart neutron-server' returned 1: 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.
Wrapped exception:
Execution of '/usr/bin/systemctl restart neutron-server' returned 1: 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.
Notice: Finished catalog run in 729.96 seconds

The other log says:

cd /usr/lib/python2.7/site-packages/packstack/puppet
cd /var/tmp/packstack/20160913-120419-CQU5xG/manifests
tar --dereference -cpzf - ../manifests | ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null root@192.168.112.219 tar -C /var/tmp/packstack/c9952ed3f8184d1d9afb88040d716f0c -xpzf -
cd /usr/share/openstack-puppet/modules
tar --dereference -cpzf - aodh apache ceilometer certmonger cinder concat firewall glance gnocchi heat horizon inifile ironic keystone manila memcached mongodb mysql neutron nova nssdb openstack openstacklib packstack rabbitmq redis remote rsync sahara ssh stdlib swift sysctl tempest trove vcsrepo vlan vswitch xinetd | ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null root@192.168.112.219 tar -C /var/tmp/packstack/c9952ed3f8184d1d9afb88040d716f0c/modules -xpzf -
2016-09-13 12:41:33::ERROR::run_setup::1018::root:: Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/packstack/installer/run_setup.py", line 1013, in main
    _main(options, confFile, logFile)
  File "/usr/lib/python2.7/site-packages/packstack/installer/run_setup.py", line 660, in _main
    runSequences()
  File "/usr/lib/python2.7/site-packages/packstack/installer/run_setup.py", line 627, in runSequences
    controller.runAllSequences()
  File "/usr/lib/python2.7/site-packages/packstack/installer/setup_controller.py", line 81, in runAllSequences
    sequence.run(config=self.CONF, messages=self.MESSAGES)
  File "/usr/lib/python2.7/site-packages/packstack/installer/core/sequences.py", line 109, in run
    step.run(config=config, messages=messages)
  File "/usr/lib/python2.7/site-packages/packstack/installer/core/sequences.py", line 50, in run
    self.function(config, messages)
  File "/usr/lib/python2.7/site-packages/packstack/plugins/puppet_950.py", line 209, in apply_puppet_manifest
    wait_for_puppet(currently_running, messages)
  File "/usr/lib/python2.7/site-packages/packstack/plugins/puppet_950.py", line 123, in wait_for_puppet
    validate_logfile(log)
  File "/usr/lib/python2.7/site-packages/packstack/modules/puppet.py", line 107, in validate_logfile
    raise PuppetError(message)
PuppetError: Error appeared during Puppet run: 192.168.112.210_neutron.pp
Error: /Stage[main]/Neutron::Server/Service[neutron-server]: Failed to call refresh: Could not restart Service[neutron-server]: Execution of '/usr/bin/systemctl restart neutron-server' returned 1: 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.
You will find full trace in log /var/tmp/packstack/20160913-120419-CQU5xG/manifests/192.168.112.210_neutron.pp.log

2016-09-13 12:41:33::INFO::shell::94::root:: [192.168.112.220] Executing script:
rm -rf /var/tmp/packstack/af8ebef6b25c49cf94d2a39c21a6a244
2016-09-13 12:41:34::INFO::shell::94::root:: [192.168.112.210] Executing script:
rm -rf /var/tmp/packstack/7f4cf549bde0445a9baa384707b317d7
2016-09-13 12:41:38::INFO::shell::94::root:: [192.168.112.219] Executing script:
rm -rf /var/tmp/packstack/c9952ed3f8184d1d9afb88040d716f0c

And the systemctl says:

[root@controller ~]# systemctl status neutron-server.service
● neutron-server.service - OpenStack Neutron Server
   Loaded: loaded (/usr/lib/systemd/system/neutron-server.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since mar 2016-09-13 12:41:28 CEST; 2h 20min ago
  Process: 18922 ExecStart=/usr/bin/neutron-server --config-file /usr/share/neutron/neutron-dist.conf --config-dir /usr/share/neutron/server --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugin.ini --config-dir /etc/neutron/conf.d/common --config-dir /etc/neutron/conf.d/neutron-server --log-file /var/log/neutron/server.log (code=exited, status=1/FAILURE)
 Main PID: 18922 (code=exited, status=1/FAILURE)

sep 13 12:41:14 controller systemd[1]: Starting OpenStack Neutron Server...
sep 13 12:41:17 controller neutron-server[18922]: Guru mediation now registers SIGUSR1 and SIGUSR2 by default for backward compatibility. SIGUSR1 will no longer...e reports.
sep 13 12:41:22 controller neutron-server[18922]: Option "verbose" from group "DEFAULT" is deprecated for removal.  Its value may be silently ignored in the future.
sep 13 12:41:23 controller neutron-server[18922]: Option "notification_driver" from group "DEFAULT" is deprecated. Use option "driver" from group "oslo_messagin...ications".
sep 13 12:41:28 controller systemd[1]: neutron-server.service: main process exited, code=exited, status=1/FAILURE
sep 13 12:41:28 controller systemd[1]: Failed to start OpenStack Neutron Server.
sep 13 12:41:28 controller systemd[1]: Unit neutron-server.service entered failed state.
sep 13 12:41:28 controller systemd[1]: neutron-server.service failed.
Hint: Some lines were ellipsized, use -l to show in full.

I can't install LBAAS in 3 nodes and I don't understand why.

A greeting and thanks for your time. Diego.