Ask Your Question

SudhirH's profile - activity

2017-02-06 11:20:01 -0500 received badge  Famous Question (source)
2017-02-06 11:20:01 -0500 received badge  Notable Question (source)
2017-02-06 11:20:01 -0500 received badge  Popular Question (source)
2016-09-27 09:22:34 -0500 answered a question cinder create volume fails with http 400 image inactive

This was a bug in the python-glance client Fixed by downloading the latest files.

2016-09-26 09:45:30 -0500 asked a question cinder create volume fails with http 400 image inactive


I have deployed an openstack kilo single node environment. When I am trying to create a cinder volume from a glance image it gives an error [root@localhost ~(keystone_admin)]# cinder -d create 1 --display-name cirrvol --image-id 65b24757-163c-40a0-9285-337a246d5660 --availability-zone nova ERROR: Invalid input received: Image 65b24757-163c-40a0-9285-337a246d5660 is not active. (HTTP 400) (Request-ID: req-cad4d502-d0f4-4bd3-b9e0-c6348eadb41d)

[root@localhost ~(keystone_admin)]# glance image-list +--------------------------------------+------------+-------------+------------------+----------+--------+ | ID | Name | Disk Format | Container Format | Size | Status | +--------------------------------------+------------+-------------+------------------+----------+--------+ | 53622f06-b937-43e8-bb6b-568178a9f5d1 | cirros | qcow2 | bare | 13200896 | active | | 65b24757-163c-40a0-9285-337a246d5660 | cirrostest | qcow2 | bare | 13287936 | active | +--------------------------------------+------------+-------------+------------------+----------+--------+

When I look at the cinder debug logs from api.log file I can see the below errors captured

2016-09-26 20:05:58.212 4583 INFO eventlet.wsgi.server [-] (4583) accepted ('', 40593) 2016-09-26 20:05:58.217 4583 INFO cinder.api.openstack.wsgi [-] GET 2016-09-26 20:05:58.217 4583 DEBUG cinder.api.openstack.wsgi [-] Empty body provided in request get_body /usr/lib/python2.7/site-packages/cinder/api/openstack/ 2016-09-26 20:05:58.219 4583 INFO cinder.api.openstack.wsgi [-] returned with HTTP 200 2016-09-26 20:05:58.220 4583 INFO eventlet.wsgi.server [-] - - [26/Sep/2016 20:05:58] "GET / HTTP/1.1" 200 431 0.003641 2016-09-26 20:05:58.350 4583 DEBUG keystoneclient.session [-] REQ: curl -g -i -X GET -H "X-Subject-Token: {SHA1}f02e708a02d76ab3e45b087f70aae3e555091cf7" -H "User-Agent: python-keystoneclient" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}df1cd1b0d65ef0e4757d447d867ecd4fcc758bd6" _http_log_request /usr/lib/python2.7/site-packages/keystoneclient/ 2016-09-26 20:05:58.444 4583 DEBUG keystoneclient.session [-] RESP: [200] X-Subject-Token: {SHA1}f02e708a02d76ab3e45b087f70aae3e555091cf7 Vary: X-Auth-Token Content-Type: application/json Content-Length: 7065 X-Openstack-Request-Id: req-6a1d7f9f-f8fd-4576-a862-1f49534da83a Date: Mon, 26 Sep 2016 14:35:58 GMT Connection: keep-alive RESP BODY: {"token": {"methods": ["password", "token"], "roles": [{"id": "851784401cf24f46a5878ba2f57934a4", "name": "admin"}], "expires_at": "2016-09-26T15:35:58.000000Z", "project": {"domain": {"id": "default", "name": "Default"}, "id": "4b37935108134de1b3d1a7e9d716df42", "name": "admin"}, "catalog": "", "extras": {}, "user": {"domain": {"id": "default", "name": "Default"}, "id": "8fede32987354877ad0ef896443c9948", "name": "admin"}, "audit_ids": ["fuLG7tTXQN2blutmWL8TSA"], "issued_at": "2016-09-26T14:35:58.336796"}} _http_log_response /usr/lib/python2.7/site-packages/keystoneclient/ 2016-09-26 20:05:58.449 4583 INFO cinder.api.openstack.wsgi [req-cad4d502-d0f4-4bd3-b9e0-c6348eadb41d 8fede32987354877ad0ef896443c9948 4b37935108134de1b3d1a7e9d716df42 - - -] POST 2016-09-26 20:05:58.451 4583 DEBUG cinder.api.v1.volumes [req-cad4d502-d0f4-4bd3-b9e0-c6348eadb41d 8fede32987354877ad0ef896443c9948 4b37935108134de1b3d1a7e9d716df42 - - -] Create volume request body: {u'volume': {u'status': u'creating', u'user_id': None, u'imageRef': u'65b24757-163c-40a0-9285-337a246d5660', u'availability_zone': u'nova', 'scheduler_hints': {}, u'attach_status': u'detached', u'display_description': None, u'metadata': {}, u'source_volid': None, u'snapshot_id': None, u'display_name': u'cirrvol', u'project_id': None, u'volume_type': None, u'size': 1}} create /usr/lib/python2.7/site-packages/cinder/api/v1/ 2016-09-26 20:05:58.451 4583 INFO cinder.api.v1.volumes [req-cad4d502-d0f4-4bd3-b9e0-c6348eadb41d 8fede32987354877ad0ef896443c9948 4b37935108134de1b3d1a7e9d716df42 - - -] Create volume of 1 GB 2016-09-26 20:05:58.465 4583 DEBUG cinder.volume.api [req-4c8c2ee3-2426-4193-9d72-863a5c359ed2 - - - - -] Availability zone cache updated, next update will occur around 2016-09-26 15:35:58.464714. list_availability_zones /usr/lib/python2.7/site-packages/cinder/volume/ ... (more)

