[Openstack] [cinder] cinder create hangs never terminate
Diop Samba
samba.diop at nagra.com
Mon Oct 21 08:14:18 UTC 2013
Hi,
I have a issue with following command :
# rpm -qa | grep cinder
python-cinderclient-1.0.4-1.el6.noarch
python-cinder-2013.1.3-1.el6.noarch
openstack-cinder-2013.1.3-1.el6.noarch
# cinder --debug create --display_name test 1
REQ: curl -i http://10.225.0.22:5000/v2.0/tokens -X POST -H "Content-Type: application/json" -H "Accept: application/json" -H "User-Agent: python-cinderclient" -d '{"auth": {"tenantName": "admin", "passwordCredentials": {"username": "admin", "password": "admin_pass"}}}'
RESP: [200] {'date': 'Mon, 21 Oct 2013 08:07:22 GMT', 'transfer-encoding': 'chunked', 'content-type': 'application/json', 'vary': 'X-Auth-Token'}
RESP BODY: {"access": {"token": {"issued_at": "2013-10-21T08:07:22.283719", "expires": "2013-10-22T08:07:22Z", "id": "MIIK4AYJKoZIhvcNAQcCoIIK0TCCCs0CAQExCTAHBgUrDgMCGjCCCbkGCSqGSIb3DQEHAaCCCaoEggmmeyJhY2Nlc3MiOiB7InRva2VuIjogeyJpc3N1ZWRfYXQiOiAiMjAxMy0xMC0yMVQwODowNzoyMi4yODM3MTkiLCAiZXhwaXJlcyI6ICIyMDEzLTEwLTIyVDA4OjA3OjIyWiIsICJpZCI6ICJwbGFjZWhvbGRlciIsICJ0ZW5hbnQiOiB7ImRlc2NyaXB0aW9uIjogbnVsbCwgImVuYWJsZWQiOiB0cnVlLCAiaWQiOiAiMmEwYmM5OGE0NGQ0NDVlYzg3MWFmNDE1Yjk4MTk4OWEiLCAibmFtZSI6ICJhZG1pbiJ9fSwgInNlcnZpY2VDYXRhbG9nIjogW3siZW5kcG9pbnRzIjogW3siYWRtaW5VUkwiOiAiaHR0cDovLzEwLjIyNS4wLjIyOjg3NzQvdjIvMmEwYmM5OGE0NGQ0NDVlYzg3MWFmNDE1Yjk4MTk4OWEiLCAicmVnaW9uIjogIlJlZ2lvbk9uZSIsICJpbnRlcm5hbFVSTCI6ICJod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gImlkIjogIjY3MDk1YTIwMmFmYjQ3OWRiMzkzZjcyMzRhM2QxZmFhIiwgInB1YmxpY1VSTCI6ICJodHRwOi8vMTAuMjI1LjAuMjI6NTAwMC92Mi4wIn1dLCAiZW5kcG9pbnRzX2xpbmtzIjogW10sICJ0eXBlIjogImlkZW50aXR5IiwgIm5hbWUiOiAia2V5c3RvbmUifV0sICJ1c2VyIjogeyJ1c2VybmFtZSI6ICJhZG1pbiIsICJyb2xlc19saW5rcyI6IFtdLCAiaWQiOiAiZWI3NWQzYmQyNzRjNGFkNWJiNzhkYjZmZGEwOTMxZDMiLCAicm9sZXMiOiBbeyJuYW1lIjogIktleXN0b25lQWRtaW4ifSwgeyJuYW1lIjogIktleXN0b25lU2VydmljZUFkbWluIn0sIHsibmFtZSI6ICJhZG1pbiJ9XSwgIm5hbWUiOiAiYWRtaW4ifSwgIm1ldGFkYXRhIjogeyJpc19hZG1pbiI6IDAsICJyb2xlcyI6IFsiZTgzYjc1YTc4YzdiNGIyOGEwNGU3MTI0ZjBjM2U0MmIiLCAiM2RlMzUzZmJjZGE4NDg1MWI4ZmU2NDJmMjUyNDlkZDEiLCAiYzZhM2YxYTNlMjYxNDNjNGE0MGMzNGY0MzRjYjNiMjYiXX19fTGB-zCB-AIBATBcMFcxCzAJBgNVBAYTAlVTMQ4wDAYDVQQIEwVVbnNldDEOMAwGA1UEBxMFVW5zZXQxDjAMBgNVBAoTBVVuc2V0MRgwFgYDVQQDEw93d3cuZXhhbXBsZS5jb20CAQEwBwYFKw4DAhowDQYJKoZIhvcNAQEBBQAEgYCMLphItV3oHZcB0YMZ-NLSVC6TAvlccX6QA2s16BZt51eHV1Ou4bQggXKHIiR7G2osASD2GIJ75qeliQZbKkR3QSTiep7xbjHhmVtJswQyHbaqonKitZzuLO0Mc51bykossDbaCSs6LtTs90KHI7T3FniD1F-dpOw2TMyVNEhmNA==", "tenant": {"description": null, "enabled": true, "id": "2a0bc98a44d445ec871af415b981989a", "name": "admin"}}, "serviceCatalog": [{"endpoints": [{"adminURL": "http://10.225.0.22:8774/v2/2a0bc98a44d445ec871af415b981989a", "region": "RegionOne", "internalURL": "http://10.225.0.22:8774/v2/2a0bc98a44d445ec871af415b981989a", "id": "c48cca0f8a3743289d0aba53a4dd505f", "publicURL": "http://10.225.0.22:8774/v2/2a0bc98a44d445ec871af415b981989a"}], "endpoints_links": [], "type": "compute", "name": "nova"}, {"endpoints": [{"adminURL": "http://10.225.0.22:9696/", "region": "RegionOne", "internalURL": "http://10.225.0.22:9696/", "id": "d3fc098a254f47b78f5bb5cb34c3753f", "publicURL": "http://10.225.0.22:9696/"}], "endpoints_links": [], "type": "network", "name": "quantum"}, {"endpoints": [{"adminURL": "http://10.225.0.22:9292/v2", "region": "RegionOne", "internalURL": "http://10.225.0.22:9292/v2", "id": "eb28dcca937e45bb9551b4553844e57d", "publicURL": "http://10.225.0.22:9292/v2"}], "endpoints_links": [], "type": "image", "name": "glance"}, {"endpoints": [{"adminURL": "http://10.225.0.22:8776/v1/2a0bc98a44d445ec871af415b981989a", "region": "RegionOne", "internalURL": "http://10.225.0.22:8776/v1/2a0bc98a44d445ec871af415b981989a", "id": "a2c3a0a522fd480a99e2e5a70a023b60", "publicURL": "http://10.225.0.22:8776/v1/2a0bc98a44d445ec871af415b981989a"}], "endpoints_links": [], "type": "volume", "name": "cinder"}, {"endpoints": [{"adminURL": "http://10.225.0.22:8773/services/Admin", "region": "RegionOne", "internalURL": "http://10.225.0.22:8773/services/Cloud", "id": "d09e3f3669a24c85898701d613c0d964", "publicURL": "http://10.225.0.22:8773/services/Cloud"}], "endpoints_links": [], "type": "ec2", "name": "ec2"}, {"endpoints": [{"adminURL": "http://10.225.0.22:35357/v2.0", "region": "RegionOne", "internalURL": "http://10.225.0.22:5000/v2.0", "id": "67095a202afb479db393f7234a3d1faa", "publicURL": "http://10.225.0.22:5000/v2.0"}], "endpoints_links": [], "type": "identity", "name": "keystone"}], "user": {"username": "admin", "roles_links": [], "id": "eb75d3bd274c4ad5bb78db6fda0931d3", "roles": [{"name": "KeystoneAdmin"}, {"name": "KeystoneServiceAdmin"}, {"name": "admin"}], "name": "admin"}, "metadata": {"is_admin": 0, "roles": ["e83b75a78c7b4b28a04e7124f0c3e42b", "3de353fbcda84851b8fe642f25249dd1", "c6a3f1a3e26143c4a40c34f434cb3b26"]}}}
REQ: curl -i http://10.225.0.22:8776/v1/2a0bc98a44d445ec871af415b981989a/volumes -X POST -H "X-Auth-Project-Id: admin" -H "User-Agent: python-cinderclient" -H "Content-Type: application/json" -H "Accept: application/json" -H "X-Auth-Token: MIIK4AYJKoZIhvcNAQcCoIIK0TCCCs0CAQExCTAHBgUrDgMCGjCCCbkGCSqGSIb3DQEHAaCCCaoEggmmeyJhY2Nlc3MiOiB7InRva2VuIjogeyJpc3N1ZWRfYXQiOiAiMjAxMy0xMC0yMVQwODowNzoyMi4yODM3MTkiLCAiZXhwaXJlcyI6ICIyMDEzLTEwLTIyVDA4OjA3OjIyWiIsICJpZCI6ICJwbGFjZWhvbGRlciIsICJ0ZW5hbnQiOiB7ImRlc2NyaXB0aW9uIjogbnVsbCwgImVuYWJsZWQiOiB0cnVlLCAiaWQiOiAiMmEwYmM5OGE0NGQ0NDVlYzg3MWFmNDE1Yjk4MTk4OWEiLCAibmFtZSI6ICJhZG1pbiJ9fSwgInNlcnZpY2VDYXRhbG9nIjogW3siZW5kcG9pbnRzIjogW3siYWRtaW5VUkwiOiAiaHR0cDovLzEwLjIyNS4wLjIyOjg3NzQvdjIvMmEwYmM5OGE0NGQ0NDVlYzg3MWFmNDE1Yjk4MTk4OWEiLCAicmVnaW9uIjogIlJlZ2lvbk9uZSIsICJpbnRlcm5hbFVSTCI6ICJodHRwOi8vMTAuMjI1LjAuMjI6ODc3NC92Mi8yYTBiYzk4YTQ0ZDQ0NWVjODcxYWY0MTViOTgxOTg5YSIsICJpZCI6ICJjNDhjY2EwZjhhMzc0MzI4OWQwYWJhNTNhNGRkNTA1ZiIsICJwdWJsaWNVUkwi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lIjogImlkZW50aXR5IiwgIm5hbWUiOiAia2V5c3RvbmUifV0sICJ1c2VyIjogeyJ1c2VybmFtZSI6ICJhZG1pbiIsICJyb2xlc19saW5rcyI6IFtdLCAiaWQiOiAiZWI3NWQzYmQyNzRjNGFkNWJiNzhkYjZmZGEwOTMxZDMiLCAicm9sZXMiOiBbeyJuYW1lIjogIktleXN0b25lQWRtaW4ifSwgeyJuYW1lIjogIktleXN0b25lU2VydmljZUFkbWluIn0sIHsibmFtZSI6ICJhZG1pbiJ9XSwgIm5hbWUiOiAiYWRtaW4ifSwgIm1ldGFkYXRhIjogeyJpc19hZG1pbiI6IDAsICJyb2xlcyI6IFsiZTgzYjc1YTc4YzdiNGIyOGEwNGU3MTI0ZjBjM2U0MmIiLCAiM2RlMzUzZmJjZGE4NDg1MWI4ZmU2NDJmMjUyNDlkZDEiLCAiYzZhM2YxYTNlMjYxNDNjNGE0MGMzNGY0MzRjYjNiMjYiXX19fTGB-zCB-AIBATBcMFcxCzAJBgNVBAYTAlVTMQ4wDAYDVQQIEwVVbnNldDEOMAwGA1UEBxMFVW5zZXQxDjAMBgNVBAoTBVVuc2V0MRgwFgYDVQQDEw93d3cuZXhhbXBsZS5jb20CAQEwBwYFKw4DAhowDQYJKoZIhvcNAQEBBQAEgYCMLphItV3oHZcB0YMZ-NLSVC6TAvlccX6QA2s16BZt51eHV1Ou4bQggXKHIiR7G2osASD2GIJ75qeliQZbKkR3QSTiep7xbjHhmVtJswQyHbaqonKitZzuLO0Mc51bykossDbaCSs6LtTs90KHI7T3FniD1F-dpOw2TMyVNEhmNA==" -d '{"volume": {"status": "creating", "availability_zone": null, "source_volid": null, "display_description": null, "snapshot_id": null, "user_id": null, "size": 1, "display_name": "test", "imageRef": null, "attach_status": "detached", "volume_type": null, "project_id": null, "metadata": {}}}'
2013-10-21 10:07:22 DEBUG [keystoneclient.middleware.auth_token] Authenticating user token
2013-10-21 10:07:22 DEBUG [keystoneclient.middleware.auth_token] Removing headers from request environment: X-Identity-Status,X-Domain-Id,X-Domain-Name,X-Project-Id,X-Project-Name,X-Project-Domain-Id,X-Project-Domain-Name,X-User-Id,X-User-Name,X-User-Domain-Id,X-User-Domain-Name,X-Roles,X-Service-Catalog,X-User,X-Tenant-Id,X-Tenant-Name,X-Tenant,X-Role
2013-10-21 10:07:22 DEBUG [keystoneclient.middleware.auth_token] Storing ae6676b254a4d33593d0461c019c68da token in memcache
2013-10-21 10:07:22 DEBUG [routes.middleware] Matched POST /2a0bc98a44d445ec871af415b981989a/volumes
2013-10-21 10:07:22 DEBUG [routes.middleware] Route path: '/{project_id}/volumes', defaults: {'action': u'create', 'controller': <cinder.api.openstack.wsgi.Resource object at 0x3399790>}
2013-10-21 10:07:22 DEBUG [routes.middleware] Match dict: {'action': u'create', 'controller': <cinder.api.openstack.wsgi.Resource object at 0x3399790>, 'project_id': u'2a0bc98a44d445ec871af415b981989a'}
2013-10-21 10:07:22 INFO [cinder.api.openstack.wsgi] POST http://10.225.0.22:8776/v1/2a0bc98a44d445ec871af415b981989a/volumes
2013-10-21 10:07:22 AUDIT [cinder.api.v1.volumes] Create volume of 1 GB
2013-10-21 10:07:22 DEBUG [cinder.quota] Created reservations ['f85d4a7b-3a5a-4be6-b255-72b6b80fc734', 'a8dad78e-9dc1-41a3-b2b9-a9bbaa785ad8']
2013-10-21 10:07:22 DEBUG [cinder.openstack.common.rpc.amqp] Making asynchronous cast on cinder-scheduler...
2013-10-21 10:07:22 DEBUG [cinder.openstack.common.rpc.amqp] UNIQUE_ID is da9f5ee1e0084b3e8814f3911182590c.
2013-10-21 10:07:22 DEBUG [cinder.openstack.common.rpc.amqp] Pool creating new connection
==> /var/log/rabbitmq/rabbit at isc-ctl-01.log <==
=INFO REPORT==== 21-Oct-2013::10:07:22 ===
accepting AMQP connection <0.2735.1> (10.225.0.22:50508 -> 10.225.0.22:5672)
==> /var/log/cinder/api.log <==
2013-10-21 10:07:22 INFO [cinder.openstack.common.rpc.common] Connected to AMQP server on 10.225.0.22:5672
Here is my config
# cat /etc/cinder/cinder.conf
[DEFAULT]
logdir = /var/log/cinder
state_path = /var/lib/cinder/
lock_path = /var/lib/cinder/tmp
volumes_dir = /etc/cinder/volumes
iscsi_helper=tgtadm
sql_connection = mysql://cinderUser:cinderPass@10.225.0.22/cinder
rootwrap_config=/etc/cinder/rootwrap.conf
rabbit_host = 10.225.0.22
rabbit_port = 5672
rabbit_userid = guest
rabbit_password = guest
rabbit_use_ssl = false
rabbit_virtual_host = /
rabbit_notification_exchange = cinder
rabbit_notification_topic = notifications
rabbit_durable_queues = False
api_paste_config = /etc/cinder/api-paste.ini
#iscsi_helper=ietadm
volume_name_template = volume-%s
volume_group = cinder-volumes
verbose = True
debug = True
auth_strategy = keystone
#osapi_volume_listen_port=5900
[filter:authtoken]
paste.filter_factory = keystoneclient.middleware.auth_token:filter_factory
service_protocol = http
service_host = 10.225.0.22
service_port = 5000
auth_host = 10.225.0.22
auth_port = 35357
auth_protocol = http
admin_tenant_name = service
admin_user = cinder
admin_password = service_pass
# cat /etc/cinder/api-paste.ini
[DEFAULT]
rootwrap_config=/etc/cinder/rootwrap.conf
sql_connection = mysql://cinderUser:cinderPass@10.225.0.22/cinder
api_paste_config = /etc/cinder/api-paste.ini
#iscsi_helper=ietadm
iscsi_helper=tgtadm
volume_name_template = volume-%s
volume_group = cinder-volumes
verbose = True
debug = True
auth_strategy = keystone
#osapi_volume_listen_port=5900
#############
# OpenStack #
#############
[composite:osapi_volume]
use = call:cinder.api:root_app_factory
/: apiversions
/v1: openstack_volume_api_v1
/v2: openstack_volume_api_v2
[composite:openstack_volume_api_v1]
use = call:cinder.api.middleware.auth:pipeline_factory
noauth = faultwrap sizelimit noauth apiv1
keystone = faultwrap sizelimit authtoken keystonecontext apiv1
keystone_nolimit = faultwrap sizelimit authtoken keystonecontext apiv1
[composite:openstack_volume_api_v2]
use = call:cinder.api.middleware.auth:pipeline_factory
noauth = faultwrap sizelimit noauth apiv2
keystone = faultwrap sizelimit authtoken keystonecontext apiv2
keystone_nolimit = faultwrap sizelimit authtoken keystonecontext apiv2
[filter:faultwrap]
paste.filter_factory = cinder.api.middleware.fault:FaultWrapper.factory
[filter:noauth]
paste.filter_factory = cinder.api.middleware.auth:NoAuthMiddleware.factory
[filter:sizelimit]
paste.filter_factory = cinder.api.middleware.sizelimit:RequestBodySizeLimiter.factory
[app:apiv1]
paste.app_factory = cinder.api.v1.router:APIRouter.factory
[app:apiv2]
paste.app_factory = cinder.api.v2.router:APIRouter.factory
[pipeline:apiversions]
pipeline = faultwrap osvolumeversionapp
[app:osvolumeversionapp]
paste.app_factory = cinder.api.versions:Versions.factory
##########
# Shared #
##########
[filter:keystonecontext]
paste.filter_factory = cinder.api.middleware.auth:CinderKeystoneContext.factory
[filter:authtoken]
paste.filter_factory = keystoneclient.middleware.auth_token:filter_factory
service_protocol = http
service_host = 10.225.0.22
service_port = 5000
auth_host = 10.225.0.22
auth_port = 35357
auth_protocol = http
admin_tenant_name = service
admin_user = cinder
admin_password = service_pass
No errors in log files...
Any idea why cinder create never ends ?
---
Samba
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20131021/16afe64d/attachment.html>
More information about the Openstack
mailing list