Openstack Queens – Cinder: Deleting volumes using Mysql

Sometimes things get so broken you just have to hack stuff out of the database because the API’s are in a stuck state. Here is what I did to successfully remove the volume entries for some stuck volumes after a MySQL server crash. Note, You’ll also need to adjust the quotas table too to decrement […]

Read More »

Errors running Glance[Liberty] on Centos 7

When trying to install\run glance on Centos 7 I came across the following error ImportError: No module named oslo_policy This was resolved by installing the python oslo_policy module by running pip install oslo.policy You may or not need to install pip(Python’s equivalent to Yum almost?) yum install python-pip   Thats all wonderful but now i […]

Read More »

Cinder – Resize root volume

To resize the root volume of an instance can be tricky, this worked for me Note some commands, particularly “cinder reset-state” returned a HTTP 403, i had to run those as admin   [root@vm-os-ks01 ~]# source admin.rc [root@vm-os-ks01 ~]# cinder reset-state –state available b35e676a-7593-458d-b6f4-cc60e075cfd4 [root@vm-os-ks01 ~]# nova volume-list +————————————–+———–+————–+——+————-+————————————–+ | ID                                   | Status    | Display […]

Read More »