flaper87's profile - activity

2014-09-01 02:10:19 -0600 commented question vmware glance 400 Bad request

What version are you using? This sounds like: https://bugs.launchpad.net/nova/+bug/...

2014-08-28 07:25:39 -0600 answered a question Is it possible to attach glance image to guest VM

You could create a volume from an image and then attach that volume to your VM. Other than that, it's not possible to attach/mount images to/on the VM.

2014-07-16 02:11:51 -0600 received badge  Enthusiast
2014-07-07 03:07:56 -0600 received badge  Commentator
2014-07-07 03:07:56 -0600 commented question CRITICAL error glance. AttributeError: 'NoneType' object has no attribute 'drivername'

Hey Daniel, Could you please share your config files and the full api.log file?

2014-07-07 03:06:27 -0600 edited question CRITICAL error glance. AttributeError: 'NoneType' object has no attribute 'drivername'

Hi guys,

I am trying to configure the Image Service. Well, my knowledges are not very large and I follow this link in order to complete the installation. When I try to create the database tables for the Image Service with su -s /bin/sh -c "glance-manage db_sync" glance I receive the following error: "CRITICAL glance AttributeError: 'NoneType' object has no attribute 'drivername'". I searched an answer and I observed that there are others with this problem too and there is not a solution for this situation so far. I mention that I have the last update for glance project. This is how /var/log/glance/api.log looks like LOG


Later Edit: I didn't know I couldn't share links, my bad

2014-07-04 02:23:33 -0600 received badge  Nice Answer (source)
2014-07-04 01:09:40 -0600 answered a question Queries on glance - image service


(1) Disk Format refers to the underlying image disk format. That is, the format of the file containing the image data. The Container Format specifies whether that disk image file is contained by another file that may also contain metadata about the image. Here's some documentation you may want to read.

(2) queued means the image was created but no data uploaded whereas saving means image data is being uploaded. Docs

(3) The storage repository is where the image data is being kept. Glance supports several storage repositories and the deployer may choose whichever fits best in its infrastructure. Docs

2014-07-04 01:03:03 -0600 answered a question glance-manage db_sync problem

Hi Daniel,

For some reason you're missing the oslo.config package in your environment, hence the ImportError you're seeing. How did you install Glance? If you used your distro's package manager you should try to find the python-oslo-config package. Based on the path, there's a change you may have installed using the git repo. If this is the case, make sure you run pip install -r requirements.txt in the Glance repo folder.

2014-06-19 07:30:32 -0600 answered a question Nova image list fails Error: images. Debug lines 774, 710 905

It looks a lot like an old bug in novaclient. The bug is 1034665. What version of the client library are you using?

2014-06-19 07:26:09 -0600 edited question Nova image list fails Error: images. Debug lines 774, 710 905

After completing the Install Compute controller services section and running nova image list, it is returning ERROR: 'images'. I am assuming it is not an error in the script, but may be a version or configuration issue. I did go back through the configuration and did not have any errors. Can you help with this?

glance --os-username=admin --os-password=april1997 --os-tenant-name=admin --os-auth-url= image-list
| ID                                   | Name   | Disk Format | Container Format | Size     | Status |
| 5db178a7-a4d7-4221-ab45-f557222791fb | cirros | vmdk        | ovf              | 13167616 | active |
root@os-controler:/images# nova --debug --os-username=admin --os-password=april1997 --os-tenant-name=admin --os-auth-url= image-list

REQ: curl -i '' -X POST -H "Content-Type: application/json" -H "Accept: application/json" -H "User-Agent: python-novaclient" -d '{"auth": {"tenantName": "admin", "passwordCredentials": {"username": "admin", "password": "april1997"}}}'

