The purpose of this guide is to provide end-to-end setup requirements for using an OpenStack Juno cloud with RightScale. It provides information about both the OpenStack-specific requirements and components, and the configuration and setup requirements within RightScale.
This guide covers the following areas of OpenStack Juno cloud setup:
After completing the steps in this guide, you can begin launching servers in the RightScale Dashboard using your OpenStack Juno loud.
When adding an OpenStackOpenStack zone with basic networking and security groups to the RightScale Dashboard, the following cloud capabilities should be set:
Runs the Cinder, Swift-Proxy, Glance, Nova-Network and Nova-Manage services. Provides image management, block storage, object storage proxy and compute management. This server has high I/O and network requirements. A RAID5 array provides improved disk I/O while still providing fault tolerance. 10Gb network configuration is recommended for the storage server to reduce instance and snapshot creation time.
Runs the Cinder, Swift-Proxy, Glance, Nova-Network and Nova-Manage services. Provides image management, block storage, object storage proxy and compute management. This server has high I/O and network requirements. A RAID5 array provides improved disk I/O while still providing fault tolerance. 10Gb network configuration is recommended for the storage server to reduce instance and snapshot creation time.
Additional hypervisors should be added to a cluster in the event that that VMs cannot be launched due to hypervisor disk or memory capacity. Extra hypervisors can also be added to a cluster if VMs are running slow due to insufficient disk I/O.
Component | Server | Disk Speed | Disk Size | CPU | Memory | Port Speed |
---|---|---|---|---|---|---|
Management Server | osmanagement1 | 7.2K SATA | 500GB (2x 500GB SATA - RAID1) | Single 5310 | 8GB | 1Gb |
Storage Server | oskvmfs1 | 15k SCSI | 3.6TB(7x 600GB 15k SCSI - RAID5) | Single 5310 | 8GB | 10Gb |
Hypervisor | oskvm1 | SSD | 1.6TB (4x 400GB SSD - RAID0) | Dual X5650 | 48GB | 10Gb |
Hypervisor | oskvm2 | SSD | 1.6TB (4x 400GB SSD - RAID0) | Dual X5650 | 48GB | 10Gb |
Juno source:
/etc/apt/sources.list.d/Juno.list
deb http://ubuntu-cloud.archive.canonical.com/ubuntu precise-updates/Juno main
Packages:
Configuration Files:
Packages:
Configuration Files:
Packages:
Configuration Files:
Glance
Packages:
Configuration Files:
Packages:
Packages:
Packages:
Package:
Packages:
Zenoss is recommended for OpenStack monitoring, but the OpenStack monitoring script is also compatible with Nagios.
Before registering your OpenStack cloud and adding it to RightScale, you should read these configuration details about our compatibility and support. Check out our OpenStack Reference Architecture page to see details of the architecture we used and tested against.
Note: For Rackspace Private, see Rackspace Private Reference Architecture.
..
# The base endpoint URLs for keystone that are advertised to clients
# (NOTE: this does NOT affect how keystone listens for connections)
public_endpoint = <<http://198.101.133.81:5000/>># admin_endpoint = http://localhost:%(admin_port)s/
Nova Compute (Cloud Compute)
Monitoring, Alerts, Arrays, SSH
Glance Image Service
Networking
Cinder Volumes (Block Storage)
Be sure to select the desired account with which you would like to register your OpenStack cloud. A cloud can only be registered to one RightScale account. Cloud registration requires "admin role" privileges. Once a cloud has been successfully registered it cannot be registered with another RightScale account unless you delete it.
RightScale relies on "keystone service catalog" for discovery of these end points.
In order to ensure proper integration with RightScale, we require that the following OpenStack endpoint URLs be publicly accessible. This means, the publicURL for each of the following services need to have a public IP address.
Please ensure that these publicURL (IP addresses and Port numbers) are accessible to RightScale over the Internet and are properly configured in firewall settings.
Firewall Settings
See About Firewalls for detailed information on configuring your firewall settings for proper use with OpenStack.
See Upload RightImages to a Private Cloud to get our base images into your OpenStack cloud.
Neutron policy must be changed to allow port creation by non-owners. In /etc/neutron/policy.conf, change '"create_port": "rule:admin_or_network_owner",' to '"create_port": "",'
If you run into any issues during your OpenStack registration process or otherwise, please book a ticket by emailing support@rightscale.com.
Register your OpenStack cloud with RightScale to manage your cloud resources.
NOTE: These instructions are also compatible with registering your Rackspace Private Cloud.
..
# The base endpoint URLs for keystone that are advertised to clients
# (NOTE: this does NOT affect how keystone listens for connections)
public_endpoint = <<http://198.101.133.81:5000/>>
# admin_endpoint = http://localhost:%(admin_port)s/
Once you've installed and set up your OpenStack cloud, you need to register the cloud itself with RightScale so that it can be accessed through the RightScale platform.
NOTE: If you do not see this tab, your RightScale account is not enabled for adding a private cloud. If you would like to enable this feature, contact your account manager or sales@rightscale.com.
Next, provide your OpenStack admin credentials to verify you're the administrator of the private cloud.
Click Request Registration to submit your private cloud information for verification purposes. Upon successful registration, you will see the following message: "Cloud Registration succeeded. Cloud is now registered within RightScale."
Since you are the administrator who registered your private cloud with RightScale, you will see the private cloud's Cloud Token, which you can provide to other users so that they can add your private cloud to their RightScale account and use your cloud's resources. See Add an OpenStack Cloud to a RightScale Account.
Add your OpenStack Juno cloud with RightScale so that you can use the Dashboard to manage your cloud resources.
NOTE: These instructions are also compatible with adding your Rackspace Private Cloud.
Next, you will have to enter your Cloud Token.
Next, enter values for the following fields:
On the same Clouds tab or on the Cloud Credentials widget in the Overview tab, you may check the status of your cloud.
Both of these items must be valid and active (green) in order to successfully launch cloud server.
Allow RightScale several minutes to populate your account with the appropriate images before launching servers. In the RightScale Dashboard, navigate to Clouds > OpenStack > Images where RightScale queries every few minutes for the images.
To upload RightScale RightImages to your OpenStack cloud, see Upload RightImages to a Private Cloud.
To upload a RightImage to a private cloud so that you can create a custom MCI and use it with a ServerTemplate.
If you are setting up your own private cloud and want to use RightScale's ServerTemplate model for launching servers, you need to use one of RightScale's published RightImages (machine images). The first step of this process is to upload one or more RightImages to your private cloud. Once the RightImage is available in your private cloud, you can create a MultiCloud Image (MCI) that references the image in that cloud and then add the MCI to your ServerTemplate(s). This tutorial explains the initial step of uploading a RightImage to your private cloud.
Our OpenStack (with Horizon) RightImages can be found here.
For Windows based images, please contact RightScale support (support@rightscale.com)
Note: When an image is loaded on to an OpenStack cloud, you must specify the correct OS type for the image. If the OS type is not specified, it will default to linux.
If you don't have access to the Horizon dashboard, you can use the glance command line tool to upload an image as well by following these steps:
# glance image-create --public --copy-from https://rightscale-openstack.s3.amazonaws.com/kvm/centos/5.8/RightImage_CentOS_5.8_x64_v5.8.8.3.qcow2 --name="RightImage_CentOS_6.3 v5.8.8.3" --container-format=ovf --disk-format=qcow2
© 2006-2014 RightScale, Inc. All rights reserved.
RightScale is a registered trademark of RightScale, Inc. All other products and services may be trademarks or servicemarks of their respective owners.