[ https://issues.apache.org/jira/browse/DTACLOUD-493?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13589893#comment-13589893 ]
Joseph J. VLcek commented on DTACLOUD-493: ------------------------------------------ This is not a Deltacloud issue. It is a RHEVm bug: https://bugzilla.redhat.com/show_bug.cgi?id=910741" Also the rhevm drive test is currently skipped because of this RHEVm BZ, see: https://github.com/apache/deltacloud/blob/master/server/tests/drivers/rhevm/instance_test.rb#L84 I'll leaving this open and assigned to me to confirm it is resolved and the skip is removed from the test once the RHEVm BZ is fixed. > RHEVm - instance.stop fails and instance returns to RUNNING state. > -------------------------------------------------------------------- > > Key: DTACLOUD-493 > URL: https://issues.apache.org/jira/browse/DTACLOUD-493 > Project: DeltaCloud > Issue Type: Bug > Reporter: Joseph J. VLcek > Assignee: Joseph J. VLcek > > While attempting to rerecord the VCR episodes/fixture for the test: > |tests/drivers/rhevm/instance_test.rb one test fails waiting for the > instance to stop. > The test is: "must allow to create a new instance and make it running" > After the test issues: > @driver.stop_instance(instance.id) > the test then proceeds to wait_for! the instance to become stopped > instance = instance.wait_for!(@driver, record_retries('stop')) { |i| > i.is_stopped? } > See: > https://github.com/apache/deltacloud/blob/master/server/tests/drivers/rhevm/instance_test.rb#L98) > The issue is the instance fails to stop and it actually returns to a running > state, which I have observerd > by extending the timeout on record_retires to a stupid long time > e.g.: > instance = instance.wait_for!(@driver, record_retries('stop', :timeout => > 99999999)) { |i| i.is_stopped? } > and by monitoring the instances "events" using the RHEVm dashboard, where the > following message > is displayed: > "Shutdown of VM i-1361484708 failed." > and the instance returns to the RUNNING state. > This is blocking the rerecording of the VCR episodes/fixture or the rhevm > instance tests. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira