Openstack devstach cannot launch Ubuntu instance ?? help needed

asked 2017-10-03 11:12:07 -0500

ibrahim.mohammedameen gravatar image

hi there I am searching for an answer for more than a month now I am trying to launch Ubuntu 16.04 instance inside devstack openstack I opened the dashboard horizon and clicked on launch an instance after that I chose the Ubuntu 16.04 cloud image that i uploaded in image sections after that the network which is the default public and downloaded the privet key but when I am launching it it gave me error after device block mapping i don't know why please could you help me this is the error . Error: Failed to perform requested operation on instance "try5", the instance has an error status: Please try again later [Error: Build of instance b61961a2-1782-442b-beb7-f41e17c2b742 aborted: Volume b527da87-733a-4657-85c6-8ebff0726510 did not finish being created even after we waited 10 seconds or 4 attempts. And its status is error.].

more detailed one

File "/opt/stack/nova/nova/compute/manager.py", line 1821, in _do_build_and_run_instance filter_properties) File "/opt/stack/nova/nova/compute/manager.py", line 2000, in _build_and_run_instance phase=fields.NotificationPhase.ERROR, exception=e) File "/usr/local/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 220, in __exit__ self.force_reraise() File "/usr/local/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 196, in force_reraise six.reraise(self.type_, self.value, self.tb) File "/opt/stack/nova/nova/compute/manager.py", line 1956, in _build_and_run_instance block_device_mapping) as resources: File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__ return self.gen.next() File "/opt/stack/nova/nova/compute/manager.py", line 2145, in _build_resources reason=e.format_message())

hope you can help me to fix it thank you and regards Ibrahim

edit retag flag offensive close merge delete

Comments

Hi have you tested launching instances using cirros ? Are using Neutron with Linuxbridge or OpenVSwitch. How you have installed openstack it is manual installation of services or testing with Packstack?

Praveen N gravatar imagePraveen N ( 2017-10-10 00:53:00 -0500 )edit

Please check nova compute log, nova scheduler log, neutron server log, cinder volume log and cinder scheduler log for any ERROR . This may give you some clue about your issue..!!

Praveen N gravatar imagePraveen N ( 2017-10-10 04:47:11 -0500 )edit

BTW Is this multi node OpenStack setup ? seems like volume creation failed.. Are all the OpenStack services are up (active and enabled) ? You may try to launch instance being New Volume Creation set to No in GUI..!!

Praveen N gravatar imagePraveen N ( 2017-10-10 04:52:18 -0500 )edit