Ask Your Question
0

Steps to configure Openstack using Packstack consisting of 1 controller node and 2 compute node such that VM migration is possible between the 2 compute nodes ?

asked 2015-03-15 08:31:13 -0500

anonymous user

Anonymous

updated 2015-03-15 08:32:41 -0500

I my using centos 7.

I want to configure openstack consisting of 1 Controller and 2 Compute nodes. Also i want to migrate VM's between the compute node.

Please suggest detailed steps to install and configure the desired architecture.

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted
1

answered 2015-03-16 02:07:40 -0500

dbaxps gravatar image

updated 2015-03-16 02:24:33 -0500

  1. Follow set up via packstack ( updating answer-file for 2 compute nodes )
    http://bderzhavets.blogspot.com/2014/...
    ignoring cinder back end set up options details.
  2. Install openstack-nova-objectstore on Controller . Download from https://copr.fedoraproject.org/coprs/...
    file http://pbrady.fedorapeople.org/copr/o...
    Install http://pbrady.fedorapeople.org/copr/o... and perform rpmbuild.
    $ cd ../RPMS/noarch

    Then
    sudo yum install openstack-nova-objectstore-2014.2.1-1.el7.centos.noarch.rpm
    Loaded plugins: fastestmirror, langpacks, priorities
    Examining openstack-nova-objectstore-2014.2.1-1.el7.centos.noarch.rpm: openstack-nova-objectstore-2014.2.1-1.el7.centos.noarch
    Marking openstack-nova-objectstore-2014.2.1-1.el7.centos.noarch.rpm to be installed
    Resolving Dependencies
    --> Running transaction check
    ---> Package openstack-nova-objectstore.noarch 0:2014.2.1-1.el7.centos will be installed
    --> Finished Dependency Resolution
    
    Dependencies Resolved
    
    ============================================================================================
     Package
         Arch   Version               Repository                                                Size
    ============================================================================================
    Installing:
     openstack-nova-objectstore
         noarch 2014.2.1-1.el7.centos /openstack-nova-objectstore-2014.2.1-1.el7.centos.noarch 370  
    
    Transaction Summary
    ============================================================================================
    Install  1 Package
    
    Total size: 370  
    Installed size: 370  
    Is this ok [y/d/N]: y
    Downloading packages:
    Running transaction check
    Running transaction test
    Transaction test succeeded
    Running transaction
      Installing : openstack-nova-objectstore-2014.2.1-1.el7.centos.noarch                       1/1 
      Verifying  : openstack-nova-objectstore-2014.2.1-1.el7.centos.noarch                       1/1 
    
    Installed:
      openstack-nova-objectstore.noarch 0:2014.2.1-1.el7.centos
    

    At this point :-

    [root@juno1dev ~(keystone_admin)]# systemctl enable openstack-nova-objectstore
    ln -s '/usr/lib/systemd/system/openstack-nova-objectstore.service' '/etc/systemd/system/multi-user.target.wants/openstack-nova-objectstore.service'
    [root@juno1dev ~(keystone_admin)]# systemctl start openstack-nova-objectstore
    [root@juno1dev ~(keystone_admin)]# systemctl status  openstack-nova-objectstore
    openstack-nova-objectstore.service - OpenStack Nova Objectstore Server
       Loaded: loaded (/usr/lib/systemd/system/openstack-nova-objectstore.service; enabled)
       Active: active (running) since Mon 2015-03-16 09:53:39 MSK; 11s ago
     Main PID: 5139 (nova-objectstor)
       CGroup: /system.slice/openstack-nova-objectstore.service
               └─5139 /usr/bin/python /usr/bin/nova-objectstore
    
    Mar 16 09:53:39 juno1dev.localdomain systemd[1]: Started OpenStack Nova Objectstore Server.
    

Then follow :-
1. http://docs.openstack.org/admin-guide...
2. http://docs.openstack.org/admin-guide...

edit flag offensive delete link more

Comments

Openstack-nova-objectstore links mentioned by doesn't get installed on my system. It says its incompatible. I am using CentOs 7. What should i do ?

HK gravatar imageHK ( 2015-03-17 11:10:52 -0500 )edit
1

Download openstack-nova-2014.2.1-1.el7.src.rpm
Then as root:-

    # rpm -iv openstack-nova-2014.2.1-1.el7.src.rpm
    # cd; cd rpmbuild/SPEC;
    #  yum install python-sphinx python-oslo-sphinx python-d2to1 graphviz
    # rpmbuild -bb  openstack-nova.spec
dbaxps gravatar imagedbaxps ( 2015-03-17 11:50:10 -0500 )edit
1

I've just updated CentOS 7 and repeat build . Don't use "yum" installing src.rpm.

dbaxps gravatar imagedbaxps ( 2015-03-17 12:12:38 -0500 )edit

Why do we need Openstack-nova-objectstore ? Also now do i install Openstack-nova-objectstore as mentioned earlier or just the openstack-nova-2014.2.1-1.el7.src.rpm ? And what effect will these make to openstack ?

HK gravatar imageHK ( 2015-03-19 11:31:49 -0500 )edit
1

Per http://docs.openstack.org/admin-guide... openstack-nova-objectstore is required on Controller.

# rpm -iv  openstack-nova-2014.2.1-1.el7.src.rpm
# cd ; cd rpmbuild/SPEC
# rpmbuild -bb openstack-nova.spec
dbaxps gravatar imagedbaxps ( 2015-03-19 11:53:52 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2015-03-15 08:31:13 -0500

Seen: 1,190 times

Last updated: Mar 16 '15