[Bug 1525800] Re: [SRU] ceilometer client error when create Alarm
Hi, Problem solved. [ec2authtoken] auth_uri = http://controller:5000 I change heat.conf to: [ec2authtoken] auth_uri = http://controller:5000/v2.0 Regards, Igor -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1525800 Title: [SRU] ceilometer client error when create Alarm To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-archive/+bug/1525800/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1525800] Re: [SRU] ceilometer client error when create Alarm
Hi, Problem solved, but the ceilometer is not working as expected. Scale up is not running. Does anyone know how to solve this problem? ---> alarm-notifier 2016-05-05 01:01:02.979 23618 INFO ceilometer.alarm.notifier.rest [req-1ee03d14-d011-4698-9396-c8237caf7c7b - - - - -] Notifying alarm teste-cpu_alarm_high-vut4wjst2npm ce5fa165-f216-4b41-bafa-ca80fee7018a with severity low from insufficient data to alarm with action SplitResult(scheme=u'http', netloc=u'controller:8000', path=u'/v1/signal/arn%3Aopenstack%3Aheat%3A%3A60d7922e29e44dc1ac62df3fe7ba3841%3Astacks%2Fteste%2F951d7e10-b296-4d7f-978a-270d56a7f7bc%2Fresources%2Fweb_server_scaleup_policy', query=u'Timestamp=2016-05-04T03%3A33%3A02Z=HmacSHA256=69c5f5fc884f4e3a860d138fa0f854ce=2=o%2BSugdhZhPBnUrBlFo3Kx2bZuHmCP2l1J9%2BIVZ55vIU%3D', fragment='') because Transition to alarm due to 1 samples outside threshold, most recent: 89.1756234322. request-id: req-380e303d-1568-40e7-a721-888485f85209 2016-05-05 01:02:02.825 23618 INFO ceilometer.alarm.notifier.rest [req-9603d3cf-de79-41d6-bebd-2fdbad688557 - - - - -] Notifying alarm teste-cpu_alarm_high-vut4wjst2npm ce5fa165-f216-4b41-bafa-ca80fee7018a with severity low from alarm to alarm with action SplitResult(scheme=u'http', netloc=u'controller:8000', path=u'/v1/signal/arn%3Aopenstack%3Aheat%3A%3A60d7922e29e44dc1ac62df3fe7ba3841%3Astacks%2Fteste%2F951d7e10-b296-4d7f-978a-270d56a7f7bc%2Fresources%2Fweb_server_scaleup_policy', query=u'Timestamp=2016-05-04T03%3A33%3A02Z=HmacSHA256=69c5f5fc884f4e3a860d138fa0f854ce=2=o%2BSugdhZhPBnUrBlFo3Kx2bZuHmCP2l1J9%2BIVZ55vIU%3D', fragment='') because Remaining as alarm due to 1 samples outside threshold, most recent: 89.1756234322. request-id: req-2b6757d3-222f-4d04-a6af-74641aa1a4eb > heat-api-cfn.log 2016-05-05 01:01:02.988 25610 INFO heat.api.aws.ec2token [-] Checking AWS credentials.. 2016-05-05 01:01:02.989 25610 INFO heat.api.aws.ec2token [-] AWS credentials found, checking against keystone. 2016-05-05 01:01:02.991 25610 INFO heat.api.aws.ec2token [-] Authenticating with http://controller:5000/ec2tokens 2016-05-05 01:01:03.002 25610 INFO heat.api.aws.ec2token [-] AWS authentication failure. 2016-05-05 01:02:02.833 25610 INFO heat.api.aws.ec2token [-] Checking AWS credentials.. 2016-05-05 01:02:02.835 25610 INFO heat.api.aws.ec2token [-] AWS credentials found, checking against keystone. 2016-05-05 01:02:02.837 25610 INFO heat.api.aws.ec2token [-] Authenticating with http://controller:5000/ec2tokens 2016-05-05 01:02:02.847 25610 INFO heat.api.aws.ec2token [-] AWS authentication failure. Regards, Igor -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1525800 Title: [SRU] ceilometer client error when create Alarm To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-archive/+bug/1525800/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1525800] Re: [SRU] ceilometer client error when create Alarm
Hi, It's not working. web_server_scaleup_policy: type: OS::Heat::ScalingPolicy properties: adjustment_type: change_in_capacity auto_scaling_group_id: {get_resource: asg} cooldown: 60 scaling_adjustment: 1 web_server_scaledown_policy: type: OS::Heat::ScalingPolicy properties: adjustment_type: change_in_capacity auto_scaling_group_id: {get_resource: asg} cooldown: 60 scaling_adjustment: -1 cpu_alarm_high: type: OS::Ceilometer::Alarm properties: description: Scale-up if the average CPU > 20% for 1 minute meter_name: cpu_util statistic: avg period: 60 evaluation_periods: 1 threshold: 20 alarm_actions: - {get_attr: [web_server_scaleup_policy, alarm_url]} matching_metadata: {'metadata.user_metadata.stack': {get_param: "OS::stack_id"}} comparison_operator: gt cpu_alarm_low: type: OS::Ceilometer::Alarm properties: description: Scale-down if the average CPU < 5% for 10 minutes meter_name: cpu_util statistic: avg period: 600 evaluation_periods: 1 threshold: 5 alarm_actions: - {get_attr: [web_server_scaledown_policy, alarm_url]} matching_metadata: {'metadata.user_metadata.stack': {get_param: "OS::stack_id"}} comparison_operator: lt Regards, Igor ** Attachment added: "log-stack-autoscaling.txt" https://bugs.launchpad.net/cloud-archive/liberty/+bug/1525800/+attachment/4657487/+files/log-stack-autoscaling.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1525800 Title: [SRU] ceilometer client error when create Alarm To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-archive/+bug/1525800/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1525800] Re: [SRU] ceilometer client error when create Alarm
Hi, I restarted heat-engine, see logs with errors. Any ideas? Regards, Igor ** Attachment added: "heat-engine.log" https://bugs.launchpad.net/cloud-archive/liberty/+bug/1525800/+attachment/4657396/+files/heat-engine.log -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1525800 Title: [SRU] ceilometer client error when create Alarm To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-archive/+bug/1525800/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1525800] Re: [SRU] ceilometer client error when create Alarm
Hi, Yes, I changed the file and did not work. After I updated the packages and did not work. For everyone the package solved the problem? Regards, Igor -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1525800 Title: [SRU] ceilometer client error when create Alarm To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-archive/+bug/1525800/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1525800] Re: [SRU] ceilometer client error when create Alarm
Hi, The installation appears to be correct, but it did not worked for me. For everyone the package solved the problem? # apt show heat-engine -a Package: heat-engine Status: install ok installed Priority: optional Section: web Installed-Size: 76,8 kB Maintainer: Ubuntu DevelopersSource: heat Version: 1:5.0.1-0ubuntu2 Depends: adduser, heat-common (= 1:5.0.1-0ubuntu2), init-system-helpers (>= 1.13~), sysv-rc (>= 2.88dsf-24) | file-rc (>= 0.8.16), python Homepage: http://wiki.openstack.org/Heat Original-Maintainer: PKG OpenStack Download-Size: unknown APT-Manual-Installed: yes APT-Sources: /var/lib/dpkg/status Description: ... Package: heat-engine Source: heat Priority: optional Section: web Installed-Size: 76,8 kB Maintainer: Ubuntu Developers Version: 1:5.0.1-0ubuntu1~cloud0 Depends: adduser, heat-common (= 1:5.0.1-0ubuntu1~cloud0), init-system-helpers (>= 1.13~), sysv-rc (>= 2.88dsf-24) | file-rc (>= 0.8.16), python Supported: 18m Download-Size: 5.288 B Original-Maintainer: PKG OpenStack APT-Sources: http://ubuntu-cloud.archive.canonical.com/ubuntu/ trusty-updates/liberty/main amd64 Packages Description: . Package: heat-engine Priority: optional Section: web Installed-Size: 74,8 kB Maintainer: Ubuntu Developers Original-Maintainer: PKG OpenStack Source: heat Version: 2014.1.5-0ubuntu1 Depends: adduser, heat-common (= 2014.1.5-0ubuntu1), sysv-rc (>= 2.88dsf-24) | file-rc (>= 0.8.16), python:any Download-Size: 5.714 B Homepage: http://wiki.openstack.org/Heat Bugs: https://bugs.launchpad.net/ubuntu/+filebug Origin: Ubuntu Supported: 5y APT-Sources: http://br.archive.ubuntu.com/ubuntu/ trusty-updates/main amd64 Packages Description: Package: heat-engine Priority: optional Section: web Installed-Size: 73,7 kB Maintainer: Ubuntu Developers Original-Maintainer: PKG OpenStack Source: heat Version: 2014.1-0ubuntu1.1 Depends: adduser, heat-common (= 2014.1-0ubuntu1.1), sysv-rc (>= 2.88dsf-24) | file-rc (>= 0.8.16), python:any Download-Size: 5.726 B Homepage: http://wiki.openstack.org/Heat Bugs: https://bugs.launchpad.net/ubuntu/+filebug Origin: Ubuntu Supported: 5y APT-Sources: http://security.ubuntu.com/ubuntu/ trusty-security/main amd64 Packages Description: Package: heat-engine Priority: optional Section: web Installed-Size: 73,7 kB Maintainer: Ubuntu Developers Original-Maintainer: PKG OpenStack Source: heat Version: 2014.1-0ubuntu1 Depends: adduser, heat-common (= 2014.1-0ubuntu1), sysv-rc (>= 2.88dsf-24) | file-rc (>= 0.8.16), python:any Download-Size: 5.726 B Homepage: http://wiki.openstack.org/Heat Bugs: https://bugs.launchpad.net/ubuntu/+filebug Origin: Ubuntu Supported: 5y APT-Sources: http://br.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages Description: ... Regards, Igor -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1525800 Title: [SRU] ceilometer client error when create Alarm To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-archive/+bug/1525800/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1525800] Re: [SRU] ceilometer client error when create Alarm
@hopem thanks for your help. I continue with the same problem, see: https://bugs.launchpad.net/heat/+bug/1525800/comments/18 Regards, Igor -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1525800 Title: [SRU] ceilometer client error when create Alarm To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-archive/+bug/1525800/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1525800] Re: [SRU] ceilometer client error when create Alarm
Hi, I modified ceilometer.py (https://review.openstack.org/#/c/288623/) I created .deb following the steps in this manual (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-install- dsc-file-in-linux-896928/) ls -la *.deb -rw-r--r-- 1 root root 10192 Mai 4 17:58 heat-api_5.0.1-0ubuntu2_all.deb -rw-r--r-- 1 root root 10226 Mai 4 17:58 heat-api-cfn_5.0.1-0ubuntu2_all.deb -rw-r--r-- 1 root root 10240 Mai 4 17:58 heat-api-cloudwatch_5.0.1-0ubuntu2_all.deb -rw-r--r-- 1 root root 28252 Mai 4 17:58 heat-common_5.0.1-0ubuntu2_all.deb -rw-r--r-- 1 root root 10516 Mai 4 17:58 heat-engine_5.0.1-0ubuntu2_all.deb -rw-r--r-- 1 root root 727126 Mai 4 17:58 python-heat_5.0.1-0ubuntu2_all.deb I installed packages and did not work for me. 2016-05-04 18:26:25.728 22836 INFO heat.engine.resource [-] CREATE: CeilometerAlarm "cpu_alarm_low" Stack "autoscalingv1" [3fa4f331-2dd7-4036-9913-6aab5aa237b7] 2016-05-04 18:26:25.728 22836 ERROR heat.engine.resource Traceback (most recent call last): 2016-05-04 18:26:25.728 22836 ERROR heat.engine.resource File "/usr/local/lib/python2.7/dist-packages/heat/engine/resource.py", line 620, in _action_recorder 2016-05-04 18:26:25.728 22836 ERROR heat.engine.resource yield 2016-05-04 18:26:25.728 22836 ERROR heat.engine.resource File "/usr/local/lib/python2.7/dist-packages/heat/engine/resource.py", line 690, in _do_action 2016-05-04 18:26:25.728 22836 ERROR heat.engine.resource yield self.action_handler_task(action, args=handler_args) 2016-05-04 18:26:25.728 22836 ERROR heat.engine.resource File "/usr/local/lib/python2.7/dist-packages/heat/engine/scheduler.py", line 292, in wrapper 2016-05-04 18:26:25.728 22836 ERROR heat.engine.resource step = next(subtask) 2016-05-04 18:26:25.728 22836 ERROR heat.engine.resource File "/usr/local/lib/python2.7/dist-packages/heat/engine/resource.py", line 661, in action_handler_task 2016-05-04 18:26:25.728 22836 ERROR heat.engine.resource handler_data = handler(*args) 2016-05-04 18:26:25.728 22836 ERROR heat.engine.resource File "/usr/local/lib/python2.7/dist-packages/heat/engine/resources/openstack/ceilometer/alarm.py", line 335, in handle_create 2016-05-04 18:26:25.728 22836 ERROR heat.engine.resource alarm = self.client().alarms.create(**props) 2016-05-04 18:26:25.728 22836 ERROR heat.engine.resource File "/usr/local/lib/python2.7/dist-packages/heat/engine/resource.py", line 544, in client 2016-05-04 18:26:25.728 22836 ERROR heat.engine.resource return self.stack.clients.client(client_name) 2016-05-04 18:26:25.728 22836 ERROR heat.engine.resource File "/usr/local/lib/python2.7/dist-packages/heat/engine/clients/__init__.py", line 70, in client 2016-05-04 18:26:25.728 22836 ERROR heat.engine.resource return client_plugin.client() 2016-05-04 18:26:25.728 22836 ERROR heat.engine.resource File "/usr/local/lib/python2.7/dist-packages/heat/engine/clients/client_plugin.py", line 78, in client 2016-05-04 18:26:25.728 22836 ERROR heat.engine.resource self._client = self._create() 2016-05-04 18:26:25.728 22836 ERROR heat.engine.resource File "/usr/local/lib/python2.7/dist-packages/heat/engine/clients/os/ceilometer.py", line 46, in _create 2016-05-04 18:26:25.728 22836 ERROR heat.engine.resource return cc.get_client('2', **args) 2016-05-04 18:26:25.728 22836 ERROR heat.engine.resource File "/usr/lib/python2.7/dist-packages/ceilometerclient/client.py", line 395, in get_client 2016-05-04 18:26:25.728 22836 ERROR heat.engine.resource return Client(version, endpoint, **kwargs) 2016-05-04 18:26:25.728 22836 ERROR heat.engine.resource File "/usr/lib/python2.7/dist-packages/ceilometerclient/client.py", line 359, in Client 2016-05-04 18:26:25.728 22836 ERROR heat.engine.resource return client_class(*args, **client_kwargs) 2016-05-04 18:26:25.728 22836 ERROR heat.engine.resource File "/usr/lib/python2.7/dist-packages/ceilometerclient/v2/client.py", line 68, in __init__ 2016-05-04 18:26:25.728 22836 ERROR heat.engine.resource self.alarm_client, aodh_enabled = self._get_alarm_client(**kwargs) 2016-05-04 18:26:25.728 22836 ERROR heat.engine.resource File "/usr/lib/python2.7/dist-packages/ceilometerclient/v2/client.py", line 106, in _get_alarm_client 2016-05-04 18:26:25.728 22836 ERROR heat.engine.resource kwargs.get('timeout')) 2016-05-04 18:26:25.728 22836 ERROR heat.engine.resource File "/usr/lib/python2.7/dist-packages/ceilometerclient/client.py", line 271, in redirect_to_aodh_endpoint 2016-05-04 18:26:25.728 22836 ERROR heat.engine.resource self.opts['endpoint'] = _get_endpoint(ks_session, **ks_kwargs) 2016-05-04 18:26:25.728 22836 ERROR heat.engine.resource File "/usr/lib/python2.7/dist-packages/ceilometerclient/client.py", line 201, in _get_endpoint 2016-05-04 18:26:25.728 22836 ERROR heat.engine.resource region_name=kwargs.get('region_name')) 2016-05-04 18:26:25.728 22836 ERROR heat.engine.resource File
[Bug 1525800] Re: [SRU] ceilometer client error when create Alarm
Hi, I'm having the same problem with ceilometer. 2016-05-04 11:55:20.420 18699 ERROR heat.engine.resource 2016-05-04 11:55:21.465 18699 INFO heat.engine.service [-] Stack create failed, status FAILED 2016-05-04 11:55:21.510 18699 INFO heat.engine.stack [-] Stack CREATE FAILED (autoscalingv1): Resource CREATE failed: BadRequest: resources.cpu_alarm_low: Expecting to find domain in project - the server could not comply with the request since it is either malformed or otherwise incorrect. The client is assumed to be in error. (HTTP 400) (Request-ID: req-7825392d-8178-4166-9cd0-adfb33ae04e8) 2016-05-04 11:55:29.465 18704 INFO heat.engine.service [req-62c6336c-e75b-4418-9243-a941b9994e91 - -] Service 03b808ce-b97d-4ca5-8bc6-f314782bf641 is updated I checked the versions and package 1: 5.0.1-0ubuntu2 (heat) must be installed. I'm having trouble installing this package. I do not know to create the .deb. Can someone help me? I followed these steps (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-install- dsc-file-in-linux-896928/), but I could not install. It appeared the following message: dpkg-buildpackage: warning: using a gain-root-command while being root dpkg-buildpackage: source package heat dpkg-buildpackage: source version 1:5.0.1-0ubuntu2 dpkg-buildpackage: source distribution wily dpkg-buildpackage: source changed by Edward Hope-Morleydpkg-buildpackage: host architecture amd64 dpkg-source --before-build pacote dpkg-source: info: using options from pacote/debian/source/options: --extend-diff-ignore=^[^/]*[.]egg-info/ fakeroot debian/rules clean dh clean --buildsystem=python_distutils --with python2,systemd dh_testdir -O--buildsystem=python_distutils debian/rules override_dh_auto_clean make[1]: Entering directory `/home/igoravila/pacote' dh_auto_clean pyversions: missing X(S)-Python-Version in control file, fall back to debian/pyversions pyversions: missing debian/pyversions file, fall back to supported versions python: can't open file 'setup.py': [Errno 2] No such file or directory dh_auto_clean: python setup.py clean -a returned exit code 2 make[1]: *** [override_dh_auto_clean] Error 2 make[1]: Leaving directory `/home/igoravila/pacote' make: *** [clean] Error 2 dpkg-buildpackage: error: fakeroot debian/rules clean gave error exit status 2 root@controller:/home/igoravila/pacote# make install make: *** No rule to make target `install'. Stop. root@controller:/home/igoravila/pacote# make make: *** No targets specified and no makefile found. Stop. Regards, Igor -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1525800 Title: [SRU] ceilometer client error when create Alarm To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-archive/+bug/1525800/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1577630] Re: ERROR neutron_lbaas.agent.agent_manager - HaproxyNSDriver
Hi Brandon Logan, Yes, I have a pool and members added. neutron lbaas-pool-list +--+---+--++ | id | name | protocol | admin_state_up | +--+---+--++ | 553901c1-2ef8-4119-b4d4-093eb7562924 | test-lb-pool-http | HTTP | True | +--+---+--++ neutron lbaas-member-list test-lb-pool-http +--++---++--++ | id | address| protocol_port | weight | subnet_id| admin_state_up | +--++---++--++ | 117287de-d774-4446-b264-cff2d4873c03 | 192.168.100.10 |80 | 1 | f64e80e1-da2a-40b7-ba9b-903dc72242ba | True | | e79f25c2-7f75-47f4-a2d8-6f822a6e9f0b | 192.168.100.11 |80 | 1 | f64e80e1-da2a-40b7-ba9b-903dc72242ba | True | +--++---++--++ neutron lbaas-loadbalancer-list +--+--++-+--+ | id | name | vip_address| provisioning_status | provider | +--+--++-+--+ | 28501a37-90f0-4d75-9bcf-5ba4ad8f1016 | lb01 | 192.168.100.18 | ACTIVE | haproxy | +--+--++-+--+ neutron lbaas-loadbalancer-show lb01 +-++ | Field | Value | +-++ | admin_state_up | True | | description || | id | 28501a37-90f0-4d75-9bcf-5ba4ad8f1016 | | listeners | {"id": "ab6ac58b-3a3f-49aa-bf20-94f1bdb823b4"} | | name| lb01 | | operating_status| ONLINE | | provider| haproxy| | provisioning_status | ACTIVE | | tenant_id | 60d7922e29e44dc1ac62df3fe7ba3841 | | vip_address | 192.168.100.18 | | vip_port_id | fa65055e-6d24-427e-bc77-33250638edea | | vip_subnet_id | f64e80e1-da2a-40b7-ba9b-903dc72242ba | +-++ ip netns qlbaas-28501a37-90f0-4d75-9bcf-5ba4ad8f1016 qrouter-5bb42c20-ec64-4cc6-9466-ea8f63b5cf38 qdhcp-710e21f2-fec9-45ac-8cea-0849f78f9aa1 qdhcp-3ca8e576-63a5-4121-971b-005b245900f6 Regards, Igor -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1577630 Title: ERROR neutron_lbaas.agent.agent_manager - HaproxyNSDriver To manage notifications about this bug go to: https://bugs.launchpad.net/neutron/+bug/1577630/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1577630] Re: ERROR neutron_lbaas.agent.agent_manager - HaproxyNSDriver
Hi Brandon Logan, I made a change and the Load Balancer is activated! It is activated, but not working. After his question I realized that lbaas_agent.ini configuration using OVS was not LinuxBridge. View the change: /etc/neutron/lbaas_agent.ini #interface_driver = neutron.agent.linux.interface.OVSInterfaceDrivers (commented) interface_driver = neutron.agent.linux.interface.BridgeInterfaceDriver # tail -f /var/log/neutron/neutron-lbaasv2-agent.log 2016-05-03 11:27:46.353 12187 INFO neutron.common.config [-] Logging enabled! 2016-05-03 11:27:46.353 12187 INFO neutron.common.config [-] /usr/bin/neutron-lbaasv2-agent version 7.0.3 2016-05-03 11:27:46.420 12187 INFO oslo.messaging._drivers.impl_rabbit [-] Connecting to AMQP server on controller:5672 2016-05-03 11:27:46.434 12187 INFO oslo.messaging._drivers.impl_rabbit [-] Connecting to AMQP server on controller:5672 2016-05-03 11:27:46.445 12187 INFO oslo.messaging._drivers.impl_rabbit [-] Connected to AMQP server on controller:5672 neutron port-show fa65055e-6d24-427e-bc77-33250638edea +---++ | Field | Value | +---++ | admin_state_up| True | | allowed_address_pairs | | | binding:host_id | controller | | binding:profile | {} | | binding:vif_details | {"port_filter": true} | | binding:vif_type | bridge | | binding:vnic_type | normal | | device_id | 28501a37-90f0-4d75-9bcf-5ba4ad8f1016 | | device_owner | neutron:LOADBALANCERV2 | | dns_assignment| {"hostname": "host-192-168-100-18", "ip_address": "192.168.100.18", "fqdn": "host-192-168-100-18.openstacklocal."} | | dns_name | | | extra_dhcp_opts | | | fixed_ips | {"subnet_id": "f64e80e1-da2a-40b7-ba9b-903dc72242ba", "ip_address": "192.168.100.18"} | | id| fa65055e-6d24-427e-bc77-33250638edea | | mac_address | fa:16:3e:a5:1f:20 | | name | loadbalancer-28501a37-90f0-4d75-9bcf-5ba4ad8f1016 | | network_id| 3ca8e576-63a5-4121-971b-005b245900f6 | | port_security_enabled | True | | security_groups | e9405c49-7541-49e0-82e5-0b6a05a55524 | | status| ACTIVE | | tenant_id | 60d7922e29e44dc1ac62df3fe7ba3841 | +---++ neutron floatingip-list +--+--+-+--+ | id | fixed_ip_address | floating_ip_address | port_id |
[Bug 1577630] Re: ERROR neutron_lbaas.agent.agent_manager - HaproxyNSDriver
Hi Brandon Logan, neutron-plugin-linuxbridge-agent I'll need to install OVS in my OpenSatck Liberty? Regards, Igor -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1577630 Title: ERROR neutron_lbaas.agent.agent_manager - HaproxyNSDriver To manage notifications about this bug go to: https://bugs.launchpad.net/neutron/+bug/1577630/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1577630] Re: ERROR neutron_lbaas.agent.agent_manager - HaproxyNSDriver
Hi Brandon Logan, I use OpenStack liberty with two nodes (controller and compute). It does not use openvswitch. I do not have this setting in the node network. Having no OVS, how should I set up so that this problem be solved? I followed the steps (http://docs.openstack.org/liberty/networking-guide /adv-config-lbaas.html) and there was no errors, but the LBaaS does not work. In neutron-lbaas v2-agent.log continuously displays the message: 2016-05-02 12:38:18.772 18394 WARNING neutron_lbaas.drivers.haproxy.namespace_driver [-] Stats socket not found for loadbalancer 24f50e79-53b6-4ee6-8da1-2a8f1233a857 2016-05-02 12:38:28.773 18394 WARNING neutron_lbaas.drivers.haproxy.namespace_driver [-] Stats socket not found for loadbalancer 24f50e79-53b6-4ee6-8da1-2a8f1233a857 2016-05-02 12:38:38.773 18394 WARNING neutron_lbaas.drivers.haproxy.namespace_driver [-] Stats socket not found for loadbalancer 24f50e79-53b6-4ee6-8da1-2a8f1233a857 2016-05-02 12:38:48.774 18394 WARNING neutron_lbaas.drivers.haproxy.namespace_driver [-] Stats socket not found for loadbalancer 24f50e79-53b6-4ee6-8da1-2a8f1233a857 2016-05-02 12:38:58.774 18394 WARNING neutron_lbaas.drivers.haproxy.namespace_driver [-] Stats socket not found for loadbalancer 24f50e79-53b6-4ee6-8da1-2a8f1233a857 neutron lbaas-loadbalancer-show lb01 +-++ | Field | Value | +-++ | admin_state_up | True | | description || | id | 28501a37-90f0-4d75-9bcf-5ba4ad8f1016 | | listeners | {"id": "ab6ac58b-3a3f-49aa-bf20-94f1bdb823b4"} | | name| lb01 | | operating_status| ONLINE | | provider| haproxy| | provisioning_status | ACTIVE | | tenant_id | 60d7922e29e44dc1ac62df3fe7ba3841 | | vip_address | 192.168.100.18 | | vip_port_id | fa65055e-6d24-427e-bc77-33250638edea | | vip_subnet_id | f64e80e1-da2a-40b7-ba9b-903dc72242ba | +-++ neutron lbaas-listener-list +--+--+--+--+---++ | id | default_pool_id | name | protocol | protocol_port | admin_state_up | +--+--+--+--+---++ | ab6ac58b-3a3f-49aa-bf20-94f1bdb823b4 | 553901c1-2ef8-4119-b4d4-093eb7562924 | test-lb-http | HTTP |80 | True | +--+--+--+--+---++ neutron lbaas-pool-list +--+---+--++ | id | name | protocol | admin_state_up | +--+---+--++ | 553901c1-2ef8-4119-b4d4-093eb7562924 | test-lb-pool-http | HTTP | True | +--+---+--++ neutron lbaas-member-list test-lb-pool-http +--++---++--++ | id | address| protocol_port | weight | subnet_id| admin_state_up | +--++---++--++ | 117287de-d774-4446-b264-cff2d4873c03 | 192.168.100.10 |80 | 1 | f64e80e1-da2a-40b7-ba9b-903dc72242ba | True | | e79f25c2-7f75-47f4-a2d8-6f822a6e9f0b | 192.168.100.11 |80 | 1 | f64e80e1-da2a-40b7-ba9b-903dc72242ba | True | +--++---++--++ neutron lbaas-healthmonitor-show c125afc4-9a81-49c2-a374-4ad3c253b8bc +++ | Field | Value | +++ | admin_state_up | True | | delay | 5 | |
[Bug 1577630] Re: ERROR neutron_lbaas.agent.agent_manager - HaproxyNSDriver
baas.agent.agent_manager File "/usr/lib/python2.7/dist-packages/neutron/agent/linux/interface.py", line 230, in check_bridge_exists 2016-05-02 09:33:42.423 18394 ERROR neutron_lbaas.agent.agent_manager raise exceptions.BridgeDoesNotExist(bridge=bridge) 2016-05-02 09:33:42.423 18394 ERROR neutron_lbaas.agent.agent_manager BridgeDoesNotExist: Bridge br-int does not exist. 2016-05-02 09:33:42.423 18394 ERROR neutron_lbaas.agent.agent_manager 2016-05-02 09:33:47.956 18394 WARNING neutron_lbaas.drivers.haproxy.namespace_driver [-] Stats socket not found for loadbalancer 24f50e79-53b6-4ee6-8da1-2a8f1233a857 Any idea? Regards, Igor Meneguitte Ávila -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1577630 Title: ERROR neutron_lbaas.agent.agent_manager - HaproxyNSDriver To manage notifications about this bug go to: https://bugs.launchpad.net/neutron/+bug/1577630/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1577630] Re: ERROR neutron_lbaas.agent.agent_manager - HaproxyNSDriver
xists(bridge) 2016-05-02 09:33:42.423 18394 ERROR neutron_lbaas.agent.agent_manager File "/usr/lib/python2.7/dist-packages/neutron/agent/linux/interface.py", line 230, in check_bridge_exists 2016-05-02 09:33:42.423 18394 ERROR neutron_lbaas.agent.agent_manager raise exceptions.BridgeDoesNotExist(bridge=bridge) 2016-05-02 09:33:42.423 18394 ERROR neutron_lbaas.agent.agent_manager BridgeDoesNotExist: Bridge br-int does not exist. 2016-05-02 09:33:42.423 18394 ERROR neutron_lbaas.agent.agent_manager 2016-05-02 09:33:47.956 18394 WARNING neutron_lbaas.drivers.haproxy.namespace_driver [-] Stats socket not found for loadbalancer 24f50e79-53b6-4ee6-8da1-2a8f1233a857 Any idea? Can you help me? Regards, Igor Meneguitte Ávila ** Changed in: neutron Status: Invalid => Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1577630 Title: ERROR neutron_lbaas.agent.agent_manager - HaproxyNSDriver To manage notifications about this bug go to: https://bugs.launchpad.net/neutron/+bug/1577630/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1577630] [NEW] ERROR neutron_lbaas.agent.agent_manager - HaproxyNSDriver
Public bug reported: Hi, I use OpenStack Liberty with Ubuntu 14.04. I installed LBaaSv2; # aptitude install haproxy neutron-lbaasv2-agent python-neutron-lbaas /etc/neutron/neutron.conf [DEFAULT] service_plugins = router,neutron_lbaas.services.loadbalancer.plugin.LoadBalancerPluginv2 [service_providers] service_provider = LOADBALANCERV2:Haproxy:neutron_lbaas.drivers.haproxy.plugin_driver.HaproxyOnHostPluginDriver:default /etc/neutron/neutron_lbaas.conf [service_providers] service_provider=LOADBALANCERV2:Haproxy:neutron_lbaas.drivers.haproxy.plugin_driver.HaproxyOnHostPluginDriver:default /etc/neutron/lbaas_agent.ini [DEFAULT] interface_driver = neutron.agent.linux.interface.OVSInterfaceDriver ovs_use_veth = False device_driver = neutron_lbaas.services.loadbalancer.drivers.haproxy.namespace_driver.HaproxyNSDriver [haproxy] user_group = haproxy # tail -f /var/log/neutron/neutron-lbaasv2-agent.log 2016-05-01 21:12:16.266 6459 INFO neutron.common.config [-] Logging enabled! 2016-05-01 21:12:16.267 6459 INFO neutron.common.config [-] /usr/bin/neutron-lbaasv2-agent version 7.0.3 2016-05-01 21:12:16.294 6459 INFO oslo.messaging._drivers.impl_rabbit [-] Connecting to AMQP server on controller:5672 2016-05-01 21:12:16.318 6459 INFO oslo.messaging._drivers.impl_rabbit [-] Connecting to AMQP server on controller:5672 2016-05-01 21:12:16.335 6459 INFO oslo.messaging._drivers.impl_rabbit [-] Connected to AMQP server on controller:5672 2016-05-01 21:12:16.337 6459 INFO oslo.messaging._drivers.impl_rabbit [-] Connected to AMQP server on controller:5672 2016-05-01 21:12:16.475 6459 INFO oslo.messaging._drivers.impl_rabbit [-] Connecting to AMQP server on controller:5672 2016-05-01 21:12:16.495 6459 INFO oslo.messaging._drivers.impl_rabbit [-] Connected to AMQP server on controller:5672 $ neutron lbaas-loadbalancer-create --name lb01 f64e80e1-da2a-40b7-ba9b-903dc72242ba Created a new loadbalancer: +-+--+ | Field | Value| +-+--+ | admin_state_up | True | | description | | | id | 599a3226-5239-4100-a118-5ad1fe6ea55d | | listeners | | | name| lb01 | | operating_status| OFFLINE | | provider| haproxy | | provisioning_status | PENDING_CREATE | | tenant_id | 60d7922e29e44dc1ac62df3fe7ba3841 | | vip_address | 192.168.100.15 | | vip_port_id | 5f998bc7-17bc-4bb8-9fb5-07a6b9de5860 | | vip_subnet_id | f64e80e1-da2a-40b7-ba9b-903dc72242ba | +-+--+ neutron lbaas-loadbalancer-list +--+--++-+--+ | id | name | vip_address| provisioning_status | provider | +--+--++-+--+ | 599a3226-5239-4100-a118-5ad1fe6ea55d | lb01 | 192.168.100.15 | ERROR | haproxy | +--+--++-+--+ $ tail -f /var/log/neutron/neutron-lbaasv2-agent.log 2016-05-01 21:12:16.337 6459 INFO oslo.messaging._drivers.impl_rabbit [-] Connected to AMQP server on controller:5672 2016-05-01 21:12:16.475 6459 INFO oslo.messaging._drivers.impl_rabbit [-] Connecting to AMQP server on controller:5672 2016-05-01 21:12:16.495 6459 INFO oslo.messaging._drivers.impl_rabbit [-] Connected to AMQP server on controller:5672 2016-05-01 21:40:43.582 6459 ERROR neutron_lbaas.agent.agent_manager [req-214be154-00fb-4c8a-8fe3-7212ffc19cb2 f0c587f6748346d9a7dd1a6d911da3b4 60d7922e29e44dc1ac62df3fe7ba3841 - - -] Create loadbalancer 599a3226-5239-4100-a118-5ad1fe6ea55d failed on device driver haproxy_ns 2016-05-01 21:40:43.582 6459 ERROR neutron_lbaas.agent.agent_manager Traceback (most recent call last): 2016-05-01 21:40:43.582 6459 ERROR neutron_lbaas.agent.agent_manager File "/usr/lib/python2.7/dist-packages/neutron_lbaas/agent/agent_manager.py", line 270, in create_loadbalancer 2016-05-01 21:40:43.582 6459 ERROR neutron_lbaas.agent.agent_manager driver.loadbalancer.create(loadbalancer) 2016-05-01 21:40:43.582 6459 ERROR neutron_lbaas.agent.agent_manager AttributeError: 'HaproxyNSDriver' object has no attribute 'loadbalancer' 2016-05-01 21:40:43.582 6459 ERROR neutron_lbaas.agent.agent_manager Any idea? Can you help me? Regards, Igor Meneguitte Ávila ** Affects: neutron Importance: Undecided Status: New ** Affects: neutron-lbaas (Ubuntu) Importance: Undecided Status: New