OpenStack Install in 10 Minutes

1,676 views
Skip to first unread message

kordless

unread,
Nov 2, 2012, 4:46:58 PM11/2/12
to stac...@googlegroups.com
Let's take the discussion for the 10 minute install guide into a real forum!

Matthew Simon

unread,
Dec 21, 2012, 4:54:33 AM12/21/12
to stac...@googlegroups.com
Hello Kord 

When i try to log into the Dashboard it says unahthorised access

Please assist 

Istiqlal Reza

unread,
Jan 2, 2013, 2:49:24 AM1/2/13
to stac...@googlegroups.com
Hi, Kord.

first of all, thanks for the tutorial you provide. im working my research on it.
but, seems im having a bit trouble.
i can't launch images. when i type "glance index", the output is this :
failed to show index. got error :
you are not authenticated.
Details : 401 Unauthorized.

what's wrong?

thanks


Chandra Mohan

unread,
Jan 11, 2013, 2:35:59 AM1/11/13
to stac...@googlegroups.com

Hi Kordless,

I have successfully install the openstack in local machine and i am able to connect the openstack with
url in browser and i am able to create the vms also successfully.

In openstack dashborad we have nova access_and_security section here we can release the floating IP address form the pool (i.e nova pool) and we can allocate this floating IP address for the projects or vms.

But default the openstack offers only 10 floating IPs address at nova access and security section.

My question is How to increases the pool of floating IPs address more 100 to 250 ip address at the nova acces and security section? Is where any way to increases more floating IPs address.

Can you please give the solution for this How to increases more floating IPs address.

Regards,

Mohan 
 

kordless

unread,
Jan 18, 2013, 5:58:19 PM1/18/13
to stac...@googlegroups.com
Addressing this in another post.

K

kordless

unread,
Jan 18, 2013, 6:01:38 PM1/18/13
to stac...@googlegroups.com
Use the following when prompted for the fixed range:
Enter the fixed network (eg. 10.0.2.32/27): 10.0.2.0/24
Enter the fixed starting IP (eg. 10.0.2.33): 10.0.2.1

Use the following when prompted for the floating range:
Enter the floating network (eg. 10.0.1.224/27): 10.0.1.0/24
Enter the floating netowrk size (eg. 32): 255

That will give you 255 fixed addresses and 255 floating ones.

K

Hidden

unread,
Jan 28, 2013, 2:32:41 PM1/28/13
to stac...@googlegroups.com


Op vrijdag 2 november 2012 21:46:58 UTC+1 schreef kordless het volgende:
Let's take the discussion for the 10 minute install guide into a real forum!

It looks like the scripts are not working any more.
It looks like some "old"  packages are used in your script also the config files are not changed as intended.
 
openstack_keystone.sh
admin token not set
10x keystone user-role-add: error: ambiguous option: --user could match --user-id, --user_id

openstack_glance.sh
/etc/glance configs are not changed

i'm already trying for 2 day's to use this scripts

Kord Campbell

unread,
Jan 28, 2013, 6:19:03 PM1/28/13
to stac...@googlegroups.com

The upstream components have broken my scripts.  I should have a new version ready by Wednesday at the latest.  Wrestling with glance ATM.

K

--
Follow us on Twitter: @stackgeek
---
You received this message because you are subscribed to the Google Groups "stackgeek" group.
To post to this group, send email to stac...@googlegroups.com.
To unsubscribe from this group, send email to stackgeek+...@googlegroups.com.
Visit this group at http://groups.google.com/group/stackgeek?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Hidden

unread,
Jan 29, 2013, 1:01:59 AM1/29/13
to stac...@googlegroups.com
Awsome! I have my server ready by then :)

Kord Campbell

unread,
Jan 29, 2013, 3:26:44 PM1/29/13
to stac...@googlegroups.com
Just a followup, I tested the scripts today on fresh install of 12.04.1 LTS, and they appear to be working correctly.  FWIW, I had a few other people emailing with weird errors and had decided it was some upstream issue.  As it turns out, that was an incorrect assumption on my part.

If you can, try reinstalling the base OS and re-running your scripts.  Double check you have an extra drive and extra ethernet port!

Post back with more details, especially tails of the keystone.log!

K

On Jan 28, 2013 11:32 AM, "Hidden" <jeffr...@gmail.com> wrote:
--

Hidden

unread,
Jan 29, 2013, 4:28:29 PM1/29/13
to stac...@googlegroups.com
Ah i used the 12.10 version...
it does not set the token in keystone.conf
[DEFAULT]
# A "shared secret" between keystone and other openstack services
# admin_token = ADMIN

