This section discusses the process for installing Rackspace Private Cloud Software and using OpenCenter to deploy an OpenStack cluster. It also discusses how to configure the cluster for HA, create availability zones, and evacuate a host.
Each node in the OpenCenter environment must have Ubuntu 12.04, CentOS 6.3, or RHEL 6.3 or 6.4 installed.
Before you begin, ensure that the OS is up to date on the devices. Log into each device and run the appropriate update for the OS and the package manager.
Your OpenCenter environment must have an OpenCenter server and have the OpenCenter agent installed on every node that will be managed by the server, and you must install the GUI component to manage the environment through the GUI. You must install the server first. Agent installations in the environment will ping the server and indicate that they are available for further configuration.
Instead of the ISO that was used in previous versions, installation is now performed via a curl command that launches an installation script. The script downloads the packages from packages.opencenter.rackspace.com and uses the packages to install the OpenCenter components.
Execute the following curl command on the device that will become the OpenCenter server:
$curl -s -L http://sh.opencenter.rackspace.com/install.sh | \
sudo bash -s - --role=server
When the installation is complete, you will receive a confirmation message indicating that OpenCenter server has been installed correctly.
You will also receive a message notifying you of where you can find the default server admin user name and password, which you will use to log into the dashboard and set the endpoint environment variable in the CLI. If you need to change the username and password, you will also need to edit the agent endpoint with the new username and password.
Before you can use the CLI, you must set the OPENCENTER_ENDPOINT variable in your environment. You will need the admin username and password from the server installation. Run the following command:
$ export OPENCENTER_ENDPOINT=https://<admin>:<password>@localhost:8443
At this time you can run the opencentercli node list command to view the current node configuration.
$opencentercli node listid |name |task |adventure |attrs |facts | ---|--------------|-----|----------|------|------------------------------| 1 |workspace |None |None |{} |{u'backends': [u'container... | 2 |unprovisioned |None |None |{} |{u'parent_id': 1, u'backen... | 3 |support |None |None |{} |{u'parent_id': 1, u'backen... |4 |oc-server |None |None |{} |{u'parent_id': 1, u'backen... |
By default, the OpenCenter server is created with three nodes:
workspace: The "master" parent container for the OpenCenter environment.unprovisioned: The parent container for all nodes that have the OpenCenter agent installed, but that have not been assigned a role yet.support: The parent container for all nodes that are used to maintain the OpenCenter environment infrastructure and for external resources. The Chef server is automatically assigned to the support node as soon as it is configured.oc-server: In this example, this is the name of the OpenCenter server, which also counts as a node within the environment.You will need the IP address of the OpenCenter server to proceed with the installation of the OpenCenter agent. This can be obtained with the ifconfig command.
You can install the OpenCenter GUI on any device from which you want to manage your environment, but first you should install it on the server node. When the OpenCenter server installation is complete, execute the following curl command on the server node:
$curl -s -L http://sh.opencenter.rackspace.com/install.sh | \
sudo bash -s - --role=dashboard --ip=<OpenCenter-server-IP>
You can now use your web browser to access the OpenCenter GUI via the IP address of the device on which you installed the GUI. For example, if you installed it on a server with the IP address 192.0.2.0, you would access the GUI via browser at https://192.0.2.0:443. Log in with the username and password from the server installation.
Run the following curl command on each node that will be managed with OpenCenter:
$curl -s -L http://sh.opencenter.rackspace.com/install.sh | \ sudo bash -s - --role=agent --ip=<OpenCenter-server-IP>
When the installation is complete, you will receive a confirmation message indicating that OpenCenter agent has been installed correctly.
You will receive a message notifying you of the current agent endpoint settings, incorporating the username and password from the server installation. You will need to change these settings if you change the OpenCenter admin username and password.
Repeat this process on each node.
NOTE: The agent is installed on the server node as part of the server node installation process.
After the agent has been installed on each managed server, you can verify the environment either via GUI or the CLI. To view the GUI, simply use your web browser to access the GUI as described in "Install the OpenCenter User Interface".
To use the CLI. run the opencentercli node list command on the OpenCenter server to view the OpenCenter environment. The newly configured nodes will appear in the list. The node names are the names that were assigned when you originally installed and configured the operating system on those nodes.
$opencentercli node listid |name |task |adventure |attrs |facts | ---|--------------|-----|----------|------|-------------------| 1 |workspace |None |None |{...} |{u'backends': ... | 2 |unprovisioned |None |None |{...} |{u'parent_id': ... | 3 |support |None |None |{...} |{u'parent_id': ... | 4 |chef-server |None |None |{...} |{u'parent_id': ... | 5 |controller |None |None |{...} |{u'parent_id': ... | 6 |compute |None |None |{...} |{u'parent_id': ... |
When you first log into the GUI, you will see a collection of available nodes, as well as the OpenCenter server in the Service Nodes container. Your environment is now ready for configuration. By clicking on the cog icon next to a section or node name, you can perform the actions available to that node.
The following table describes the features and containers of the operator GUI.
| Feature/Container | Description |
| Workspace |
|
| Available Nodes |
|
| Service Nodes |
|
| NovaCluster |
|
The following table lists the actions (also known as adventures) available in each container in the OpenCenter GUI. The actions are accessed by clicking on the container's cog icon. Some actions may not be available under certain circumstances, as when an OpenCenter environment is newly created, and some are reserved for future use.
| Container | Available Actions |
| Workspace |
|
| Available Nodes |
|
| Service Nodes |
|
| NovaCluster |
|
| Infrastructure |
|
| Compute |
|
| Availability Zone |
|
The following table lists the actions available in each type of node in the OpenCenter GUI. The actions are accessed by clicking on the node's cog icon. Some actions may not be available under certain circumstances, and some are reserved for future use.
| Node | Available Actions |
| Available nodes |
|
| Chef server |
|
| opencenter |
|
| Controller node |
|
| Compute node |
|
The first node that you will create is a Chef server, which is required to manage the OpenStack nodes. Do not create more than one Chef server in your environment.
Follow these steps to use OpenCenter to create a Chef server.
The Chef server installation will take about five minutes. In the Tasks pane (hidden by default at the bottom of the UI) system will stream a log to show the status of the installation, and you can also monitor the progress by logging into the node and using the tail -f command to monitor /var/log/opencenter/trans_.N.log
When the installation is complete, the new Chef server will appear in the Service Nodes group.
You can also view the Chef server management console in your browser at https://. Most users will not need to use this feature, but in the event that you do, refer to the Opscode Chef Management Console documentation for more information about the management console.chef-server-ip-address
At any time, you can download the latest cookbooks, but this is done automatically during the installation process. If in the future you want to ensure that you have the latest cookbooks, follow this procedure.
The Chef server will download the latest cookbooks. You can monitor the progress by logging into the node and using the tail -f command to monitor /var/log/opencenter/trans_.N.log
Note: The Subscribe Cookbook Channel option is reserved for future use.
To use OpenStack in your environment, you need to create a Nova cluster and move one or more available nodes into the cluster.
The OpenCenter server will run for a few minutes. When the process is complete, the Nova cluster container will appear in the workspace. It will include an Infrastructure container, a Compute container, and an AZ Nova (availability zone) container.
OpenCenter installs Chef client on the node and then runs Chef to apply the ha-controller1 role to the node. This role ensures that Nova infrastructure services are deployed, including mysql, Horizon, and rabbitmq. This process takes about 10-15 minutes.
In the Tasks pane (hidden by default at the bottom of the UI) system will stream a log to show the status of the installation, and you can also monitor the progress by logging into the node and using the tail -f command to monitor /var/log/opencenter/trans_.N.log
OpenCenter installs Chef client on the node and then runs Chef to apply the single-compute role to the node. This process takes about 5-10 minutes.
Generally a Nova cluster will have one Controller and one or more Compute nodes. However, you may want to configure more Controllers for high availability or scalability.
To upload a set of disk images to Glance, click on the cog for the Controller node and select Upload Glance Images.
You can configure more than one Controller for high availability by adding a second Controller node to the Nova cluster. Follow these steps to configure the cluster for High Availability.
To create another availability zone, click on the cog for the Compute container and select Create Availability Zone. You will be prompted to provide a name for the new zone. It takes a few minutes for the system to create the new zone; when it is ready, you can drag available nodes to the new availability zone to create more Compute nodes within it.
OpenCenter enables you to evacuate Compute nodes, a process in which all instances hosted on a node will be moved to another node in the same availability zones and the node itself will be returned to an available state. To evacuate a host, click on the cog next to its name in the Compute/Availability Zone container and select Evacuate Host.
If the installation is unsuccessful, it may be due to one of the following issues.
For more troubleshooting information and user discussion, you can also inquire at the Rackspace Private Cloud Support Forum at the following URL:
© 2011-2013 Rackspace US, Inc.
Except where otherwise noted, content on this site is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported License

23 Comments
Proxy server configuration?
I do not fully understand the
No Proxy support in Dashboard of opencenter
openserver not getting displayed in the Service Nodes container
This was identified as a bug
Problem was partially solved.
Chef-server not getting installed
I have the same problem with
I think this is the reason, the script check for minimum CPU & RAM. I wish to try the platform in virtual box first
after that i create nova
There is a known issue with
http://www.rackspace.com/knowledge_center/article/using-the-opencenter-cli
unfortunately i deleted the
If you re-run the server
cog Nova cluster
I could find the controller chef and open center server in the respective container however i could not find the nova cluster cog in workspace section.
Please help....
cog nova cluster
If you are trying to create the nova cluster, ensure that you have created the Chef server and have available nodes. Then, click on the cog icon next to the "Workspace" header (upper left corner, under the Rackspace Private Cloud logo) and select "Create Nova Cluster". (If the only option you have is "No actions available", ensure that your Chef server is available in the Service Nodes container.)
Note that you can also post your questions at the Rackspace Private Cloud Forum: https://privatecloudforums.rackspace.com/
when uploading initial glance
it is showing
No handlers could be found for logger "keystoneclient.v2_0.client"
Authorization Failed: Unable to communicate with identity service: [Errno 111] Connection refused. (HTTP 400)
Re: when uploading initial glance
https://privatecloudforums.rackspace.com/viewtopic.php?f=4&t=413
If this doesn't help, you can also post your question either to this existing thread, or in a new post to the forums.
E: Unable to locate package opencenter-server
curl -s -L http://sh.opencenter.rackspace.com/install.sh | sudo bash -s - --role=server
here is the output:
$ curl -s -vL http://sh.opencenter.rackspace.com/install.sh | sudo bash -s - --role=server
* About to connect() to sh.opencenter.rackspace.com port 80 (#0)
* Trying 204.191.12.26... connected
> GET /install.sh HTTP/1.1
> User-Agent: curl/7.22.0 (x86_64-pc-linux-gnu) libcurl/7.22.0 OpenSSL/1.0.1 zlib/1.2.3.4 libidn/1.23 librtmp/2.3
> Host: sh.opencenter.rackspace.com
> Accept: */*
>
< HTTP/1.1 200 OK
< Last-Modified: Wed, 27 Mar 2013 19:33:54 GMT
< ETag: 2b297e119c608fa63258dd10cb01ba2e
< Content-Length: 19096
< Accept-Ranges: bytes
< X-Object-Meta-Author: Jenkins
< X-Timestamp: 1364412834.49867
< Content-Type: application/x-compressed
< X-Trans-Id: tx0da712027ef54c7c902415e9fa90ea1b
< Cache-Control: public, max-age=362
< Expires: Wed, 24 Apr 2013 22:56:11 GMT
< Date: Wed, 24 Apr 2013 22:50:09 GMT
< Connection: keep-alive
<
{ [data not shown]
* Connection #0 to host sh.opencenter.rackspace.com left intact
* Closing connection #0
Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package opencenter-server
Adding Opencenter apt repository
deb http://packages.opencenter.rackspace.com/stable/deb/rcb-utils/ precise rcb-utils
Thanks, Sam
That error can sometimes
Create Chef Server failed
I tried to create Chef Server on one of the available node, but it failed.
/etc/log/opencenter/ log file showed
+ OS_TYPE=
+ CHEF_SERVER_VERSION=11.0.4-1
+ [[ '' = \d\e\b\i\a\n ]]
+ [[ '' = \u\b\u\n\t\u ]]
+ [[ '' = \r\e\d\h\a\t ]]
+ [[ '' = \c\e\n\t\o\s ]]
+ [[ '' = \f\e\d\o\r\a ]]
+ echo 'Your distribution is not supported'
Your distribution is not supported
I am running CentOS 6.3 X64 on CISCO UCS blades.
Anything I need to try to get Chef Server installed?
Thanks.
Weining
RE: Create Chef Server failed
DISTRIB_ID=redhat
Can't move available node to Infrastructure or AZ Nova
I was able to get Chef Server installed.
However, when I tried to use both cli and drag/drop to add a node to Infrastructure or AZ nova, the node will stay in the container for a few sec. and goes back the Available Nodes.
Tried to set env for CHEF_SERVER_PEM=x.y.x.z, but still see the same problem. Please help.
Thanks for your time.
Weining
++ tr '[:upper:]' '[:lower:]'
+ OS_TYPE=redhat
+ REQUIRED='CHEF_SERVER_URL CHEF_SERVER_PEM CHEF_SERVER_HOSTNAME'
+ for r in '$REQUIRED'
+ [[ -z https://10.xxx.xxx.xxx:443 ]]
+ for r in '$REQUIRED'
+ [[ -z '' ]]
+ echo Environment variable CHEF_SERVER_PEM required but not set
Environment variable CHEF_SERVER_PEM required but not set
+ exit 22
Can't move available node to Infrastructure or AZ Nova
https://privatecloudforums.rackspace.com/viewtopic.php?f=4&t=458&hilit=CHEF_SERVER_PEM
https://privatecloudforums.rackspace.com/viewtopic.php?f=4&t=362&hilit=CHEF_SERVER_PEM
Unable to add node to OpenCenter
[root@oz-rs-78 ~]# curl -s -L http://sh.opencenter.rackspace.com/install.sh | sudo bash -s - --role=agent --ip=172.23.120.77
...
You have installed Opencenter. WooHoo!!
Agent username and password configurations are stored in
/etc/opencenter/agent.conf.d/opencenter-agent-endpoints.conf
root = https://<username>:<password>@<opencenter-server-ip>:8443
admin = https://<username>:<password>@<opencenter-server-ip>:8443/admin
If you change this you must also update the agent endpoint
configurations.
[root@oz-rs-78 ~]# opencentercli node list
id |name |task |adventure |attrs |facts |
---|-------------------|-----|----------|------------------------------|------------------------------|
1 |workspace |None |None |{u'display_name': u'Worksp... |{u'backends': [u'container... |
2 |unprovisioned |None |None |{u'display_name': u'Availa... |{u'parent_id': 1, u'backen... |
3 |support |None |None |{u'display_name': u'Servic... |{u'parent_id': 1, u'backen... |
4 |oz-rs-77.cisco.com |None |None |{u'opencenter_agent_action... |{u'parent_id': 3, u'backen... |
Add new comment