<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://techwiki.co.uk/index.php?action=history&amp;feed=atom&amp;title=Setup_Openstack_Python_Clients_on_CentOS</id>
	<title>Setup Openstack Python Clients on CentOS - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://techwiki.co.uk/index.php?action=history&amp;feed=atom&amp;title=Setup_Openstack_Python_Clients_on_CentOS"/>
	<link rel="alternate" type="text/html" href="http://techwiki.co.uk/index.php?title=Setup_Openstack_Python_Clients_on_CentOS&amp;action=history"/>
	<updated>2026-05-06T22:39:54Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.34.0</generator>
	<entry>
		<id>http://techwiki.co.uk/index.php?title=Setup_Openstack_Python_Clients_on_CentOS&amp;diff=106&amp;oldid=prev</id>
		<title>Adam.birds: Created page with &quot;'''To set up and install the clients follow the below steps:'''  Create a file in '''/etc/yum.repos.d''' called '''rdo-release.repo'''  And place the following inside it:  &lt;pr...&quot;</title>
		<link rel="alternate" type="text/html" href="http://techwiki.co.uk/index.php?title=Setup_Openstack_Python_Clients_on_CentOS&amp;diff=106&amp;oldid=prev"/>
		<updated>2016-04-28T11:07:45Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;#039;&amp;#039;&amp;#039;To set up and install the clients follow the below steps:&amp;#039;&amp;#039;&amp;#039;  Create a file in &amp;#039;&amp;#039;&amp;#039;/etc/yum.repos.d&amp;#039;&amp;#039;&amp;#039; called &amp;#039;&amp;#039;&amp;#039;rdo-release.repo&amp;#039;&amp;#039;&amp;#039;  And place the following inside it:  &amp;lt;pr...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;'''To set up and install the clients follow the below steps:'''&lt;br /&gt;
&lt;br /&gt;
Create a file in '''/etc/yum.repos.d''' called '''rdo-release.repo'''&lt;br /&gt;
&lt;br /&gt;
And place the following inside it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[openstack-liberty]&lt;br /&gt;
name=OpenStack Liberty Repository&lt;br /&gt;
baseurl=http://mirror.centos.org/centos/7/cloud/$basearch/openstack-liberty/&lt;br /&gt;
gpgcheck=1&lt;br /&gt;
enabled=1&lt;br /&gt;
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-Cloud&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then create another file in '''/etc/yum.repos.d''' called '''rdo-testing.repo'''&lt;br /&gt;
&lt;br /&gt;
And place the following in it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[openstack-liberty-testing]&lt;br /&gt;
name=OpenStack Liberty Testing&lt;br /&gt;
baseurl=http://buildlogs.centos.org/centos/7/cloud/$basearch/openstack-liberty/&lt;br /&gt;
gpgcheck=0&lt;br /&gt;
enabled=0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Then to install the correct packages use the following command:'''&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
for i in nova keystone neutron heat cinder glance ; do sudo yum install python-${i}client -y ; done&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then create a file called '''my.rc''' in '''/root''' containing the following:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export OS_TENANT_NAME=&amp;quot;Project-XXX&amp;quot;&lt;br /&gt;
export OS_TENANT_ID=XXXXXXXXXXXXXXXXXXXXXXXXXXXX&lt;br /&gt;
export OS_AUTH_URL=https://api.openstack.ecloud.co.uk:5000/v2.0&lt;br /&gt;
export OS_USERNAME=&amp;quot;User.Name&amp;quot;&lt;br /&gt;
export OS_PASSWORD=&amp;quot;myreallysecurepassword&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To get your details visit https://api.openstack.ecloud.co.uk/identity/ and look for the following:&lt;br /&gt;
&lt;br /&gt;
[[File:Openstack_Details.PNG]]&lt;br /&gt;
&lt;br /&gt;
The Tenant ID is the long string of characters.&lt;br /&gt;
&lt;br /&gt;
The Tenant Name is the Project Name&lt;br /&gt;
&lt;br /&gt;
The Username and password are your login details.&lt;br /&gt;
&lt;br /&gt;
'''Once the file has been set up with the correct details you will need to perform the following command every time you launch a new shell to set the environment variables:'''&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
source /root/my.rc&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You could also place the contents of my.rc into your .bashrc file so the variables are launched on boot preventing you from having to source the file every time.&lt;br /&gt;
&lt;br /&gt;
Once this has been done you can then perform commands such as the following:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
nova list&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For the full lists of commands you can use:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
nova help&lt;br /&gt;
keystone help&lt;br /&gt;
neutron help&lt;br /&gt;
cinder help&lt;br /&gt;
heat help&lt;br /&gt;
glance help&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can also get help for a specific command using:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
nova help command&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Contents]]&lt;br /&gt;
[[Category:Linux]]&lt;br /&gt;
[[Category:Openstack]]&lt;/div&gt;</summary>
		<author><name>Adam.birds</name></author>
		
	</entry>
</feed>