and the log shows:
(keystone.service): 2013-01-29 22:09:00,119 WARNING Token not found: r4th3rb3t0k3n
(keystone.service): 2013-01-29 22:09:00,396 WARNING Token not found: r4th3rb3t0k3n
(keystone.service): 2013-01-29 22:09:00,673 WARNING Token not found: r4th3rb3t0k3n
(keystone.service): 2013-01-29 22:09:00,950 WARNING Token not found: r4th3rb3t0k3n
(keystone.service): 2013-01-29 22:09:01,246 WARNING Token not found: r4th3rb3t0k3n
(keystone.service): 2013-01-29 22:09:01,523 WARNING Token not found: r4th3rb3t0k3n
(keystone.service): 2013-01-29 22:09:01,819 WARNING Token not found: r4th3rb3t0k3n
(keystone.service): 2013-01-29 22:09:02,096 WARNING Token not found: r4th3rb3t0k3n
(keystone.service): 2013-01-29 22:09:02,373 WARNING Token not found: r4th3rb3t0k3n
(keystone.service): 2013-01-29 22:09:02,666 WARNING Token not found: r4th3rb3t0k3n
(keystone.service): 2013-01-29 22:09:03,974 WARNING Token not found: r4th3rb3t0k3n

I created the nova-volumes on /dev/sda6

i will give it a try on 12.04 later.

Kord Campbell

unread,
Jan 29, 2013, 4:47:57 PM1/29/13
to stac...@googlegroups.com
There you go!  I'll have to make sure the new stuff works with 12.10 as well.  O_o

K


--
Follow us on Twitter: @stackgeek
---
You received this message because you are subscribed to the Google Groups "stackgeek" group.
To unsubscribe from this group and stop receiving emails from it, send an email to stackgeek+...@googlegroups.com.
To post to this group, send email to stac...@googlegroups.com.

Hidden

unread,
Jan 30, 2013, 1:14:37 PM1/30/13
to stac...@googlegroups.com

Your right it works great on 12.04 LTS.

Thx for your support!

kousalya govardhanan

unread,
Feb 19, 2013, 11:51:18 AM2/19/13
to stac...@googlegroups.com
Could you please tell the password for the ubuntu12.04 LTS image which is included in the ./openstack_glance.sh file

we are not able to use the instance using IP address 

Please tell me the DEFAULT username and password for ubuntu12.04 image

Kord Campbell

unread,
Feb 19, 2013, 12:23:55 PM2/19/13
to kousalya govardhanan, stac...@googlegroups.com

Make a key and start an instance with it.  Watch the video.  The username is 'Ubuntu'. 

K

--

gk

unread,
Feb 20, 2013, 1:18:15 AM2/20/13
to stac...@googlegroups.com, kousalya govardhanan

how to access the created instance using ssh in another machine

we tried with ssh Ubuntu@<ipaddress>

we are able to ping the instance id , but we are not able to use ssh 

Could you please tell me the solution for this problem

Daniel Núñez

unread,
Mar 16, 2013, 6:18:27 PM3/16/13
to stac...@googlegroups.com
Hi.

This tutorial is really nice and usefull, but it is Essex. Can you suggest us a good tutorial for install Folsom with Quantum?

Thanks

Varsha Samtani

unread,
Mar 18, 2013, 2:58:04 AM3/18/13
to stac...@googlegroups.com

Hi,

I m getting the following errors:
1. nbd15 error receive control failed (result - 32) - I am getting this error while spawning the instance.
2. While attaching the volume it just shows the status "attaching" but doesn't get attached.

Please help me I am a college student working on my project.


Marcos

unread,
Mar 21, 2013, 11:17:30 AM3/21/13
to stac...@googlegroups.com
Have you tried the command line? Weird things have happened to me while using horizon.

By the way, I could not find a tutorial to install Folsom (quantum approach) on a single hardware. 

Marcos

manu....@orange.fr

unread,
Mar 22, 2013, 4:53:38 AM3/22/13
to stac...@googlegroups.com
I successfully installed the environment inside a Virtual Box +ubuntu1204 but I am not able to create an instance , following message appear in vova-compute.log
 libvirtError: internal error no supported architecture for os type 'hvm' , I modified the nova.conf file by swapping kvm by qemu without any success.
All other nova service run well.

Do you have an idea ? 

Marcos Cavenaghi

unread,
Mar 27, 2013, 9:31:10 AM3/27/13
to stac...@googlegroups.com
Have you tried LXC instead of qemu?

Take a look here, in the part where LXC is installed: http://kaivanov.blogspot.ca/2013/02/installing-openstack-folsom-on-ubuntu.html

Mohamet DIA

unread,
Apr 24, 2013, 9:47:48 AM4/24/13
to stac...@googlegroups.com
Hi Kordless

