Ask Your Question
0

failed to create VM on 2nd compute node

asked 2011-07-19 15:49:17 -0500

Hi,

I have two compute nodes; first one (say CN_01) is on the same node which is also the cloud-controller node, while the 2nd node (say CN_02) is a dedicated compute node.

CN_01 has following processes; 1.) nova_apir 2.) nova-network 3.) nova-compute 4.) nova-scheduler 5.) nova-objectstore 6.) glance-registry 7.) glance-api

I have not made any setting changes to "/etc/glance/glance-api.conf" ... so everything is running on defaults.

I have registered an image (the standard ttylinux image); output of euca-describe-images is: $ euca-describe-images IMAGE ami-00000003 mybucket/ttylinux-uec-amd64-12.1_2.6.35-22_1.img.manifest.xml available public x86_64 machine aki-00000001 ari-00000002 IMAGE ari-00000002 mybucket/ttylinux-uec-amd64-12.1_2.6.35-22_1-initrd.manifest.xml available public x86_64 ramdisk IMAGE aki-00000001 mybucket/ttylinux-uec-amd64-12.1_2.6.35-22_1-vmlinuz.manifest.xml available public x86_64 kernel

When I create an instance of this image on CN_01, everything works fine. However, when I create an instance of the same image on CN_02 it fails. I am not sure if it is a bug or wrong configuration; I am attaching the nova-compute.log.

Please let me know if the cause of problem is obvious.

Thanks, -upendra

========== CN_02:/var/log/nova/nova-compute.log =========== 2011-07-19 10:45:25,342 DEBUG nova.rpc [-] received {u'_context_request_id': u'4Z2Z7NMZR4-Z37V1ZLOB', u'_context_read_deleted': False, u'args': {u'instance_id': 68, u'request_spec': {u'instance_properties': {u'state_description': u'scheduling', u'availability_zone': None, u'ramdisk_id': u'2', u'instance_type_id': 2, u'user_data': u'', u'vm_mode': None, u'reservation_id': u'r-7rmxukz7', u'user_id': u'upendra', u'display_description': None, u'key_data': u'ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAAAgQCfGYTuj0dtVgjSp5mMAHv/dPHUjBppmitimKEwroOy5HbWPsEWeWxvwXjz/q76X8kmdtoD43+IlZx1PG35xdVGgJ938tnmWubR4LtTxcbtM0f/dNdLjQRwkFmvJ4MmePbjLfTRTPIWfSayJKOFIiQM0A7f5uK2UYdfSo7wVNIdOw== nova@ibc6hb13\n', u'state': 0, u'project_id': u'myproj', u'metadata': {}, u'kernel_id': u'1', u'key_name': u'upen', u'display_name': None, u'local_gb': 0, u'locked': False, u'launch_time': u'2011-07-19T14:44:53Z', u'memory_mb': 512, u'vcpus': 1, u'image_ref': 3, u'architecture': None, u'os_type': None}, u'instance_type': {u'rxtx_quota': 0, u'deleted_at': None, u'name': u'm1.tiny', u'deleted': False, u'created_at': None, u'updated_at': None, u'memory_mb': 512, u'vcpus': 1, u'rxtx_cap': 0, u'extra_specs': {}, u'swap': 0, u'flavorid': 1, u'id': 2, u'local_gb': 0}, u'num_instances': 1, u'filter': u'nova.scheduler.host_filter.InstanceTypeFilter', u'blob': None}, u'admin_password': None, u'injected_files': None, u'availability_zone': None}, u'_context_is_admin': True, u'_context_timestamp': u'2011-07-19T14:44:53Z', u'_context_user': u'upendra', u'method': u'run_instance', u'_context_project': u'myproj', u'_context_remote_address': u'9.59.230.122'} from (pid=21444) process_data /usr/lib/pymodules/python2.7/nova/rpc.py:202 2011-07-19 10:45:25,342 DEBUG nova.rpc [-] unpacked context: {'timestamp': u'2011-07-19T14:44:53Z', 'msg_id': None, 'remote_address': u'9.59.230.122', 'project': u'myproj', 'is_admin': True, 'user': u'upendra', 'request_id': u'4Z2Z7NMZR4-Z37V1ZLOB', 'read_deleted': False} from (pid=21444) _unpack_context /usr/lib/pymodules/python2.7/nova/rpc.py:451 2011-07-19 10:45:25,400 AUDIT nova.compute.manager [4Z2Z7NMZR4-Z37V1ZLOB upendra myproj] instance 68: starting... 2011-07-19 10:45:25,564 DEBUG nova.rpc [-] Making asynchronous call on network ... from (pid=21444) multicall /usr/lib/pymodules/python2.7/nova/rpc.py ... (more)

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2011-07-19 16:56:50 -0500

vishvananda gravatar image

probably need to set: --glance_api_servers=<ip of="" glance="">:9292

Vish

On Jul 19, 2011, at 8:51 AM, Upendra wrote:

New question #165340 on OpenStack Compute (nova): https://answers.launchpad.net/nova/+q...

Hi,

I have two compute nodes; first one (say CN_01) is on the same node which is also the cloud-controller node, while the 2nd node (say CN_02) is a dedicated compute node.

CN_01 has following processes; 1.) nova_apir 2.) nova-network 3.) nova-compute 4.) nova-scheduler 5.) nova-objectstore 6.) glance-registry 7.) glance-api

I have not made any setting changes to "/etc/glance/glance-api.conf" ... so everything is running on defaults.

I have registered an image (the standard ttylinux image); output of euca-describe-images is: $ euca-describe-images IMAGE ami-00000003 mybucket/ttylinux-uec-amd64-12.1_2.6.35-22_1.img.manifest.xml available public x86_64 machine aki-00000001 ari-00000002 IMAGE ari-00000002 mybucket/ttylinux-uec-amd64-12.1_2.6.35-22_1-initrd.manifest.xml available public x86_64 ramdisk IMAGE aki-00000001 mybucket/ttylinux-uec-amd64-12.1_2.6.35-22_1-vmlinuz.manifest.xml available public x86_64 kernel

When I create an instance of this image on CN_01, everything works fine. However, when I create an instance of the same image on CN_02 it fails. I am not sure if it is a bug or wrong configuration; I am attaching the nova-compute.log.

Please let me know if the cause of problem is obvious.

Thanks, -upendra

========== CN_02:/var/log/nova/nova-compute.log =========== 2011-07-19 10:45:25,342 DEBUG nova.rpc [-] received {u'_context_request_id': u'4Z2Z7NMZR4-Z37V1ZLOB', u'_context_read_deleted': False, u'args': {u'instance_id': 68, u'request_spec': {u'instance_properties': {u'state_description': u'scheduling', u'availability_zone': None, u'ramdisk_id': u'2', u'instance_type_id': 2, u'user_data': u'', u'vm_mode': None, u'reservation_id': u'r-7rmxukz7', u'user_id': u'upendra', u'display_description': None, u'key_data': u'ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAAAgQCfGYTuj0dtVgjSp5mMAHv/dPHUjBppmitimKEwroOy5HbWPsEWeWxvwXjz/q76X8kmdtoD43+IlZx1PG35xdVGgJ938tnmWubR4LtTxcbtM0f/dNdLjQRwkFmvJ4MmePbjLfTRTPIWfSayJKOFIiQM0A7f5uK2UYdfSo7wVNIdOw== nova@ibc6hb13\n', u'state': 0, u'project_id': u'myproj', u'metadata': {}, u'kernel_id': u'1', u'key_name': u'upen', u'display_name': None, u'local_gb': 0, u'locked': False, u'launch_time': u'2011-07-19T14:44:53Z', u'memory_mb': 512, u'vcpus': 1, u'image_ref': 3, u'architecture': None, u'os_type': None}, u'instance_type': {u'rxtx_quota': 0, u'deleted_at': None, u'name': u'm1.tiny', u'deleted': False, u'created_at': None, u'updated_at': None, u'memory_mb': 512, u'vcpus': 1, u'rxtx_cap': 0, u'extra_specs': {}, u'swap': 0, u'flavorid': 1, u'id': 2, u'local_gb': 0}, u'num_instances': 1, u'filter': u'nova.scheduler.host_filter.InstanceTypeFilter', u'blob': None}, u'admin_password': None, u'injected_files': None, u'availability_zone': None}, u'_context_is_admin': True, u'_context_timestamp': u'2011-07-19T14:44:53Z', u'_context_user': u'upendra', u'method': u'run_instance', u'_context_project': u'myproj', u'_context_remote_address': u'9.59.230.122'} from (pid=21444) process_data /usr/lib/pymodules/python2.7/nova/rpc.py:202 2011-07-19 10:45:25,342 DEBUG nova.rpc [-] unpacked context: {'timestamp': u'2011-07-19T14:44:53Z', 'msg_id': None, 'remote_address': u'9.59.230.122', 'project': u'myproj', 'is_admin': True, 'user': u'upendra', 'request_id': u'4Z2Z7NMZR4-Z37V1ZLOB', 'read_deleted': False} from (pid=21444) _unpack_context /usr/lib/pymodules/python2.7/nova/rpc.py:451 2011-07-19 10:45:25,400 AUDIT nova ...

(more)
edit flag offensive delete link more
0

answered 2011-07-19 20:45:00 -0500

Thanks Vish Ishaya, that solved my question.

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

1 follower

Stats

Asked: 2011-07-19 15:49:17 -0500

Seen: 10 times

Last updated: Jul 19 '11