deltacloud-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joseph J. VLcek (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (DTACLOUD-493) RHEVm - instance.stop fails and instance returns to RUNNING state.
Date Thu, 21 Feb 2013 22:34:12 GMT

     [ https://issues.apache.org/jira/browse/DTACLOUD-493?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Joseph J. VLcek updated DTACLOUD-493:
-------------------------------------

    Description: 
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.
    
> 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
>
> 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

Mime
View raw message