I am trying to use your tutorail to install openstack and use it with XCP (Xen cloud Platform). Openstack is installed correctly but, I can't create a VM.

Do you know why ??


Le vendredi 2 novembre 2012 21:46:58 UTC+1, kordless a écrit :

AT

unread,
Apr 24, 2013, 10:00:12 AM4/24/13
to stac...@googlegroups.com
Well I have managed to run openstack correctly on top of XCP using devstack scripts. try that ... it is easier and better. 

Mohamet DIA

unread,
Apr 24, 2013, 10:13:06 AM4/24/13
to stac...@googlegroups.com
I try that, but t's not work :) . Where did you get the devstak scripts.
Message has been deleted

Kevin Carr

unread,
Jul 16, 2013, 9:46:08 AM7/16/13
to stac...@googlegroups.com
Hey kordless,
Thank you for creating this installation guide it has been a great help. I have been having trouble with launching instances though. When I go to the log to see what error has occurred the log fails to start as well. I was wondering if you had any ideas of what the issue might be.

Thank you. 


Anbudan Jeeva

unread,
Aug 4, 2013, 12:15:34 PM8/4/13
to stac...@googlegroups.com
Hello Sir, I am Jeevanadam  doing BE CSE in Kongu Engineering College .My final year project is Implementing Private Cloud in our college computer center. I have  followed this tutorial https://gist.github.com/kordless/4042624 for implementing it . but the instance is not created i am getting the status as Error ..task Networking..Power State as No State.I'm unaware of correcting this type of error.
Please help me sir.Is it necessary to use Virtual Box ? and i have installed Ubuntu 12.04 LTS Server.I have 6 GB RAM,only One NIC on my lap.Is it enough ?

Viswanath

unread,
Aug 22, 2013, 5:58:26 AM8/22/13
to stac...@googlegroups.com
Hi kordless

Greetings!!

This is viswanath new to this group and new to openstack.

Last week i started up learning Openstack and as part of this learning started installing the Openstack on Ubuntu 12.04 LTS.

I have seen the first issue which is given below but unable to over come this. I request you to help me in fixing up this issue.


I Ran ./stack.sh with the root user then i have seen the error

+ sudo chown -R stack '/opt/stack/oslo.messaging/*.egg-info'
chown cannot access '/opt/stack/oslo.messaging/*.egg-info': No such file or directory
++ failed
++ local r=1
+++ jobs -p
++ kill
++ set +o xtrace

I tried with the below solution found by googling.

cd /opt/stack/pbr
rm -rf *egg-info
git pull --ff-only
sudo pip install -e


But this is not worked and getting the same error.


Thanks
Viswanath

Abou Mawada

unread,
Dec 11, 2013, 7:36:58 AM12/11/13
to stac...@googlegroups.com

Thanks for the tutorial 

in my chef-server i can't ping and ssh any of my node 

i have to network interface the eth0 ip is 172.22.0.2  and the eth1 not configured 

Alex Praveen

unread,
Mar 20, 2015, 5:27:13 AM3/20/15
to stac...@googlegroups.com
Hi Kord,

           I face an error installing Splunk
" line 69: /opt/splunk/bin/splunk: cannot execute binary file: Exec format error "

Please Assist.

Thanks
Alex

Rym Kissamy

unread,
May 12, 2015, 6:44:18 PM5/12/15
to stac...@googlegroups.com

Hey guys so i'm gonna attach an error i get when i try running the keystone script , i have no idea what the problem is :s tried looking it up online but :/, some help please
error_keystone.PNG

Kord Campbell

unread,
May 15, 2015, 3:40:21 PM5/15/15
to Rym Kissamy, stac...@googlegroups.com
Looks like your token was invalid. Try again?

On Tue, May 12, 2015 at 3:44 PM, Rym Kissamy <ryme...@gmail.com> wrote:

Hey guys so i'm gonna attach an error i get when i try running the keystone script , i have no idea what the problem is :s tried looking it up online but :/, some help please

--
Follow us on Twitter: @stackgeek
---
You received this message because you are subscribed to the Google Groups "stackgeek" group.
To unsubscribe from this group and stop receiving emails from it, send an email to stackgeek+...@googlegroups.com.
To post to this group, send email to stac...@googlegroups.com.

Priyanka Waman

unread,
Mar 17, 2016, 6:39:31 AM3/17/16
to stackgeek

hiii,
   I am installing openstack essex using 3 node (1 controller,1 compute,1 network) as per attachment.vm is created and i also see vnc-console of openstack.bt i cant ssh to vm ,ping vm.from vm i can not ping internet also.can you plz help me.

knowledge-base (1).pdf
Reply all
Reply to author
Forward
0 new messages