New session created for: (
INFO (connectionpool:258) Starting new HTTP connection (1):
DEBUG (connectionpool:375) Setting read timeout to 600.0
DEBUG (connectionpool:415) "POST /v2.0/tokens HTTP/1.1" 200 3737
RESP: [200] CaseInsensitiveDict({'date': 'Wed, 07 May 2014 10:48:27 GMT', 'vary': 'X-Auth-Token', 'content-length': '3737', 'content-type': 'application/json', 'x-distribution': 'Ubuntu'})
RESP BODY: {"access": {"token": {"issued_at": "2014-05-07T10:48:27.869350", "expires": "2014-05-07T11:48:27Z", "id": "MIIHBQYJKoZIhvcNAQcCoIIG9jCCBvICAQExDTALBglghkgBZQMEAgEwggVTBgkqhkiG9w0BBwGgggVEBIIFQHsiYWNjZXNzIjogeyJ0b2tlbiI6IHsiaXNzdWVkX2F0IjogIjIwMTQtMDUtMDdUMTA6NDg6MjcuODY5MzUwIiwgImV4cGlyZXMiOiAiMjAxNC0wNS0wN1QxMTo0ODoyN1oiLCAiaWQiOiAicGxhY2Vob2xkZXIiLCAidGVuYW50IjogeyJkZXNjcmlwdGlvbiI6ICJBZG1pbiBUZW5hbnQiLCAiZW5hYmxlZCI6IHRydWUsICJpZCI6ICI3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4wIn1dLCAiZW5kcG9pbnRzX2xpbmtzIjogW10sICJ0eXBlIjogImlkZW50aXR5IiwgIm5hbWUiOiAia2V5c3RvbmUifV0sICJ1c2VyIjogeyJ1c2VybmFtZSI6ICJhZG1pbiIsICJyb2xlc19saW5rcyI6IFtdLCAiaWQiOiAiYWY1NTdjOTg3YTU4NGNiNjk1MjRjZjE5ZGY4NjBlMDIiLCAicm9sZXMiOiBbeyJuYW1lIjogIl9tZW1iZXJfIn0sIHsibmFtZSI6ICJhZG1pbiJ9XSwgIm5hbWUiOiAiYWRtaW4ifSwgIm1ldGFkYXRhIjogeyJpc19hZG1pbiI6IDAsICJyb2xlcyI6IFsiOWZlMmZmOWVlNDM4NGIxODk0YTkwODc4ZDNlOTJiYWIiLCAiMjQ2MzI4ODA3Y2I2NDRhNGIxNWFjYjk4MDJjZTdjNDIiXX19fTGCAYUwggGBAgEBMFwwVzELMAkGA1UEBhMCVVMxDjAMBgNVBAgMBVVuc2V0MQ4wDAYDVQQHDAVVbnNldDEOMAwGA1UECgwFVW5zZXQxGDAWBgNVBAMMD3d3dy5leGFtcGxlLmNvbQIBATALBglghkgBZQMEAgEwDQYJKoZIhvcNAQEBBQAEggEAfGFLiawRKTC3BoBlDniKZv6VbsUKAzK0l6se7VaPC3KlKVXvPa4WoCdpAJdghJpGJEaeg1n3J8G3PsUZEDCY7NV12syX8dTBbhtYOfvN5iUfZbnMgsLyHZ1DVRx5E4Xr8jYp8zdOfvUutt+7wHmv7T+CJSMY+zuiE9EgEvwMKst+4o84nY26o3q8tiXpiw1uMoOWJioQ3VUDdrI3mvspZ9euHh4eTIa2OnSz3whvtsXLbxZ+73oKZO4INnMQMKpR3sTmJjiVhr0I1UPP50JeQY9XPCriryFJG2zEmP6r7ZnvlzgU9-oMxiuBK8N+MFe-goNS78rXqgxxUz3Y-TJHjA==", "tenant": {"description": "Admin Tenant", "enabled": true, "id": "7ce2ff6798224063bb3f98d5e3e7fa5d", "name": "admin"}}, "serviceCatalog": [{"endpoints": [{"adminURL": "", "region": "regionOne", "internalURL": "", "id": "0a51f36f8bde435e9ad43afc560342c9", "publicURL": ""}], "endpoints_links": [], "type": "image", "name": "glance"}, {"endpoints": [{"adminURL": "", "region": "regionOne", "internalURL": "", "id": "0aa48cdbcd7343cab7dfd60b560113b5", "publicURL": ""}], "endpoints_links": [], "type": "compute", "name": "nova"}, {"endpoints": [{"adminURL": "", "region": "regionOne", "internalURL": "", "id": "2b89fd2536774fc9b8ab396d6b462023", "publicURL": ""}], "endpoints_links": [], "type": "identity", "name": "keystone"}], "user": {"username": "admin", "roles_links": [], "id": "af557c987a584cb69524cf19df860e02", "roles": [{"name": "_member_"}, {"name": "admin"}], "name": "admin"}, "metadata": {"is_admin": 0, "roles": ["9fe2ff9ee4384b1894a90878d3e92bab", "246328807cb644a4b15acb9802ce7c42"]}}}

REQ: curl -i '' -X GET -H "X-Auth-Project-Id: admin" -H "User-Agent: python-novaclient" -H "Accept: application/json" -H "X-Auth-Token: MIIHBQYJKoZIhvcNAQcCoIIG9jCCBvICAQExDTALBglghkgBZQMEAgEwggVTBgkqhkiG9w0BBwGgggVEBIIFQHsiYWNjZXNzIjogeyJ0b2tlbiI6IHsiaXNzdWVkX2F0IjogIjIwMTQtMDUtMDdUMTA6NDg6MjcuODY5MzUwIiwgImV4cGlyZXMiOiAiMjAxNC0wNS0wN1QxMTo0ODoyN1oiLCAiaWQiOiAicGxhY2Vob2xkZXIiLCAidGVuYW50IjogeyJkZXNjcmlwdGlvbiI6ICJBZG1pbiBUZW5hbnQiLCAiZW5hYmxlZCI6IHRydWUsICJpZCI6ICI3Y2UyZmY2Nzk4MjI0MDYzYmIzZjk4ZDVlM2U3ZmE1ZCIsICJuYW1lIjogImFkbWluIn19LCAic2VydmljZUNhdGFsb2ciOiBbeyJlbmRwb2ludHMiOiBbeyJhZG1pblVSTCI6ICJodHRwOi8vMTAuOC4xMC4xMTc6OTI5MiIsICJyZWdpb24iOiAicmVnaW9uT25lIiwgImludGVybmF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jBlMDIiLCAicm9sZXMiOiBbeyJuYW1lIjogIl9tZW1iZXJfIn0sIHsibmFtZSI6ICJhZG1pbiJ9XSwgIm5hbWUiOiAiYWRtaW4ifSwgIm1ldGFkYXRhIjogeyJpc19hZG1pbiI6IDAsICJyb2xlcyI6IFsiOWZlMmZmOWVlNDM4NGIxODk0YTkwODc4ZDNlOTJiYWIiLCAiMjQ2MzI4ODA3Y2I2NDRhNGIxNWFjYjk4MDJjZTdjNDIiXX19fTGCAYUwggGBAgEBMFwwVzELMAkGA1UEBhMCVVMxDjAMBgNVBAgMBVVuc2V0MQ4wDAYDVQQHDAVVbnNldDEOMAwGA1UECgwFVW5zZXQxGDAWBgNVBAMMD3d3dy5leGFtcGxlLmNvbQIBATALBglghkgBZQMEAgEwDQYJKoZIhvcNAQEBBQAEggEAfGFLiawRKTC3BoBlDniKZv6VbsUKAzK0l6se7VaPC3KlKVXvPa4WoCdpAJdghJpGJEaeg1n3J8G3PsUZEDCY7NV12syX8dTBbhtYOfvN5iUfZbnMgsLyHZ1DVRx5E4Xr8jYp8zdOfvUutt+7wHmv7T+CJSMY+zuiE9EgEvwMKst+4o84nY26o3q8tiXpiw1uMoOWJioQ3VUDdrI3mvspZ9euHh4eTIa2OnSz3whvtsXLbxZ+73oKZO4INnMQMKpR3sTmJjiVhr0I1UPP50JeQY9XPCriryFJG2zEmP6r7ZnvlzgU9-oMxiuBK8N+MFe-goNS78rXqgxxUz3Y-TJHjA=="

New session created for: (
INFO (connectionpool:258) Starting new HTTP connection (1):
DEBUG (connectionpool:375) Setting read timeout to 600.0
DEBUG (connectionpool:415) "GET /images/detail HTTP/1.1" 300 540
RESP: [300] CaseInsensitiveDict({'date': 'Wed, 07 May 2014 10:48:27 GMT', 'content-length': '540', 'content-type': 'application/json; charset=UTF-8'})
RESP BODY: {"versions": [{"status": "CURRENT", "id": "v2.2", "links": [{"href": "", "rel": "self"}]}, {"status": "SUPPORTED", "id": "v2.1", "links": [{"href": "", "rel": "self"}]}, {"status": "SUPPORTED", "id": "v2.0", "links": [{"href": "", "rel": "self"}]}, {"status ...
2014-06-19 07:19:27 -0600 edited answer User/service accounts appear to be configured correctly, but I am getting user not found error. Icehouse on Centos.

Look here https://ask.openstack.org/en/question/32156/glance-image-create-http-error-500/ to see if this solves your problem. If not run:

[root@controller ~]# tail /var/log/glance/registry.log

and post the output as an edit to your question.

2014-06-19 07:13:08 -0600 commented question Why does Glance copy from external source return ENETUNREACH?

Did you check whether the image URL is reachable from glance's box? It sounds like the location you want to copy the image from is not reachable.

2014-06-19 07:10:11 -0600 edited question User/service accounts appear to be configured correctly, but I am getting user not found error. Icehouse on Centos.

Description of problem:

Setting up openstack icehouse on centos 6.5. Installed glance per this guide: http://docs.openstack.org/trunk/insta...

When attempting to run glance image-create or any other glance commands i am getting the below error.. glance --verbose image-create --name=cirrosImage --disk-format=qcow2 --container-format=bare --is-public=true < cirros-0.3.2-x86_64-disk.img Request returned failure status. HTTPInternalServerError (HTTP 500)

I can succesfully get a keystone token with both the glance user account and the admin user account so I am sure keystone is running as intended.

Why am I unable to get authenticated even though I am positive I have glance set up with appropriate credentials. Likely has to do with why I cannot get keystone user-role-list command to return anything. Getting user not found error, even though keystone user-list command returns my user. Why is one command able to find it but not the other?


root@mdd-horizon1 ~]# keystone user-list +----------------------------------+--------+---------+------------------------------+ | id | name | enabled | email | +----------------------------------+--------+---------+------------------------------+ | ccddff846e0a441db43132bd31e02746 | admin | True | | | fde67fea69584ba3a10a9b6455544881 | demo | True | | | d7be3f1cfc6a4fc2bd8971e013af3d2e | glance | True | | +----------------------------------+--------+---------+------------------------------+

root@mdd-horizon1 ~]# keystone service-list +----------------------------------+----------+----------+-------------------------+ | id | name | type | description | +----------------------------------+----------+----------+-------------------------+ | b4fd3f202c5044b5ab682681440af940 | glance | image | OpenStack Image Service | | 0637383640fe434da5090aa9947d62b2 | keystone | identity | OpenStack Identity | +----------------------------------+----------+----------+-------------------------+

keystone log tail.. 2014-04-23 10:29:39.566 2611 WARNING keystone.common.wsgi [-] Could not find user, glance. 2014-04-23 10:29:39.668 2611 WARNING keystone.common.wsgi [-] Could not find role, admin. 2014-04-23 10:29:39.761 2611 WARNING keystone.common.wsgi [-] Could not find project, service. 2014-04-23 10:29:55.326 2611 WARNING keystone.common.wsgi [-] Could not find user, glance. 2014-04-23 10:29:55.470 2611 WARNING keystone.common.wsgi [-] Could not find role, admin. 2014-04-23 10:29:55.597 2611 WARNING keystone.common.wsgi [-] Could not find project, service. 2014-04-23 10:30:49.475 2611 WARNING keystone.common.wsgi [-] Could not find user, glance. 2014-04-23 10:32:41.557 2611 WARNING keystone.common.wsgi [-] Could not find project, service. 2014-04-23 10:34:15.968 2611 WARNING keystone.common.wsgi [-] Could not find user, glance. 2014-04-23 14:39:03.846 2611 WARNING keystone.common.wsgi [-] Authorization failed. The request you have made requires authentication. from 2014-04-23 14:45:07.251 2611 WARNING keystone.common.wsgi [-] Could not find user, glance. 2014-04-23 14:46:13.987 2611 WARNING keystone.common.wsgi [-] Could not find user, glance.

results of [root@mdd-horizon1 ~]# keystone --debug user-role-list --user glanceDEBUG:keystoneclient.session:REQ: curl -i -X POST http://mdd-horizon1:35357/v2.0/tokens -H "Content-Type: application/json" -H "User-Agent: python-keystoneclient" -d '{"auth": {"tenantName": "admin", "passwordCredentials": {"username": "admin", "password": ""}}}' INFO:urllib3.connectionpool:Starting new HTTP connection (1): mdd-horizon1 DEBUG:urllib3.connectionpool:"POST /v2.0/tokens HTTP/1.1" 200 3124 DEBUG:keystoneclient.session:RESP: [200] {'date': 'Wed, 23 Apr 2014 18:52:51 GMT', 'content-type': 'application/json', 'content-length': '3124', 'vary': 'X-Auth-Token'} RESP BODY: {"access": {"token": {"issued_at": "2014-04-23T18:52:51.034617", "expires": "2014-04-23T19:52:51Z", "id": "MIIF-AYJKoZIhvcNAQcCoIIF7TCCBekCAQExCTAHBgUrDgMCGjCCBFIGCSqGSIb3DQEHAaCCBEMEggQ-eyJhY2Nlc3MiOiB7InRva2VuIjog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1c2VyIjogeyJ1c2VybmFtZSI6ICJhZG1pbiIsICJyb2xlc19saW5rcyI6IFtdLCAiaWQiOiAiY2NkZGZmODQ2ZTBhNDQxZGI0MzEzMmJkMzFlMDI3NDYiLCAicm9sZXMiOiBbeyJuYW1lIjogIl9tZW1iZXJfIn0sIHsibmFtZSI6ICJhZG1pbiJ9XSwgIm5hbWUiOiAiYWRtaW4ifSwgIm1ldGFkYXRhIjogeyJpc19hZG1pbiI6IDAsICJyb2xlcyI6IFsiOWZlMmZmOWVlNDM4NGIxODk0YTkwODc4ZDNlOTJiYWIiLCAiYWIzMjBiZWVlMDhlNGJiMTgxM2UzYThlMDk5Mjk3MDgiXX19fTGCAYEwggF9AgEBMFwwVzELMAkGA1UEBhMCVVMxDjAMBgNVBAgMBVVuc2V0MQ4wDAYDVQQHDAVVbnNldDEOMAwGA1UECgwFVW5zZXQxGDAWBgNVBAMMD3d3dy5leGFtcGxlLmNvbQIBATAHBgUrDgMCGjANBgkqhkiG9w0BAQEFAASCAQA7Vjq77PVRdAWkHhD4hW9FURzvHzde5NhViMCKyGpDggJUPBieZBYSjYlC5g4pBkayxv29J-czjEY45oHaZzRh5Fxwds4DiL4ziY83ceD8LQ2Oj6IaXnzP0pWU4oczZeMPygXazW03CpqBHPgF3xtnKV1KxoyQmmSX3JM6QTFmxsFMibQ9w8267W8SIYFokSXwi9Dpyxe5FSP313K1Tpq010uA1vZxaUF8Pyr+XQU3DkQt4GjZEYJYxmIKkY38WuDlaFRlEwCNLlJ+8BfWELg6rNkWTw+lOTrPawYM1IT+iAEDRnS2dAfFfU7JjPaOSSiE6lUwsMeYZwrVZjGeBhIx", "tenant": {"description": "Admin tenant", "enabled": true, "id": "79097774348c44caaf59df2f4cb7b63c", "name": "admin"}}, "serviceCatalog": [{"endpoints": [{"adminURL": "http://mdd-horizon1:9292", "region": "regionOne", "internalURL": "http://mdd-horizon1:9292", "id": "4addb4dee6a24e00b469c24c63fab726 ... (more)

2014-06-13 07:44:13 -0600 answered a question glance image-create HTTP error 500

You've misconfigured Glance. Based on the logs, it seems that your database user glance has no password associated for the host controller. I'd recommend you to check your database settings and update your glance-api.conf / glance-registry.conf file with the correct info.

Check the database steps in this link

2014-06-13 07:40:08 -0600 edited question glance image-create HTTP error 500


I am new to Openstack and I know that this has been solved multiple times here in forums but I am still not able to solve this error. I am trying to follow the Openstack installation guied on CentOS 6.5 64.bit and I am stuck in Verifying of the Image service installation.

This is what happens:

[root@controller ~]# glance image-create --name "cirros-0.3.2-x86_64" --disk-format qcow2 --container-format bare --is-public True --progress < cirros-0.3.2-x86_64-disk.img
[=============================>] 100%
Request returned failure status.
HTTPInternalServerError (HTTP 500)

And this is in the registry log which I believe is the source of the error.
[root@controller ~]# tail /var/log/glance/registry.log
  File "/usr/lib64/python2.6/site-packages/sqlalchemy/engine/strategies.py", line 80, in connect
    return dialect.connect(*cargs, **cparams)
  File "/usr/lib64/python2.6/site-packages/sqlalchemy/engine/default.py", line 283, in connect
    return self.dbapi.connect(*cargs, **cparams)
  File "/usr/lib64/python2.6/site-packages/MySQLdb/__init__.py", line 81, in Connect
    return Connection(*args, **kwargs)
  File "/usr/lib64/python2.6/site-packages/MySQLdb/connections.py", line 187, in __init__
    super(Connection, self).__init__(*args, **kwargs2)
OperationalError: (OperationalError) (1045, "Access denied for user 'glance'@'controller' (using password: YES)") None None
2014-06-13 13:28:23.507 3072 INFO glance.wsgi.server [178205f0-32be-4b28-b114-8a2aaf00dfc5 9fd45bf1f9494aa09eb5a88f3428d99e 49b9193572464a569d9c772832fd58ad - - -] - - [13/Jun/2014 13:28:23] "POST /images HTTP/1.1" 500 139 0.271863

But where should I check the password? I believe I have entered it correctly everywhere. I also have the source file loaded and I am able to get a token using the command "keystone token-get".

What am I doing wrong?

Thanks in advance.

Best regards Petr Olejník

2014-06-12 14:46:41 -0600 received badge  Nice Answer (source)
2014-06-11 11:57:35 -0600 commented question public glance server without authentication

The question is about using Glance without authentication, not without a database.

2014-06-11 11:18:30 -0600 commented question public glance server without authentication

@dbaxps There's no releation between the AMQP server and what glance is using for authentication.

2014-06-11 11:17:44 -0600 answered a question public glance server without authentication

You've done what's needed server side. In order to upload an image, you need to tell the client where glance is and pass a fake token to it.

glance --os-image-api-version 2 -U -A test image-create ...
2014-06-10 08:31:47 -0600 answered a question Qpid vs. RabbitMQ for Trove Installation

I'm going to abstain saying which one is better. However, I'd like to make it really clear that QPID is not Fedora specific and it works perfectly on many different distros. What that review says, though, is that there were "Fedora specific docs". The patch recommended using rabbitmq as the reference broker for the docs but it doesn't mention that rabbitmq is the best broker out there nor that it should always be used. You're free to pick whatever broker works best for you.

2014-02-04 20:41:51 -0600 received badge  Nice Answer (source)
2013-11-26 04:21:56 -0600 answered a question Images or Snapshot images are not visible (is_public=false)

There's no global parameter that would make all images public. You have to create the image and then update it. You can update images through the CLI and/or the dashboard.

However, Glance client allows you to create public and private images. The default value is 'private', though. Some examples below.

(openstack)phantom ~ $ glance image-create --is-public True --name test                                                                                                                                             
| Property         | Value                                |
| checksum         | None                                 |
| container_format | None                                 |
| created_at       | 2013-11-26T09:17:00                  |
| deleted          | False                                |
| deleted_at       | None                                 |
| disk_format      | None                                 |
| id               | 08c19538-c003-47d6-843f-80c1407afc79 |
| is_public        | True                                 |
| min_disk         | 0                                    |
| min_ram          | 0                                    |
| name             | test                                 |
| owner            | c15e15442ddb4387a8c0f0ca2f46a1be     |
| protected        | False                                |
| size             | 0                                    |
| status           | queued                               |
| updated_at       | 2013-11-26T09:17:00                  |
(openstack)phantom ~ $ glance image-create --is-public False --name test2                                                                                                                                           
| Property         | Value                                |
| checksum         | None                                 |
| container_format | None                                 |
| created_at       | 2013-11-26T09:17:09                  |
| deleted          | False                                |
| deleted_at       | None                                 |
| disk_format      | None                                 |
| id               | 1d97a170-7b6b-4ee3-a7ed-6d47fca48c08 |
| is_public        | False                                |
| min_disk         | 0                                    |
| min_ram          | 0                                    |
| name             | test2                                |
| owner            | c15e15442ddb4387a8c0f0ca2f46a1be     |
| protected        | False                                |
| size             | 0                                    |
| status           | queued                               |
| updated_at       | 2013-11-26T09:17:09                  |
(openstack)phantom ~ $ glance image-create --name test3                                                                                                                                                             
| Property         | Value                                |
| checksum         | None                                 |
| container_format | None                                 |
| created_at       | 2013-11-26T09:17:29                  |
| deleted          | False                                |
| deleted_at       | None                                 |
| disk_format      | None                                 |
| id               | 4be89626-3332-4d2d-bdb8-1fefd9dcdfb0 |
| is_public        | False                                |
| min_disk         | 0                                    |
| min_ram          | 0                                    |
| name             | test3                                |
| owner            | c15e15442ddb4387a8c0f0ca2f46a1be     |
| protected        | False                                |
| size             | 0                                    |
| status           | queued                               |
| updated_at       | 2013-11-26T09:17:29                  |
2013-05-15 02:06:21 -0600 answered a question No volume.create event received by the ceilometer

There are a couple of things you could verify in this case:

1) Make sure Cinder is correctly speaking with the message broker 2) Make sure the volume is being created

This sounds like a configuration issue related to ceilometer. If you're able to create a volume, it means that cinder is talking with the message broker. Could you share your configs or more info related to that? What do logs say?

Also, the volume's events are: create.start and create.end


2013-05-15 01:54:11 -0600 commented question glance-api and glance-registry services fail with the error PID file exists

pls, provide more information as requested in the comments bellow

2013-04-19 03:14:01 -0600 answered a question How to work with/configure Cinder for compute nodes having individual HDD


The easiest way to do that is creating an LLVM partition on each one of those HDD and export them through ISCSI. Cinder will take care of most of these things but you'll have to create the partition yourself.

For example, to create an llvm partition:

pvcreate /dev/sdN
vgcreate cinder-volumes /dev/sdN

Then make sure you set volume_group config var to cinder-volumes in cinder's config file. After that, make sure you restart your cinder-volume and cinder-api.

Hope this helps!

2013-04-18 17:32:07 -0600 commented question Devstack failure Folsom: error in gnutlshandshake and HTTP 500

Hey, I haven't seen this before. It would be usful if you could share your whole localrc file. Did you enable tls-proxy, for example?

2013-04-16 22:50:04 -0600 answered a question Glance setup.py connection failed


We're in the process of moving all questions from this service to http://ask.openstack.org Would you mind reposting this question there?

As for your question - pls, consider this when you re-post this question - It would be useful to know what OS you're using and what packages you're actually trying to install (localrc).

Thanks for posting,

2013-04-16 08:09:01 -0600 answered a question Time Keeping in instances


It is not necessary to run ntpd in guest vms for OpenStack to work correctly, that doesn't affect OpenStack at all - unless you don't mess OpenStack's nodes time.

If the applications running in your guest need NTPD then you might want to install it, otherwise, it is not required. It all depends on what you need to do in the guest VM.


2013-04-12 09:42:46 -0600 commented question Modify Horizon to provide federated access

Hi, could you please (or some moderator) fix the question title and description? It looks like you put the description where the title should be

2013-04-11 06:48:32 -0600 answered a question Dose Grizzly version support snapshot from server ?


TBH, I don't know what you mean with "Not image from server , real snapshot from the server" but, here's my attempt to answer your question.

It is possible to create snapshots of a specific instance using nova's image-create command. The operations executed by this command depend on the hypervisor you're using and the image type. As for libvirt and Qcow2, qemu-img snapshot will be used.

Once the snapshot is created, nova upload's the image to Glance and deletes it from the local disk.

Also, notice that, most likely, creating a snapshot will stop the guest instance and then restart it from its last state (saved before shutting it down). This also may very depending on the hypervisor you're using.

Hopes this helps!

Some references: * http://docs.openstack.org/essex/openstack-compute/admin/content/creating-images-from-running-instances.html * http://kashyapc.wordpress.com/2013/03/11/openstack-nova-image-create-under-the-hood/

2013-04-11 06:33:43 -0600 received badge  Organizer (source)
2013-04-11 06:32:42 -0600 commented answer Image arked as deleted in the Glance database but not deleted from Swift

mmmh, Is there something useful in the logs (Glance's and Swift's)? It would be great if you could upload those files somewhere (http://paste.openstack.org)

2013-04-11 06:17:47 -0600 answered a question Why Glance spend a long time connecting to MySQL?


There are 2 configuration variable sthat you might be interested in:

The first is sql_max_retries, which defines the number of times sqlalchemy will try to connect to the database. The second one is sql_retry_interval, which defines the seconds sqlalchemy will wait before retrying a connection.

The default values for those variables are 60 and 1 which means it will retry to connect 60 times with an interval of 1 second between each.

Also, what is the value of sql_idle_timeout ? This parameter defines the maximum time (in seconds) a connection will live before it is recycled.

  • Did you modify those parameters?
  • Are you having the same issue in other services? From your error, my guess is that Mysql is not reachable when that happens.
2013-04-09 02:40:45 -0600 received badge  Taxonomist
2013-04-08 09:21:16 -0600 received badge  Good Answer (source)
2013-04-08 09:21:16 -0600 received badge  Enlightened (source)
2013-04-04 04:13:24 -0600 commented question Image arked as deleted in the Glance database but not deleted from Swift

Please, provide more info about which services are running and more details of their configs. As for glance, Are glance-(api|registry|scrubber) running? What API version are you using? Is delayed_delete set in glance-api configs? What does glance image-show say? Provide more info for swift as well.

2013-03-31 16:25:57 -0600 received badge  Good Answer (source)
2013-03-27 18:20:16 -0600 received badge  Nice Answer (source)
2013-03-27 16:01:47 -0600 received badge  Nice Answer (source)
2013-03-27 14:47:03 -0600 received badge  Editor (source)
2013-03-27 14:45:23 -0600 answered a question Where do I find the horizon login url view?


That comes from djang-openstack-auth:

A good way to find out where specific urls are defined is by using django's url reverse

>>> from django.core.urlresolvers import reverse, resolve
>>> func, args, kwargs = resolve(reverse('login'))
>>> func.__module__

Then you can look up for that module.

2013-03-27 14:08:06 -0600 received badge  Supporter (source)
2013-03-27 07:15:29 -0600 answered a question Openstack API mocker or simulator ?

AFAIK, there's not such a tool out there (public) but I could be wrong. Besides, I don't think it's something straight forward to do and nor it will be reliable. I mean, in order to create such a tool, you'll need to have some kind of persistence among other things in order to make it compliant plus, the tool will have to be aware of some "special cases" handled server-side.

As for now, What I would suggest is to have an real testing environment with OpenStack deployed, which is, AFAIK, what most people do.

There are some other positive aspects about using a real environment:

  1. You're more than sure that what you're doing is compliant with current API version
  2. You can test different cases that may not be "real" in a "fake" tool, i.e: testing race conditions, loads, etc.

Devstack (devstack.org) is a great tool for development and this is one of those cases where it comes handy, I reckon.

2013-03-27 05:51:27 -0600 received badge  Teacher (source)