User Tools

Site Tools


khaleesi_guide

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
khaleesi_guide [2015/04/07 21:58]
Daniel Farrell [Checking Tempest Results] Marked a code block as XML for syntax highlighting
khaleesi_guide [2015/04/07 22:23] (current)
Daniel Farrell [Running Khaleesi] Proper code formatting for Khaleesi run cmd
Line 16: Line 16:
 <​code>​ <​code>​
 sudo rpm -i http://​dl.fedoraproject.org/​pub/​epel/​7/​x86_64/​e/​epel-release-7-5.noarch.rpm sudo rpm -i http://​dl.fedoraproject.org/​pub/​epel/​7/​x86_64/​e/​epel-release-7-5.noarch.rpm
-sudo yum -y install python-pip python-virtualenv gcc git +sudo yum -y install python-pip python-virtualenv gcc git \ 
-sudo yum -y install ​python-keystoneclient python-novaclient python-glanceclient python-neutronclient python-keystoneclient +                    python-keystoneclient python-novaclient ​
-sudo yum -y install ​sshpass+                    ​python-glanceclient python-neutronclient ​
 +                    ​python-keystoneclient sshpass
 </​code>​ </​code>​
  
Line 28: Line 29:
  
 <​code>​ <​code>​
-virtualenv ​venv +virtualenv ​khaleesi_venv 
-source ​venv/​bin/​activate+source ​khaleesi_venv/​bin/​activate
 pip install ansible pip install ansible
-cd khaleesi +cd khaleesi/tools/ksgen
-cd tools/ksgen+
 python setup.py develop python setup.py develop
 cd ../.. cd ../..
 </​code>​ </​code>​
  
-From the above you can see that "source ​venv/​bin/​activate" ​will activate your virtual environment. ​ Simply use deactivate to exit.  Now we need to create a default Ansible config:+From the above you can see that ''​source ​khaleesi_venv/​bin/​activate'' ​will activate your virtual environment. ​ Simply use deactivate to exit.  Now we need to create a default Ansible config:
  
 <​code>​ <​code>​
Line 130: Line 130:
 Now that you have Khaleesi installed and a configuration file, you are ready to rebuild your nodes. ​ To run simply execute the following inside of your Khaleesi directory: Now that you have Khaleesi installed and a configuration file, you are ready to rebuild your nodes. ​ To run simply execute the following inside of your Khaleesi directory:
  
 +<​code>​
 ./run.sh --use ../​ksgen_settings.yml playbooks/​quickstack.yml --no-logs -vv ./run.sh --use ../​ksgen_settings.yml playbooks/​quickstack.yml --no-logs -vv
 +</​code>​
  
 The sequence of execution is as follows: The sequence of execution is as follows:
khaleesi_guide.1428443900.txt.gz · Last modified: 2015/04/07 21:58 by Daniel Farrell