Top Nav

Archive | Cloud

Export Zone From RackSpace Cloud DNS

Here’s a very useful Python utility that can be used to list, export and import zones from RackSpace Cloud DNS:

https://github.com/wichert/clouddns

The install procedure is something like:

If all goes well then the utility will be installed to:

You may need to install python-setuptools before the install will run. If the utility is failing to run then you can try running it directly from the distribution at:

0

RackSpace Cloud Networks Bug and Interesting Notes

There’s a bug in the automation for provisioning RackSpace Cloud Servers with Cloud Networks from the control panel. If you setup a server with more then one Cloud Network, the networks get assigned to the wrong interfaces. This is not a problem if all the servers you’re connecting to the Cloud Network are created from the control panel because they will all be consistently wrong. But if some of your server are created from the API then you’ll have a problem because the API automation assigns the networks correctly.

The fix, until RackSpace corrects the bug, is to manually correct the address assignments on the control panel generated cloud servers.

While troubleshooting this issue, RackSpace support pointed out a couple of interesting commands:

To see what your networking should be, you can run this:

And to view a specific interface run:


This will show the config that should be assigned to a particular MAC address.

We love Cloud Networks but hate bugs in automation as we wasted an hour tracking this down!
0

Install Nova Client With Cloud Networks Support

Nova is the the cloud management command line utility for RackSpace and other OpenStack clouds. Special setup is required to use Nova with RackSpace Cloud Networks.

Here’s the docs from RackSpace:

http://docs.rackspace.com/servers/api/v2/cn-gettingstarted/content/ch_overview.html
http://docs.rackspace.com/servers/api/v2/cn-devguide/content/index.html

Here are the steps:

1. Install python-pip package

For RedHat/CentOS we need to install EPEL repository if it’s not already installed:

Now we can install python-pip:

2. Install rackspace version of nova client

If “python-pip” does not work then try:

3. Reinstall nova client from latest github souce:

Note that you might need to install git to complete this step:

 4. Add credentials to .bash_profile

You’ll need to set the appropriate region, account number, username and password.

5. Verify credentials

If this fails with an error like:

then install “pbr” module:

6. Install RackSpace Cloud Networks Virtual Interface extensions

7. List Cloud Networks

 

0