Ask Your Question
0

How to test the nova-compute alone

asked 2013-06-15 12:54:58 -0600

bv_arvind gravatar image

updated 2013-06-17 16:16:20 -0600

smaffulli gravatar image

Hi The solution we provide is just compute nodes with nova-compute support. However I was not sure how to test this solution. Please feel free to correct any mistakes: 1) Can openstack-nova-compute be run alone? I tried to start the compute service, it seemed to wait for scheduler ? I had installed nova-common and compute packages. 2) I decided to test the command line by invoking nova-compute to boot VM. However it complained about setting the environment

-os-username OS_USERNAME] [--os-password OS_PASSWORD]
            [--os-tenant-name_name OS_TENANT_NAME] [--os-auth-url OS_AUTH_URL]
            [--os-region-name OS_REGION_NAME] [--service-type SERVICE_TYPE]
            [--service-name SERVICE_NAME] [--endpoint-type ENDPOINT_TYPE]
            [--version VERSION]

Any idea what these variables have to be set to in order to test?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2013-06-18 00:27:01 -0600

chen-li gravatar image

updated 2013-06-18 00:29:22 -0600

Why you want to run nova-compute alone? Any specific reason ?

I believe nova-compute can't work alone.

Because:

First, all operation in Openstack need authorization. You need keystone.

Second, you need to receive user's requests. You need nova-api.

Third, for an instance, it need an image to boot. You need glance.

Fourth, you would want to connect to your instance, you instance should have an IP address. You need nova-network or quantum.

And at last,you need a method to transfer information about this request to nova-compute. You need nova-scheduler, and message queue.

Beside, all services need to store data. You need a database.

edit flag offensive delete link more

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

Stats

Asked: 2013-06-15 12:54:58 -0600

Seen: 160 times

Last updated: Jun 18 '13