Category Archives: openstack

Shrink an OpenStack image

After a while openstack image create creates increasingly large files because the blocks used and freed are not trimmed and it is not uncommon for hypervisors to not support fstrim. The image can be shrinked and the virtual machine recreated … Continue reading

Posted in openstack | Leave a comment

Testing Ceph with ARMv8 OpenStack instances

The Ceph integration tests can be run on ARMv8 (aka arm64 or aarch64) OpenStack instances on CloudLab or Runabove. When logged in CloudLab an OpenStack cluster suitable for teuthology must be created. To start an experiment click Change Profile to … Continue reading

Posted in ceph, openstack | Leave a comment

Ceph integration tests made simple with OpenStack

If an OpenStack tenant (account in the OpenStack parlance) is available, the Ceph integration tests can be run with the teuthology-openstack command , which will create the necessary virtual machines automatically (see the detailed instructions to get started). To do … Continue reading

Posted in ceph, openstack | 2 Comments

restoring an OpenStack ssh public key

When a ssh private key is obtained from OpenStack via openstack keypair create foobar > foobar.pem the matching public key is stored in the OpenStack tenant. If it is later deleted with openstack keypair delete foobar it can be restored … Continue reading

Posted in openstack | 2 Comments

oneliner to deploy teuthology on OpenStack

Note: this is obsoleted by Ceph integration tests made simple with OpenStack The teuthology can be installed as a dedicated OpenStack instance on OVH using the OpenStack backend with: nova boot \ –image ‘Ubuntu 14.04′ \ –flavor ‘vps-ssd-1′ \ –key-name … Continue reading

Posted in ceph, openstack | Leave a comment

Running your own Ceph integration tests with OpenStack

Note: this is obsoleted by Ceph integration tests made simple with OpenStack The Ceph lab has hundreds of machines continuously running integration and upgrade tests. For instance, when a pull request modifies the Ceph core, it goes through a run … Continue reading

Posted in ceph, openstack | 1 Comment

Public OpenStack providers usable 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 | 3 Comments

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 | 1 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 | 1 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