2016-02-26 02:18:25 -0500 received badge  Notable Question (source)
2016-02-26 02:18:25 -0500 received badge  Famous Question (source)
2016-02-26 02:18:25 -0500 received badge  Popular Question (source)
2015-08-20 01:32:42 -0500 answered a question BadRequest: Unable to find security_group with name

Have you tried creating a security group without any special characters and see if it works?

Regards, Sudhir

2015-08-20 01:16:18 -0500 asked a question How to configure multiple network types for inter-VM communication?

Hello all,

I have a 4-node openstack kilo setup (1-Controller, 1-Networ, 2-Compute/Cinder nodes). The stack is up and running and using GRE tunnels for inter-VM communication presently using a separate NIC interface.

Now, I have added 2 additional NIC's to the compute nodes. I want to create private network between the VM's for the purpose of clustering an application inside the VM instances. The VM's should use these NIC for cluster heartbeats and communication. Whereas the existing interface should be used for connecting to the external network.

Let me know if any additional information regarding the setup is required.

TIA, Sudhir

2015-07-20 05:56:03 -0500 commented answer Openstack Kilo nova boot fails with HTTP 500 error

I have resolved the issue after re-configuring the stack. Looks like we need to follow the Kilo install document as is along with the below lines wherever required.

identity_uri = http://<controller>:35357 admin_tenant_name = <service name=""> admin_user = <service user=""> admin_password = <service pass<="" p="">

2015-07-13 08:30:26 -0500 commented answer Openstack Kilo nova boot fails with HTTP 500 error

No...still searching for answers

2015-07-13 08:29:52 -0500 received badge  Famous Question (source)
2015-07-13 01:29:23 -0500 received badge  Student (source)
2015-07-10 06:40:17 -0500 received badge  Notable Question (source)
2015-07-01 10:23:03 -0500 received badge  Popular Question (source)
2015-06-29 02:20:28 -0500 answered a question Neutron - Can't ping to freshly created router and instances

Have you installed the Opensatck environments in a Virtual environment? If. so have you enabled "allow promiscuous " traffic on your virtual switch/interfaces. This is a hypervisor setting.

Check the Openstack install guide

"If you choose to install on VMs, make sure your hypervisor permits promiscuous mode and disables MAC address filtering on the external network."

Regards, Sudhir

2015-06-28 02:18:46 -0500 received badge  Enthusiast
2015-06-27 12:15:06 -0500 asked a question Openstack Kilo nova boot fails with HTTP 500 error

I have installed Openstack Kilo as per documentation with 1 Controller + 1 Network node + 2 Compute/Storage node. All the verification steps provided in the installation guide where successful. I have been able to create images in glance, network creation has been successful, cinder volumes have been successfully created. When creating a new instance the command fails with "ClientException: The server has either erred or is incapable of performing the requested operation. (HTTP 500) (Request-ID: req-24853745-bca9-4af8-b4a3-5edfc31ab24a)"

Please find the debug output of the nova boot command

