Category Archives: openstack

Public OpenStack providers useable within the hour

The OpenStack marketplace provides a list of OpenStack public clouds, a few of which enable the user to launch an instance at most one hour after registration. Enter Cloud Suite has a 2GB RAM, 2 CPU, 40GB Disk instance for … Continue reading

Posted in openstack | Leave a comment

Setting a custom name server on an OpenStack instance

In an OpenStack tenant that is not allowed to create a network with neutron net-create, the name server can be set via cloudinit. The resolv-conf module although documented in the examples is not always available. It can be worked around … Continue reading

Posted in openstack | Leave a comment

OpenStack instance name based on its IP address

A DNS has a set of pre-defined names such as: … the-re018 10.0.3.18 the-re019 10.0.3.19 … If nova fixed-ip-reserve is denied by the OpenStack policy and neutron net-create is not available to create a network with the 10.0.3.0/24 subnet that … Continue reading

Posted in openstack | Leave a comment

Delete the last port of an OpenStack router

When trying to delete an OpenStack subnet and the associated router, the command neutron router-delete complains because of the port allocated for the gateway and the port of the gateway cannot be removed with neutron port-delete because it is owned … Continue reading

Posted in openstack | 2 Comments

OpenStack script to pre-allocate fixed IPs

The create-ports.py script allocates ports and indirectly gets fixed IPs from the DHCP server. The ports are named openstack000, openstack001 etc. and they are displayed in a format suitable for dnsmasq: $ python create-ports.py –count 2 –net fsf-lan | \ … Continue reading

Posted in openstack | Leave a comment

create / delete an OpenStack instance with python-openstackclient

The python-openstackclient library has an example that provides the basic structure for a new command (the auth_url problem workaround may be needed). To create a virtual machine with 1GB RAM, 1CPU, ubuntu-14.04, using the teuthology keypair on the fsf-lan network, … Continue reading

Posted in openstack | 2 Comments

OpenStack Upstream Training challenges

The OpenStack Upstream Training scheduled november 1st, 2014 in Paris will have a unprecedented number of participants and for the first time there is a shortage of Lego. In addition to the 80 pounds of spare parts (picture fourground), six … Continue reading

Posted in Upstream University, openstack | Leave a comment

What cinder volume is missing an RBD object ?

Although it is extremely unlikely to loose an object stored in Ceph, it is not impossible. When it happens to a Cinder volume based on RBD, knowing which has an object missing will help with disaster recovery.

Posted in Havana, ceph, openstack | Leave a comment

enable secondary network interface and ignore the default route

When two network interfaces are associated to an OpenStack instance, the Ubuntu precise guest will only configure the first one. Assuming the second can be configured via DHCP, it can be added with: cat > /etc/network/interfaces.d/eth1.cfg <<EOF auto eth1 iface … Continue reading

Posted in Havana, openstack | Leave a comment

Recovering from a cinder RBD host failure

OpenStack Havana Cinder volumes associated with a RBD Ceph pool are bound to a host. cinder service-list –host bm0014.the.re@rbd-ovh +—————+———————–+——+———+——-+ | Binary | Host | Zone | Status | State | +—————+———————–+——+———+——-+ | cinder-volume | bm0014.the.re@rbd-ovh | ovh | enabled … Continue reading

Posted in Havana, ceph, openstack | 3 Comments