Ask Your Question

Diego García's profile - activity

2016-11-02 14:18:55 -0500 received badge  Nice Answer (source)
2016-09-15 13:27:02 -0500 commented answer Error during LBAAS installation (Load Balancer)

Hi Appa! many thanks. But i have one question. Where i must install python-neutron-lbaas, openstack-neutron-lbaas and haproxy?? In the Controller node? or in the Network node?

A greeting. Diego

2016-09-15 10:51:45 -0500 received badge  Famous Question (source)
2016-09-14 16:29:53 -0500 received badge  Famous Question (source)
2016-09-13 08:05:21 -0500 answered a question Error during LBAAS installation (Load Balancer)

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 ...
(more)
2016-09-12 13:31:49 -0500 received badge  Notable Question (source)
2016-09-09 23:44:46 -0500 received badge  Teacher (source)
2016-09-09 10:29:02 -0500 answered a question How to install LBaaS v 2.0 dashboard panels in Horizon (Packstack installation)

Hello, I was in the same situation as you. And I could install LBAASv2 in Horizon. Works perfect in Mitaka. You must follow these steps:

Clone the neutron-lbaas-dashboard repository:

$ git clone https://git.openstack.org/openstack/neutron-lbaas-dashboard
$ cd neutron-lbaas-dashboard

Install the Dashboard panel plug-in:

$ python setup.py install

And now you must Copy the _1481_project_ng_loadbalancersv2_panel.py file from the neutron-lbaas-dashboard/enabled directory into the Dashboard openstack_dashboard/local/enabled directory

Enable the plug-in in Dashboard by editing the local_settings.py file and setting enable_lb to True in the OPENSTACK_NEUTRON_NETWORK dictionary. In my case, that value was already in True

If Dashboard is configured to compress static files for better performance (usually set through COMPRESS_OFFLINE in local_settings.py), optimize the static files again:

$ ./manage.py collectstatic
$ ./manage.py compress

This last command didn't work. I don't know why.

And final, restart Apache(httpd) to activate the new panel:

$ service httpd restart

If you have any questions about where the files are, tell me about.

Greetings and hopefully this will work.

The source of the information is http://docs.openstack.org/draft/networking-guide/config-lbaas.html (http://docs.openstack.org/draft/netwo...)

2016-09-07 08:06:51 -0500 received badge  Popular Question (source)
2016-09-05 12:56:41 -0500 received badge  Editor (source)
2016-09-05 07:23:04 -0500 asked a question Error during LBAAS installation (Load Balancer)

Hi everybody. I have a problem with the lbaas installation. I have installed Openstack (Mitaka RDO packstack) in three nodes (Controller, network and compute) on Proxmox/KVM-hypervisor. Each node is a VM with CentOs 7. Opensatck works fine, but i need the Load balancer for more later create a a auto-scaling group with AWS EC2.

First of all, i tried install LBAAS during the initial RDO installation with the answer.txt file (CONFIG_LBAAS_INSTALL=y), but when Puppet install Neutron, the installation fails. If i put CONFIG_LBAAS_INSTALL=nin the same answer.txt file, the Openstack installation is ok. So i am trying install LBAAS following this steps: http://linuxpitstop.com/install-and-c...

First, i install haproxy and opensatck_lbaas:

yum install haproxy openstack-neutron-lbaas

Now, in the Controller node, i added this line in the "/etc/neutron/neutron_lbaas.conf" file:

service_provider = LOADBALANCER:Haproxy:neutron.services.loadbalancer.drivers.haproxy.plugin_driver.HaproxyOnHostPluginDriver:default

And i add following parameter in /etc/neutron/neutron.conf file:

service_plugins = lbaas

Finally i restart neutron service by using the following command:

systemctl restart neutron-server.service

But I get the following error:

[root@controller ~]# 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.
[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 lun 2016-09-05 12:28:31 CEST; 16s ago
  Process: 3873 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: 3873 (code=exited, status=1/FAILURE)

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

And seeing the neutron log, when the lbaa's plugin load, appear the error:

2016-09-05 12:28:31.444 3873 ERROR neutron.services.service_base [-] Error loading provider 'neutron.services.loadbalancer.drivers.haproxy.plugin_driver.HaproxyOnHostPluginDriver' for service LOADBALANCER

The log file ... (more)

2016-09-04 04:29:56 -0500 received badge  Notable Question (source)
2016-09-02 00:36:06 -0500 received badge  Popular Question (source)
2016-09-02 00:36:02 -0500 received badge  Enthusiast
2016-09-01 09:35:37 -0500 received badge  Supporter (source)
2016-09-01 09:32:46 -0500 asked a question How to launch an aws ec2 instance in openstack's auto-scaling group?? (How to create a hybrid cloud?)

Hi everyone. I need create a hybrid cloud for my final studies. But i don't know very well how to do it. I don't know how i can connect both clouds (openstack and AWS). My idea for my study's job is use instances in private cloud (Openstack) and when these intances are using (for example) more than 80% of CPU, launch automatically the same AMI in AWS by auto-scaling group from Openstack or something similar. Can i do it without privative software? Is there any free software or driver to do that?

Many thanks and best regards Diego.

2016-08-13 01:09:46 -0500 received badge  Famous Question (source)
2016-08-12 01:00:12 -0500 answered a question External network doesn't have connection with my physical router

Thank you. Finally I could fix it. I installed RDO openstack again according to your advice and this link: http://www.ksingh.co.in/blog/2015/07/12/deploying-openstack-kilo-using-rdo/ (http://www.ksingh.co.in/blog/2015/07/...)

See you soon ;)

2016-08-12 00:55:55 -0500 received badge  Scholar (source)
2016-08-11 04:16:55 -0500 received badge  Notable Question (source)
2016-08-11 01:46:26 -0500 commented question External network doesn't have connection with my physical router

Hi Antonio. I used this commands: http://docs.openstack.org/mitaka/install-guide-ubuntu/launch-instance-networks-provider.html (http://docs.openstack.org/mitaka/inst...) and then i create other external network in horizon (as a admin user) but neither it worked. The GW that I put was 192.168.1.1 and 192.168.1.0/24 as network CIDR

2016-08-10 18:51:03 -0500 received badge  Popular Question (source)
2016-08-10 10:17:44 -0500 asked a question External network doesn't have connection with my physical router

Hi everybody. I have a problem with the external network and the ip floatings. I have installed Openstack (RDO packstack) in three nodes (Controller, network and compute) on Proxmox. Each node is a VM with CentOs 7.

The Proxmox server (192.168.1.99) has a NIC connected with the physical router (192.168.1.1)

Network node have 2 vNICs:

  • ens18: 192.168.1.2 (physical network) Ping to router works fine
  • ens19: 10.0.0.10 (Proxmox internal network)

Compute node have 2 vNICs:

  • ens18: 10.0.0.20
  • ens19: 192.168.1.4 Ping to router works fine

Controller node has a vNIC:

  • ens18: 10.0.0.30

I have created a external network and a subnet with a floating-ip pool (range: 192.168.1.100,192.168.1.200). And a internal network (10.0.10.0/24) where i launch my instances. But when i attach a floating-ip to an instance (for example: 192.168.1.101) my physical router don't see this IP. Ping from compute node to 192.168.1.101 doesn't works.

How can I configure my environment for my physical router can have a direct connection to the external network? Are all my nodes must be connected with my physical router?

Thank you very much and excuse me for my English. My best regards