RHGS in openstack

Latest response

Is there a supported way to unroll RHGS in OpenStack guest? Layered install on top of existing RHEL in OpenStack guest seems to be unsupported/not-recommended. The recommended way is install RHEL+RHGS from DVD but what's the way to go in I want to deploy to OpenStack?

Responses

You don't need to use the DVD, you can kickstart the RHGS as well, there shouldn't be any issues even if it would be easier to connect the RHGS to the OpenStack cluster and let OpenStack present the storage to guests.

Thanks for the answer, Zdenek. I need to test that a product works with RHGS and a lab I have is a project in OpenStack. That's why I'm asking about installation of RHGS as a guest in OpenStack: 1. Spawn several RHGS nodes 2. Spawn several product nodes 3. Spawn several nodes that send data to product 4. Check product works as intended

OpenStack image guide for RHEL lists the only option: KVM guest qcow2 image: http://docs.openstack.org/image-guide/obtain-images.html#red-hat-enterprise-linux

The only places where I can see mention of Kickstart in OpenStack documentation are: - Oz to create images http://docs.openstack.org/image-guide/create-images-automatically.html#oz - Mention of PXE http://docs.openstack.org/ops-guide/arch-provision.html#automated-deployment

Do you mean that a recommended way to install RHGS as a guest in OpenStack is to have a PXE server, have an image with iPXE, boot an instance into RHGS installation with a prepared Kickstart profile?

I would recommend to deploy using oz-install - the templates are straightforward but it support the standard kickstart templates as well.

See the http://jansipke.nl/creating-a-centos-vm-image-for-openstack/ as a reference.

RHGS is nothing more that RHEL + gluster packages, I use this in my Kickstart template:

%packages
@base
@rh-gluster-storage
nfs-utils
ntp
postfix
-sendmail
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.