Ask Your Question
0

is it possible to run instances on the cloud controller as well. [closed]

asked 2013-07-26 12:57:24 -0500

Sifty gravatar image

updated 2013-07-29 17:05:15 -0500

smaffulli gravatar image

Hello all - openstack noob here.

Sytems HP Bladecenter 4 x blades. Cento 6.4 OpenStack Grizzly I have openstack setup nicely on a blade center with one blade as the cloud controller, my question is - is it possible to have instances running on the cloud controller as well.

I can launch instances on the cloud controller when openstack-nova-compute is started however they cannot pick up the dhcp address getting - Sending discover... Sending discover... Sending discover...

My main motive for this is resources - it seems crazy that one of my blades has to be a cloud controller taking 32GB out of the instance resource pool just to run controller and services.

Any thoughts much appreciated.

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by koolhead17
close date 2014-06-05 21:22:34.398722

3 answers

Sort by ยป oldest newest most voted
1

answered 2013-07-29 01:40:14 -0500

unmesh-gurjar gravatar image

Yes, just as you mentioned, running the openstack-nova-compute service on Controller node (having the right conf settings) is always possible (and is working for you as well). However, the issue in your case is the instance/VM spawned doesn't seem to be getting an IP. To resolve this issue, refer https://ask.openstack.org/question/2053/unable-to-ping-my-instance-after-creating-it/ !

edit flag offensive delete link more
0

answered 2013-07-29 17:11:24 -0500

smaffulli gravatar image

In OpenStack there is really no need to have one 'controller' as it is designed to be massively horizontally scalable, which allows all services to be distributed widely. The authors of the OpenStack Operations Guide introduced the concept of 'cloud controller'

to simplify this guide we have decided to discuss services of a more central nature using the concept of a single cloud controller

edit flag offensive delete link more
0

answered 2013-07-31 05:23:51 -0500

Sifty gravatar image

Found this... sorted the issue - hope this helps other noobs out there. Thanks to all for comments.

https://github.com/mseknibilel/OpenStack-Folsom-Install-guide/issues/14

Gah! Finally figured this out: https://access.redhat.com/knowledge/docs/en-US/Red_Hat_Enterprise_Linux/6/html/Virtualization_Host_Configuration_and_Guest_Installation_Guide/ch11s02.html

Added: iptables -A POSTROUTING -t mangle -p udp --dport 68 -j CHECKSUM --checksum-fill

And now I get leases... talk about obscure.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

Stats

Asked: 2013-07-26 12:57:24 -0500

Seen: 537 times

Last updated: Jul 31 '13