Question:
How do you install Openstack on Windows?
Luis G.
2013-04-20 21:32:28 UTC
I have been trying to follow the book "Openstack Cloud Computing Cookbook 2012" but I cannot get past chapter 1. Every time that I try to SSH into the IP address of the first instance that is ran, I keep getting a timed out error. Is there any guide to installing Openstack on a Windows PC for beginners?
Four answers:
?
2013-04-22 21:55:21 UTC
Set up an Ubuntu Server 12.04 instance on a spare machine or a virtual machine, then install the OpenStack stack on it.
anonymous
2014-05-26 05:20:36 UTC
Windows 7 is not a supported OS for installing openstack.

use virt-manager to create a VM with RHEL6 profile (i.e. with VirtIO disk and network) and the Windows7 iso



do not begin the installation straight away, customise it and attach the iso with the virtio drivers



begin the installation and when prompted for disk drive drivers browse to the secondary cdrom (the virtio iso) and choose the appropriate drivers



after the installation is done install the network drivers as well (optionally you can install this which takes care of pretty much everything http://www.spice-space.org/download/binaries/spice-guest-tools/spice-guest-tools-0.59.exe)sysprep
bakiya
2016-01-02 03:43:28 UTC
Step 1 : Install git on Ubuntu using the following command

1



sudo apt-get install git



Step 2 : Install DevStack by following 3 simple steps given here. You’ll be asked to enter some passwords for different components. It will take some time to complete stack.sh execution and you’ll see following printed on your console.

1

2

3

4

5

6

7



Horizon is now available at http://x.x.x.x/

Keystone is serving at http://x.x.x.x:5000/v2.0/

Examples on using novaclient command line is in exercise.sh

The default users are: admin and demo

The password: xxxx

This is your host ip: x.x.x.x

stack.sh completed in 168 seconds



Step 3 : Access the dashboard by using the Horizen (name of OpenStack dashboard) URL printed above. Log in as ‘admin’ using the printed password.



Step 4 : Before creating any instances on our cloud, we have to set up some security options. Go the the ‘Project’ tab on the left and click on the ‘Access & Security’ link as shown below.



You can either edit the existing “default” security group or add a new security group. Then click on “Edit Rules” on the relevant gropu and first add a rule to enable incoming SSH connections on port 22.



Then add another rule to enable incoming ping requests on ICMP protocol. Set -1 for ICMP type and code.



So the 2 rules added should look like this.



Then we have to generate a key pair which will be used to authenticate users into the VMs. Click on the “Keypairs” tab on “Access & Security” page and click on “Create Keypair”.



Then provide a name for the keypair and click on “Create Keypair”.



Download and save the key file. It will be used to log into the VMs from outside.



Step 5 : create an instance using the security group and the key pair we created. Click on “Instances” link under “Project” tab and click on “Launch Instance”.



shot5



In the UI popped up, you can configure the instance by providing a name, size etc. “Details” tab.



shot6



Next “Access & Security” tab we can select the key pair and the security group created .



After configuring the instance, click on “Launch”. Then wait till the instance comes into “Running” state.



Once the instance is up and running, you can check the log and the console.



Once you get the console, log into the instance by providing the default username and password printed on the console.



When you check the log, you’ll see something like this.



Now successfully created an instance on our DevStack cloud.



Step 6 : Finally if you want to SSH your instance from outside using the key file downloaded, use the following commands.

1

2

3



$ chmod 0600 MyKey.pem

$ ssh-add MyKey.pem

$ ssh -i MyKey.pem cirrois@10.0.0.2 ... Learn more visit => http://www.thinkittraining.in/open-stack
Nathan F
2016-03-07 06:23:11 UTC
Here is a great tutorial on how to deploy OpenStack at home using DevStack. It is a simple walk-through with pictures. You can get an OpenStack sandbox running at home in a few minutes on Unbuntu.



http://thevirtuallabcoat.com/how-to-deploy-openstack-at-home-using-devstack/



This is the easiest way to start and play with OpenStack.


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...