[root@opstack01 ~]# nova --debug boot --flavor m1.tiny --image 0e76bb0e-abd6-4335-a39f-d8436d398082 --key-name cloud --security-groups default --nic net-id=77155ae6-3acd-4fa5-b2aa-10175b3cf945 --availability-zone nova cirros5 DEBUG (session:195) REQ: curl -g -i -X GET http://opstack01:35357/v3 -H "Accept: application/json" -H "User-Agent: python-keystoneclient" INFO (connectionpool:203) Starting new HTTP connection (1): opstack01 DEBUG (connectionpool:383) "GET /v3 HTTP/1.1" 200 249 DEBUG (session:224) RESP: [200] content-length: 249 vary: X-Auth-Token keep-alive: timeout=5, max=100 server: Apache/2.4.6 (Red Hat Enterprise Linux) mod_wsgi/3.4 Python/2.7.5 connection: Keep-Alive date: Sat, 27 Jun 2015 16:51:34 GMT content-type: application/json x-openstack-request-id: req-c31d350d-ae18-4965-8b7e-26eabc942354 RESP BODY: {"version": {"status": "stable", "updated": "2015-03-30T00:00:00Z", "media-types": [{"base": "application/json", "type": "application/vnd.openstack.identity-v3+json"}], "id": "v3.4", "links": [{"href": "http://opstack01:35357/v3/", "rel": "self"}]}}

DEBUG (base:171) Making authentication request to http://opstack01:35357/v3/auth/tokens DEBUG (connectionpool:383) "POST /v3/auth/tokens HTTP/1.1" 201 4090 DEBUG (iso8601:184) Parsed 2015-06-27T17:51:34.989895Z into {'tz_sign': None, 'second_fraction': u'989895', 'hour': u'17', 'daydash': u'27', 'tz_hour': None, 'month': None, 'timezone': u'Z', 'second': u'34', 'tz_minute': None, 'year': u'2015', 'separator': u'T', 'monthdash': u'06', 'day': None, 'minute': u'51'} with default timezone DEBUG (iso8601:140) Got u'2015' for 'year' with default None DEBUG (iso8601:140) Got u'06' for 'monthdash' with default 1 DEBUG (iso8601:140) Got 6 for 'month' with default 6 DEBUG (iso8601:140) Got u'27' for 'daydash' with default 1 DEBUG (iso8601:140) Got 27 for 'day' with default 27 DEBUG (iso8601:140) Got u'17' for 'hour' with default None DEBUG (iso8601:140) Got u'51' for 'minute' with default None DEBUG (iso8601:140) Got u'34' for 'second' with default None DEBUG (session:195) REQ: curl -g -i -X GET http://opstack01:8774/v2/a088755d27ab47b08c3e31aee3555e50/images/0e76bb0e-abd6-4335-a39f-d8436d398082 (http://opstack01:8774/v2/a088755d27ab...) -H "User-Agent: python-novaclient" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}838931a4de4e2c9a98120d3f21a2371fafd1e55c" INFO (connectionpool:203) Starting new HTTP connection (1): opstack01 DEBUG (connectionpool:383) "GET /v2/a088755d27ab47b08c3e31aee3555e50/images/0e76bb0e-abd6-4335-a39f-d8436d398082 HTTP/1.1" 200 686 DEBUG (session:224) RESP: [200] date: Sat, 27 Jun 2015 16:51:51 GMT connection: keep-alive content-type: application/json content-length: 686 x-compute-request-id: req-ef5f1bc4-55f5-41d1-a5b0-98209f8a78c7 RESP BODY: {"image": {"status": "ACTIVE", "updated": "2015-06-19T11:05:57Z", "links": [{"href": "http://opstack01:8774/v2/a088755d27ab47b08c3e31aee3555e50/images/0e76bb0e-abd6-4335-a39f-d8436d398082", "rel": "self"}, {"href": "http://opstack01:8774/a088755d27ab47b08c3e31aee3555e50/images/0e76bb0e-abd6-4335-a39f-d8436d398082", "rel": "bookmark"}, {"href": "http://opstack01:9292/images/0e76bb0e-abd6-4335-a39f-d8436d398082", "type": "application/vnd.openstack.image", "rel": "alternate ... (more)

2015-04-22 16:41:34 -0500 received badge  Famous Question (source)
2015-04-21 00:41:10 -0500 received badge  Notable Question (source)
2015-04-16 06:41:14 -0500 commented answer Neutron openvswitch agent goes to failed state

Solved by moving to fedora21.

2015-04-16 06:40:54 -0500 received badge  Scholar (source)
2015-04-16 00:14:50 -0500 received badge  Popular Question (source)
2015-04-15 02:03:59 -0500 commented question Neutron openvswitch agent goes to failed state

[root@rhel7vm1 ~]# ovs-vswitchd -V ovs-vswitchd (Open vSwitch) 2.1.3 Compiled Oct 10 2014 21:29:33 OpenFlow versions 0x1:0x1 [root@rhel7vm1 ~]# uname -a Linux rhel7vm1 3.10.0-229.el7.x86_64 #1 SMP Thu Jan 29 18:37:38 EST 2015 x86_64 x86_64 x86_64 GNU/Linux [root@rhel7vm1 ~]# cat /etc/redhat-release

