Ask Your Question
0

Instance creation in devstack icehouse

asked 2015-06-08 01:15:19 -0600

sumit gravatar image

updated 2015-06-09 03:52:21 -0600

I want to create few instance having ubuntu installed on it using openstack.

I tried following steps

Approach 1

1) installed icehouse devstack

git clone -b stable/icehouse https://github.com/openstack-dev/devstack.git
cd devstack
./stack.sh

2) after successful installation i uploaded a ubuntu image

  glance image-create --name Ubuntu --disk-format  iso --container-format bare <~/sumit/images/ubuntu-14.04.2-desktop-amd64.iso

3) login to dashboard and launch the instance (m1.small, RAM GB, total disk 20GB) using this image.

4) open the instance console from horizon dashboard and try to install ubuntu

but it shows required space(6.5GB) in not available.

then I tried to install neutron and heat also

Approach 2

1) installed icehouse devstack

git clone -b stable/icehouse https://github.com/openstack-dev/devstack.git
cd devstack
vi localrc

my localrc looks like

DEST=/opt/stack

LOGFILE=$DEST/logs/stack.sh.log

VERBOSE=True

LOG_COLOR=False

SCREEN_LOGDIR=$DEST/logs/screen

ADMIN_PASSWORD=adminsumit

MYSQL_PASSWORD=openstack

RABBIT_PASSWORD=openstack

SERVICE_PASSWORD=openstack

SERVICE_TOKEN=tokentoken

GLANCE_BRANCH=stable/icehouse

HORIZON_BRANCH=stable/icehouse

KEYSTONE_BRANCH=stable/icehouse

NOVA_BRANCH=stable/icehouse

NEUTRON_BRANCH=stable/icehouse

HEAT_BRANCH=stable/icehouse

CEILOMETER_BRANCH=stable/icehouse

DISABLED_SERVICES=n-net

ENABLED_SERVICES+=,q-svc,q-agt,q-dhcp,q-l3,q-meta,q-metering,neutron

ENABLED_SERVICES+=,q-lbaas

ENABLED_SERVICES+=,heat,h-api,h-api-cfn,h-api-cw,h-eng HEAT_STANDALONE=True

ENABLED_SERVICES+=,ceilometer-acompute,ceilometer-acentral,ceilometer-collector,ceilometer-api ENABLED_SERVICES+=,ceilometer-alarm-notify,ceilometer-alarm-eval

After this

./stack.sh

2) after successful installation i uploaded a ubuntu image

  glance image-create --name Ubuntu --disk-format  iso --container-format bare <~/sumit/images/ubuntu-14.04.2-desktop-amd64.iso

3) login to dashboard and launch the instance (m1.small, RAM GB, total disk 20GB) using this image.

But now it displays

Error: Unable to connect to Neutron

Every time i list the instance it displays same error.

Can anyone help me out to overcome all these problems so that i can launch some instances and install ubuntu on that.

Thanks in advance.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-06-09 09:39:51 -0600

Try uploading the image through Horizon Dashboard.

I also see that you're trying to upload a desktop image. Have you tried uploading a cloud image? https://cloud-images.ubuntu.com/releases/14.04.1/release/ (https://cloud-images.ubuntu.com/relea...) http://cloud.centos.org/centos/7/images/ http://docs.openstack.org/image-guide/content/ch_creating_images_manually.html (http://docs.openstack.org/image-guide...)

cloud images are smaller than standard iso's and are a sealed image that includes cloud init, but w/o all the standard fluff.

https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux_OpenStack_Platform/2/html/Getting_Started_Guide/ch09s02.html (https://access.redhat.com/documentati...)

edit flag offensive delete link more

Comments

Thanks for Suggestion, I uploaded a cloud image in qcow2 format available at http://docs.openstack.org/image-guide/content/ch_obtaining_images.htm (http://docs.openstack.org/image-guide...) . I am also able to launch instance using that image but not able to login to the console of that instance due to unavailability of login details

sumit gravatar imagesumit ( 2015-06-11 05:28:48 -0600 )edit

you need to make sure you have uploaded an ssh key or downloaded a pem. for ubuntu your login would be ssh ubuntu@ipofinstance or ssh centos@ipofinstance no password because you're using your ssh key. if you're using the cirros image your ssh is cirros.

rmccomb gravatar imagermccomb ( 2015-06-12 08:34:57 -0600 )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-06-08 01:15:19 -0600

Seen: 542 times

Last updated: Jun 09 '15