Welcome!

Virtualization and Cloud

Jonathan Gershater

Subscribe to Jonathan Gershater: eMailAlertsEmail Alerts
Get Jonathan Gershater via: homepageHomepage mobileMobile rssRSS facebookFacebook twitterTwitter linkedinLinkedIn


Related Topics: Cloud Computing, Open Source and Cloud Computing, Cloud Development Tools, OpenStack Journal

Blog Post

Installing RDO Grizzly on Centos Using Packstack

A simplified method to install OpenStack in 15 minutes or less

[root@openstack]# yum install -y http://rdo.fedorapeople.org/openstack/openstack-grizzly/rdo-release-grizzly-2.noarch.rpm
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: centos.mirror.ndchost.com
 * epel: mirrors.kernel.org
 * extras: centos.mirror.facebook.net
 * updates: mirror.pac-12.org
Setting up Install Process
rdo-release-grizzly-2.noarch.rpm                                               | 7.3 kB     00:00     
Examining /var/tmp/yum-root-Yx9dVV/rdo-release-grizzly-2.noarch.rpm: rdo-release-grizzly-2.noarch
Marking /var/tmp/yum-root-Yx9dVV/rdo-release-grizzly-2.noarch.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package rdo-release.noarch 0:grizzly-2 will be installed
--> Processing Dependency: yum-plugin-priorities for package: rdo-release-grizzly-2.noarch
--> Running transaction check
---> Package yum-plugin-priorities.noarch 0:1.1.30-14.el6 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
======================================================================================================
 Package                    Arch        Version              Repository                          Size
======================================================================================================
Installing:
 rdo-release                noarch      grizzly-2            /rdo-release-grizzly-2.noarch      3.3 k
Installing for dependencies:
 yum-plugin-priorities      noarch      1.1.30-14.el6        base                                22 k
Transaction Summary
======================================================================================================
Install       2 Package(s)
Total size: 26 k
Total download size: 22 k
Installed size: 31 k
Downloading Packages:
yum-plugin-priorities-1.1.30-14.el6.noarch.rpm                                 |  22 kB     00:00     
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : yum-plugin-priorities-1.1.30-14.el6.noarch                                         1/2 
  Installing : rdo-release-grizzly-2.noarch                                                       2/2 
  Verifying  : rdo-release-grizzly-2.noarch                                                       1/2 
  Verifying  : yum-plugin-priorities-1.1.30-14.el6.noarch                                         2/2 
Installed:
  rdo-release.noarch 0:grizzly-2                                                                      
Dependency Installed:
  yum-plugin-priorities.noarch 0:1.1.30-14.el6                                                        
Complete!
[root@openstack]# yum install openstack-packstack
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
 * base: centos.mirror.ndchost.com
 * epel: mirrors.kernel.org
 * extras: centos.mirror.facebook.net
 * updates: mirror.pac-12.org
openstack-grizzly                                                              | 2.9 kB     00:00     
openstack-grizzly/primary_db                                                   | 629 kB     00:01     
115 packages excluded due to repository priority protections
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package openstack-packstack.noarch 0:2013.1.1-0.14.dev622.el6 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
======================================================================================================
 Package                   Arch         Version                         Repository               Size
======================================================================================================
Installing:
 openstack-packstack       noarch       2013.1.1-0.14.dev622.el6        openstack-grizzly       534 k
Transaction Summary
======================================================================================================
Install       1 Package(s)
Total download size: 534 k
Installed size: 1.6 M
Is this ok [y/N]: y
Downloading Packages:
openstack-packstack-2013.1.1-0.14.dev622.el6.noarch.rpm                        | 534 kB     00:01     
warning: rpmts_HdrFromFdno: Header V4 RSA/SHA1 Signature, key ID d97b3247: NOKEY
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-RDO-Grizzly
Importing GPG key 0xD97B3247:
 Userid : rdo-grizzly-sign <rdo-info@redhat.com>
 Package: rdo-release-grizzly-2.noarch (@/rdo-release-grizzly-2.noarch)
 From   : /etc/pki/rpm-gpg/RPM-GPG-KEY-RDO-Grizzly
Is this ok [y/N]: y
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : openstack-packstack-2013.1.1-0.14.dev622.el6.noarch                                1/1 
  Verifying  : openstack-packstack-2013.1.1-0.14.dev622.el6.noarch                                1/1 
Installed:
  openstack-packstack.noarch 0:2013.1.1-0.14.dev622.el6                                               
Complete! 

[root@openstack]# sudo packstack --answer-file=/root/grizzly_openstack.cfg
Welcome to Installer setup utility
Packstack changed given value  to required value /root/.ssh/id_rsa.pub
Installing:
Clean Up...                                            [ DONE ]
Setting up ssh keys...root@10.202.183.19's password: 
                                 [ DONE ]