2015-04-14 16:53:18 -0500 asked a question Neutron openvswitch agent goes to failed state

I have installed a 3 node Openstack cluster. (1 Controller + network and 2 compute node). Installation using packstack happened successfully. After rebooting the controller + network server node the neutron-openvswitch-agent went into failed state.

[root@rhel7vm1 ~]# openstack-status
== Nova services ==
openstack-nova-api:                     active
openstack-nova-cert:                    active
openstack-nova-compute:                 inactive  (disabled on boot)
openstack-nova-network:                 inactive  (disabled on boot)
openstack-nova-scheduler:               active
openstack-nova-conductor:               active
== Glance services ==
openstack-glance-api:                   active
openstack-glance-registry:              active
== Keystone service ==
openstack-keystone:                     active
== Horizon service ==
openstack-dashboard:                    active
== neutron services ==
neutron-server:                         active
neutron-dhcp-agent:                     active
neutron-l3-agent:                       active
neutron-metadata-agent:                 active
neutron-lbaas-agent:                    inactive  (disabled on boot)
neutron-openvswitch-agent:              failed
== Swift services ==
openstack-swift-proxy:                  active
openstack-swift-account:                active
openstack-swift-container:              active
openstack-swift-object:                 active
== Cinder services ==
openstack-cinder-api:                   active
openstack-cinder-scheduler:             active
openstack-cinder-volume:                active
openstack-cinder-backup:                active
== Ceilometer services ==
openstack-ceilometer-api:               active
openstack-ceilometer-central:           active
openstack-ceilometer-compute:           inactive  (disabled on boot)
openstack-ceilometer-collector:         active
openstack-ceilometer-alarm-notifier:    active
openstack-ceilometer-alarm-evaluator:   active
openstack-ceilometer-notification:      active
== Support services ==
libvirtd:                               active
openvswitch:                            active
dbus:                                   active
target:                                 active
rabbitmq-server:                        active
memcached:                              active
== Keystone users ==
Warning keystonerc not sourced

I have lost my public connectivity.

openvswitch log

2015-04-14 20:58:34.230 3939 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent
2015-04-14 20:58:34.266 3939 WARNING neutron.openstack.common.loopingcall [-] task run outlasted interval by 76.23365 sec
2015-04-14 20:58:36.796 3939 ERROR neutron.agent.linux.utils [req-210f7bc0-6391-42c5-a65e-a9f657ebe9ed None]
Command: ['sudo', 'neutron-rootwrap', '/etc/neutron/rootwrap.conf', 'ovs-vsctl', '--timeout=10', 'add-port', 'br-tun', 'patch-int', '--', 'set', 'Interface', 'patch-int', 'type=patch', 'options:peer=patch-tun']
Exit code: 242
Stdout: ''
Stderr: '2015-04-14T15:28:36Z|00002|fatal_signal|WARN|terminating with signal 14 (Alarm clock)\n'
2015-04-14 20:58:36.796 3939 ERROR neutron.agent.linux.ovs_lib [req-210f7bc0-6391-42c5-a65e-a9f657ebe9ed None] Unable to execute ['ovs-vsctl', '--timeout=10', 'add-port', 'br-tun', 'patch-int', '--', 'set', 'Interface', 'patch-int', 'type=patch', 'options:peer=patch-tun']. Exception:
Command: ['sudo', 'neutron-rootwrap', '/etc/neutron/rootwrap.conf', 'ovs-vsctl', '--timeout=10', 'add-port', 'br-tun', 'patch-int', '--', 'set', 'Interface', 'patch-int', 'type=patch', 'options:peer=patch-tun']
Exit code: 242
Stdout: ''
Stderr: '2015-04-14T15:28:36Z|00002|fatal_signal|WARN|terminating with signal 14 (Alarm clock)\n'
2015-04-14 20:58:36.912 3939 ERROR neutron.plugins.openvswitch.agent.ovs_neutron_agent [req-210f7bc0-6391-42c5-a65e-a9f657ebe9ed None] Failed to create OVS patch port. Cannot have tunneling enabled on this agent, since this version of OVS does not support tunnels or patch ports. Agent terminated!
2015-04-14 20:58:36.979 3939 ERROR neutron.agent.linux.utils [req-210f7bc0-6391-42c5-a65e-a9f657ebe9ed None]
Command: ['ps', '--ppid', '5492', '-o', 'pid=']
Exit code: 1
Stdout: ''
Stderr: '