Ask Your Question
0

While creating an instance on openstack I am getting this error continously.Not sure what to do.

asked 2018-03-02 01:18:36 -0500

Shahid gravatar image

updated 2018-03-06 05:54:55 -0500

Error: Failed to perform requested operation on instance "ubuntu_trusty", the instance has an error status: Please try again later [Error: Build of instance 0d4376e4-2347-4fb2-a92c-90a6ab49d3ed aborted: Volume c5b9f61d-8d8c-40e5-96db-9166149d04c7 did not finish being created even after we waited 0 seconds or 1 attempts. And its status is error.].

here is the syslog for the node

Mar 6 13:26:54 localhost dstat.sh[792]: 06-03 13:26:54| 4 1 93 1 0 0|7294M 57.3M 2462M 6234M| 0 0 | 0 64k| 0 6.00 | 822 1796 |0.87 0.87 1.22| 0 0 2.0| 0 0 |cinder-volume 826 0.8% 0 0 |dstat 857 106k 374B 0%|qemu-system-1708M| 36M 16G| 24 293 0 299 0 Mar 6 13:26:55 localhost neutron-openvswitch-agent[838]: #033[00;32mDEBUG neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent [#033[01;36mNone req-cc39efd2-d2ce-4d23-901d-fc6e855e3596 #033[00;36mNone None#033[00;32m] #033[01;35m#033[00;32mAgent rpc_loop - iteration:938 started#033[00m #033[00;33m{{(pid=838) rpc_loop /opt/stack/neutron/neutron/plugins/ml2/drivers/openvswitch/agent/ovs_neutron_agent.py:1996}}#033[00m Mar 6 13:26:55 localhost neutron-openvswitch-agent[838]: #033[00;32mDEBUG neutron.plugins.ml2.drivers.openvswitch.agent.openflow.native.ofswitch [#033[01;36mNone req-cc39efd2-d2ce-4d23-901d-fc6e855e3596 #033[00;36mNone None#033[00;32m] #033[01;35m#033[00;32mofctl request version=0x4,msg_type=0x12,msg_len=0x38,xid=0x52d9cb75,OFPFlowStatsRequest(cookie=0,cookie_mask=0,flags=0,match=OFPMatch(oxm_fields={}),out_group=4294967295,out_port=4294967295,table_id=23,type=1) result [OFPFlowStatsReply(body=[OFPFlowStats(byte_count=0,cookie=8129684475556213649,duration_nsec=692000000,duration_sec=1885,flags=0,hard_timeout=0,idle_timeout=0,instructions=[],length=56,match=OFPMatch(oxm_fields={}),packet_count=0,priority=0,table_id=23)],flags=0,type=1)]#033[00m #033[00;33m{{(pid=838) _send_msg /opt/stack/neutron/neutron/plugins/ml2/drivers/openvswitch/agent/openflow/native/ofswitch.py:99}}#033[00m Mar 6 13:26:55 localhost neutron-openvswitch-agent[838]: #033[00;32mDEBUG neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent [#033[01;36mNone req-cc39efd2-d2ce-4d23-901d-fc6e855e3596 #033[00;36mNone None#033[00;32m] #033[01;35m#033[00;32mAgent rpc_loop - iteration:938 completed. Processed ports statistics: {'regular': {'updated': 0, 'added': 0, 'removed': 0}}. Elapsed:0.007#033[00m #033[00;33m{{(pid=838) loop_count_and_wait /opt/stack/neutron/neutron/plugins/ml2/drivers/openvswitch/agent/ovs_neutron_agent.py:1816}}#033[00m Mar 6 13:26:55 localhost dstat.sh[792]: 06-03 13:26:55| 4 1 92 3 0 0|7294M 57.4M 2462M 6234M| 444B 506B| 0 380k| 0 20.0 | 820 1847 |0.87 0.87 1.22| 0 0 0| 0 0 |nova-conductor 769 0.8% 0 0 |dstat 857 106k 378B0.5%|qemu-system-1708M| 36M 16G| 24 293 0 299 0 Mar 6 13:26:56 localhost dstat.sh[792]: 06-03 13:26:56| 3 1 94 2 0 0|7294M 57.4M 2462M 6234M| 444B 450B| 0 60k| 0 7.00 | 761 2029 |0.87 0.87 1.22| 0 0 0| 0 0 |nova-conductor 769 0.5% 0 0 |dstat 857 106k 376B0.2%|qemu-system-1708M| 36M 16G| 24 293 0 299 0 ... (more)

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
1

answered 2018-03-05 23:12:49 -0500

Deepa gravatar image

@Shahid ,Volume creation has failed here .Need to check why it failed ?Share us the /var/log/cinder/cinder-volume.log ,cinder-scheduler.log .Also check whether cinder services are up and fine

edit flag offensive delete link more

Comments

have installed Openstack through devstack, Not able to find log files in it.

Shahid gravatar imageShahid ( 2018-03-06 00:36:11 -0500 )edit

Can you check under /var/log/syslog file ?

Deepa gravatar imageDeepa ( 2018-03-06 01:08:53 -0500 )edit

I have updated the above with syslog

Shahid gravatar imageShahid ( 2018-03-06 02:01:37 -0500 )edit

Whether all openstack services are up ?Are you able to create a volume alone ?Try to launch an instance from image without volume

Deepa gravatar imageDeepa ( 2018-03-06 02:43:39 -0500 )edit

Tried to create a volume alone, but was stuck with status "error". And also created and instance without volume but it shows "cannot create a server".

Shahid gravatar imageShahid ( 2018-03-06 02:52:04 -0500 )edit
1

answered 2018-03-05 13:29:31 -0500

This means that you were booting the instance from a Cinder-backed volume, but before the boot process had a chance to start, the volume creation failed. Please provide logs from the cinder-volume service that runs on the hypervisor (compute node) where the volume was being created. Note that you may have to search through all the compute nodes unless you know exactly where the volume was about to be created.

edit flag offensive delete link more

Comments

Not able to find logs as installed Openstack through devstack

Shahid gravatar imageShahid ( 2018-03-06 00:36:40 -0500 )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

Stats

Asked: 2018-03-02 01:18:36 -0500

Seen: 680 times

Last updated: Mar 06 '18