Adding pre install manifest entries...                 [ DONE ]
Adding MySQL manifest entries...                       [ DONE ]
Adding QPID manifest entries...                        [ DONE ]
Adding Keystone manifest entries...                    [ DONE ]
Adding Glance Keystone manifest entries...             [ DONE ]
Adding Glance manifest entries...                      [ DONE ]
Adding Cinder Keystone manifest entries...             [ DONE ]
Installing dependencies for Cinder...                  [ DONE ]
Checking if the Cinder server has a cinder-volumes vg...[ DONE ]
Adding Cinder manifest entries...                      [ DONE ]
Adding Nova API manifest entries...                    [ DONE ]
Adding Nova Keystone manifest entries...               [ DONE ]
Adding Nova Cert manifest entries...                   [ DONE ]
Adding Nova Conductor manifest entries...              [ DONE ]
Adding Nova Compute manifest entries...                [ DONE ]
Adding Nova Scheduler manifest entries...              [ DONE ]
Adding Nova VNC Proxy manifest entries...              [ DONE ]
Adding Nova Common manifest entries...                 [ DONE ]
Adding Openstack Network-related Nova manifest entries...[ DONE ]
Adding Quantum API manifest entries...                 [ DONE ]
Adding Quantum Keystone manifest entries...            [ DONE ]
Adding Quantum L3 manifest entries...                  [ DONE ]
Adding Quantum L2 Agent manifest entries...            [ DONE ]
Adding Quantum DHCP Agent manifest entries...          [ DONE ]
Adding Quantum Metadata Agent manifest entries...      [ DONE ]
Adding OpenStack Client manifest entries...            [ DONE ]
Adding Horizon manifest entries...                     [ DONE ]
Adding Swift Keystone manifest entries...              [ DONE ]
Adding Swift builder manifest entries...               [ DONE ]
Adding Swift proxy manifest entries...                 [ DONE ]
Adding Swift storage manifest entries...               [ DONE ]
Adding Swift common manifest entries...                [ DONE ]
Preparing servers...
Adding post install manifest entries...                [ DONE ]
Installing Dependencies...                             [ DONE ]
Copying Puppet modules and manifests...                [ DONE ]
Applying Puppet manifests...
Applying 10.202.183.19_prescript.pp
Testing if puppet apply is finished : 10.202.183.19_prescript.pp [ | ]
Applying 10.202.183.19_mysql.pp
Applying 10.202.183.19_qpid.pp
Testing if puppet apply is finished : 10.202.183.19_mysql.pp [ / ]
10.202.183.19_qpid.pp :                                              [ DONE ]
Applying 10.202.183.19_keystone.pp
Applying 10.202.183.19_glance.pp
Applying 10.202.183.19_cinder.pp
Testing if puppet apply is finished : 10.202.183.19_keystone.pp [ \ ]
10.202.183.19_glance.pp :                                            [ DONE ]
10.202.183.19_cinder.pp :                                            [ DONE ]
Applying 10.202.183.19_api_nova.pp
10.202.183.19_api_nova.pp :                                          [ DONE ]
Applying 10.202.183.19_nova.pp
Testing if puppet apply is finished : 10.202.183.19_nova.pp [ / ]
Applying 10.202.183.19_quantum.pp
10.202.183.19_quantum.pp :                                           [ DONE ]
Applying 10.202.183.19_osclient.pp
Applying 10.202.183.19_horizon.pp
10.202.183.19_osclient.pp :                                          [ DONE ]
10.202.183.19_horizon.pp :                                           [ DONE ]
Applying 10.202.183.19_ring_swift.pp
Testing if puppet apply is finished : 10.202.183.19_ring_swift.pp [ - ]
Applying 10.202.183.19_swift.pp
10.202.183.19_swift.pp :                                             [ DONE ]
Applying 10.202.183.19_postscript.pp
10.202.183.19_postscript.pp :                                        [ DONE ]
                           [ DONE ]
 **** Installation completed successfully ******

Additional information:
 * To use the command line tools you need to source the file /root/keystonerc_admin created on 10.202.183.19
 * To use the console, browse to http://10.202.183.19/dashboard
 * Kernel package with netns support has been installed on host 10.202.183.19. Please note that with this action you are loosing Red Hat support for this host. Because of the kernel update host mentioned above requires reboot.
 * The installation log file is available at: /var/tmp/packstack/20130616-203046-MK80id/openstack-setup.log

When I browse to the admin console, and login using "admin, openstack", I see all services installed (one one host 10.202.183.19)

More Stories By Jonathan Gershater

Jonathan Gershater has lived and worked in Silicon Valley since 1996, primarily doing system and sales engineering specializing in: Web Applications, Identity and Security. At Red Hat, he provides Technical Marketing for Virtualization and Cloud. Prior to joining Red Hat, Jonathan worked at 3Com, Entrust (by acquisition) two startups, Sun Microsystems and Trend Micro.

(The views expressed in this blog are entirely mine and do not represent my employer - Jonathan).