Load balancer vip shows admin_state_up True but status ERROR

asked 2014-12-05 14:41:03 -0500

supra91 gravatar image

updated 2014-12-08 10:24:42 -0500

mpetason gravatar image

The VIP value is from the private subnet 192.168.111.0/24. The VIP is created without any errors, but when I run the command: neutron lb-vip-list the status shown is ERROR. Also when I update VIP and change admin_state_up to False, the status changes to ACTIVE I can also associate a floating ip to the VIP without any error, but when I run curl -w "\n" <floating ip="" associated="" to="" vip=""> comes back with error "cannot reach host", so what I am doing wrong?

Update:

DEBUG: keystoneclient.session REQ: curl -i -X GET http://<cont>:5000/v2.0/ -H "Accept: application/json" -H "User-Agent: python-keystoneclient" DEBUG: keystoneclient.session RESP: [200] CaseInsensitiveDict({'date': 'Mon, 08 Dec 2014 16:07:43 GMT', 'vary': 'X-Auth-Token', 'content-length': '422', 'content-type': 'application/json'}) RESP BODY: {"version": {"status": "stable", "updated": "2014-04-17T00:00:00Z", "media-types": [{"base": "application/json", "type": "application/vnd.openstack.identity-v2.0+json"}, {"base": "application/xml", "type": "application/vnd.openstack.identity-v2.0+xml"}], "id": "v2.0", "links": [{"href": "http://<cont>:5000/v2.0/", "rel": "self"}, {"href": "http://docs.openstack.org/", "type": "text/html", "rel": "describedby"}]}}

DEBUG: stevedore.extension found extension EntryPoint.parse('table = cliff.formatters.table:TableFormatter') DEBUG: stevedore.extension found extension EntryPoint.parse('csv = cliff.formatters.commaseparated:CSVLister') DEBUG: stevedore.extension found extension EntryPoint.parse('yaml = clifftablib.formatters:YamlFormatter') DEBUG: stevedore.extension found extension EntryPoint.parse('json = clifftablib.formatters:JsonFormatter') DEBUG: stevedore.extension found extension EntryPoint.parse('html = clifftablib.formatters:HtmlFormatter') DEBUG: neutronclient.neutron.v2_0.lb.vip.ListVip get_data(Namespace(columns=[], fields=[], formatter='table', max_width=0, page_size=None, quote_mode='nonnumeric', request_format='json', show_details=False, sort_dir=[], sort_key=[])) DEBUG: keystoneclient.auth.identity.v2 Making authentication request to http://<cont>:5000/v2.0/tokens DEBUG: keystoneclient.session REQ: curl -i -X GET http://<contr>:9696/v2.0/lb/vips.json -H "User-Agent: python-neutronclient" -H "Accept: application/json" -H "X-Auth-Token: TOKEN_REDACTED" DEBUG: keystoneclient.session RESP: [200] CaseInsensitiveDict({'date': 'Mon, 08 Dec 2014 16:07:43 GMT', 'content-length': '504', 'content-type': 'application/json; charset=UTF-8', 'x-openstack-request-id': 'req-86e35cca-0390-4d7f-913f-6186aa811aeb'}) RESP BODY: {"vips": [{"status": "ERROR", "protocol": "HTTP", "description": "http vip", "address": "192.168.111.254", "protocol_port": 80, "port_id": "d06a3d7d-8754-4997-b561-a5cbed2e0b41", "id": "7d567ee1-1998-47bf-b662-a17bade63feb", "status_description": null, "name": "http-vip", "admin_state_up": true, "subnet_id": "02aee3da-3ac5-410f-938b-bc25ac4ed834", "tenant_id": "e6687df0f8be41749aa6c6431d05cb6f", "connection_limit": -1, "pool_id": "5eadcec7-085d-4a68-bda9-4a94c6b2c1af", "session_persistence": null}]}
edit retag flag offensive close merge delete

Comments

Can you post the actual command + errors? You can also get more information with --debug:

neutron --debug commands --flags

Post that as an update to your original question.

mpetason gravatar imagempetason ( 2014-12-05 15:30:55 -0500 )edit

I am not able to reach the VM thru the horizon console, it times out, but I can ping the private ip in 192.168.111.0/24 thru the ip netns <qrouter> , so not sure why I am getting error status for LB VIP

supra91 gravatar imagesupra91 ( 2014-12-08 10:23:26 -0500 )edit

I have posted the output of neutron --debug lb-vip-list as a answer to my own question as the output is very large and cannot accomodate in the comment text box

supra91 gravatar imagesupra91 ( 2014-12-08 10:24:04 -0500 )edit