Ask Your Question

Richard Hong's profile - activity

2017-05-28 20:35:44 -0500 received badge  Enthusiast
2017-05-27 06:09:10 -0500 received badge  Editor (source)
2017-05-27 05:23:30 -0500 answered a question Newton RabbitMQ transport_url high availability

Create a VIP and haproxy with corosync and pacemaker. And configration transport_url as below.

[DEFAULT]

transport_url = rabbit://user-name:password@Virtual-IP:5672

2017-03-05 13:00:46 -0500 received badge  Famous Question (source)
2016-11-06 23:10:12 -0500 received badge  Notable Question (source)
2016-10-07 19:26:07 -0500 answered a question Incorrect advertisement of block storage total and free space

I have the same issue, My openstack is liberty. And the nova report that have no valid host to build VM when the disk size of new vm is more bigger than the remaining disk size. but I build all vm in LVM block storage server, not compute node. And the options [libvirt] images_type = lvm images_volume_group = cinder-volumes are useless.

2016-09-27 05:26:13 -0500 received badge  Popular Question (source)
2016-09-23 04:09:20 -0500 asked a question glance image-create return fail:500 Internal Server Error

HI Expert: Wher I create a glance image, I get the following error messages: [root@control1 images]# glance -d image-create --name cirros-demo-01 --disk-format raw --container-format bare --size 1 --file cirros-0.3.4-x86_64-disk.raw --is-public True --progress curl -i -X POST -H 'Accept-Encoding: gzip, deflate' -H 'x-image-meta-container_format: bare' -H 'Accept: /' -H 'X-Auth-Token: {SHA1}5557aad8e0a757847ecafce7d73b9f3a6b1a0f43' -H 'x-image-meta-size: 1' -H 'Connection: keep-alive' -H 'x-image-meta-is_public: True' -H 'User-Agent: python-glanceclient' -H 'Content-Type: application/octet-stream' -H 'x-image-meta-disk_format: raw' -H 'x-image-meta-name: cirros-demo-01' http://10.251.144.55:9292/v1/images [=============================>] 100% Request returned failure status 500. Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/glanceclient/shell.py", line 637, in main args.func(client, args) File "/usr/lib/python2.7/site-packages/glanceclient/v1/shell.py", line 232, in do_image_create image = gc.images.create(*fields) File "/usr/lib/python2.7/site-packages/glanceclient/v1/images.py", line 288, in create data=image_data) File "/usr/lib/python2.7/site-packages/glanceclient/common/http.py", line 262, in post return self._request('POST', url, *kwargs) File "/usr/lib/python2.7/site-packages/glanceclient/common/http.py", line 227, in _request raise exc.from_response(resp, resp.content) HTTPInternalServerError: <html> <head> <title>500 Internal Server Error</title> </head> <body>

500 Internal Server Error

Failed to upload image d30d73ae-3c42-48c0-85ff-6a1b21689058

</body> </html> (HTTP 500) <html> <head> <title>500 Internal Server Error</title> </head> <body>

500 Internal Server Error

Failed to upload image d30d73ae-3c42-48c0-85ff-6a1b21689058

</body> </html> (HTTP 500)

And in the log file /var/log/glance/api.log, I got the error log: 2016-09-23 16:28:24.908 21227 ERROR glance.api.v1.upload_utils [-] Failed to upload image 4ab96a9e-476d-499b-8dbf-bfb3b15979af 2016-09-23 16:28:24.908 21227 TRACE glance.api.v1.upload_utils Traceback (most recent call last): 2016-09-23 16:28:24.908 21227 TRACE glance.api.v1.upload_utils File "/usr/lib/python2.7/site-packages/glance/api/v1/upload_utils.py", line 113, in upload_data_to_store 2016-09-23 16:28:24.908 21227 TRACE glance.api.v1.upload_utils context=req.context) 2016-09-23 16:28:24.908 21227 TRACE glance.api.v1.upload_utils File "/usr/lib/python2.7/site-packages/glance_store/backend.py", line 331, in store_add_to_backend 2016-09-23 16:28:24.908 21227 TRACE glance.api.v1.upload_utils context=context) 2016-09-23 16:28:24.908 21227 TRACE glance.api.v1.upload_utils File "/usr/lib/python2.7/site-packages/glance_store/_drivers/rbd.py", line 381, in add 2016-09-23 16:28:24.908 21227 TRACE glance.api.v1.upload_utils self._delete_image(loc.image, loc.snapshot) 2016-09-23 16:28:24.908 21227 TRACE glance.api.v1.upload_utils File "/usr/lib/python2.7/site-packages/glance_store/_drivers/rbd.py", line 287, in _delete_image 2016-09-23 16:28:24.908 21227 TRACE glance.api.v1.upload_utils with conn.open_ioctx(target_pool) as ioctx: 2016-09-23 16:28:24.908 21227 TRACE glance.api.v1.upload_utils File "/usr/lib/python2.7/site-packages/rados.py", line 591, in open_ioctx 2016-09-23 16:28:24.908 21227 TRACE glance.api.v1.upload_utils raise make_ex(ret, "error opening ioctx '%s'" % ioctx_name) 2016-09-23 16:28:24.908 21227 TRACE glance.api.v1.upload_utils ObjectNotFound: error opening ioctx '4ab96a9e-476d-499b-8dbf-bfb3b15979af' 2016-09-23 ...





(more)
2015-05-21 00:46:13 -0500 received badge  Necromancer (source)
2015-05-21 00:46:13 -0500 received badge  Teacher (source)
2015-04-16 23:38:37 -0500 answered a question All nova service list are in "down" state and there is no "nova-compute" service

I have the same issue, and after reset RabbitMQ password, it works. But I can only get 4 service item, the nova-compute is not in list.

| 1 | nova-consoleauth | controller | internal | enabled | up | 2015-04-17T03:07:34.000000 | - |

| 2 | nova-cert | controller | internal | enabled | up | 2015-04-17T03:07:34.000000 | - |

| 3 | nova-conductor | controller | internal | enabled | up | 2015-04-17T03:07:34.000000 | - |

| 4 | nova-scheduler | controller | internal | enabled | up | 2015-04-17T03:07:34.000000

2015-04-16 23:38:37 -0500 answered a question nova service-list problem : libxenlight state driver is not active

I have the same issue too, but after I reset RabbitMQ password in controller, it works. But just list 4 items, can not find the nova compute.

Reset passwork command: #abbitmqctl change_password guest 123456

nova service-list output: