Bug 1022569 - [engine-backend] [external-provider] importing a snapshot image from glance fails with "Error during CanDoActionFailure.: java.lang.IllegalStateException: Connection manager has been shut down"
Summary: [engine-backend] [external-provider] importing a snapshot image from glance f...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine
Version: 3.3.0
Hardware: x86_64
OS: Unspecified
unspecified
high
Target Milestone: ---
: 3.3.0
Assignee: Federico Simoncelli
QA Contact: Elad
URL:
Whiteboard: storage
: 1035530 (view as bug list)
Depends On:
Blocks: 3.3snap2
TreeView+ depends on / blocked
 
Reported: 2013-10-23 14:37 UTC by Elad
Modified: 2016-02-10 17:36 UTC (History)
8 users (show)

Fixed In Version: is23
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-01-21 22:15:53 UTC
oVirt Team: Storage
Target Upstream Version:
Embargoed:
amureini: Triaged+


Attachments (Terms of Use)
engine.log (301.16 KB, application/x-gzip)
2013-10-23 14:37 UTC, Elad
no flags Details


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 20782 0 None None None Never
oVirt gerrit 21003 0 None None None Never

Description Elad 2013-10-23 14:37:21 UTC
Created attachment 815440 [details]
engine.log

Description of problem:
On glance integration: When trying to import a snapshot image from glance, engine fails with this exception:

2013-10-23 17:29:33,139 ERROR [org.ovirt.engine.core.bll.ImportRepoImageCommand] (ajp-/127.0.0.1:8702-2) [1bb47e10] Error during CanDoActionFailure.: java.lang.IllegalStateException: Connection manager has been sh
utdown

on UI:

"Error while executing action: General command validation failure."

Version-Release number of selected component (if applicable):
rhevm-3.3.0-0.27.beta1.el6ev.noarch

How reproducible:
100%

Steps to Reproduce:
1. create an instance on openstack from image
2. create a snapshot to the instance
3. add glance as an external provider to RHEVM
4. import the snapshot image to RHEVM storage domain

Actual results:
We are failing to import the image.



Additional info: engine.log

Comment 1 Federico Simoncelli 2013-10-31 16:15:24 UTC
(In reply to Elad from comment #0)
> 2013-10-23 17:29:33,139 ERROR
> [org.ovirt.engine.core.bll.ImportRepoImageCommand] (ajp-/127.0.0.1:8702-2)
> [1bb47e10] Error during CanDoActionFailure.:
> java.lang.IllegalStateException: Connection manager has been sh
> utdown

This new exception has been triggered by the upgrade to jboss 7.3 and more specifically to org.apache.httpcomponents:httpclient:4.2

Essentially there's nothing going wrong here, we just need to catch the exception and discard it.

Comment 2 Elad 2013-11-19 09:21:58 UTC
I'm getting a proper message on log:

2013-11-19 10:15:18,928 ERROR [org.ovirt.engine.core.bll.ImportRepoImageCommand] (ajp-/127.0.0.1:8702-5) [5b44672d] Unable to get the disk image from the provider proxy: Unsuppo
rted container format: ovf (UNSUPPORTED_CONTAINER_FORMAT)

Verified with is23:
rhevm-3.3.0-0.33.beta1.el6ev.noarch

Comment 3 Sergey Gotliv 2013-12-01 09:55:02 UTC
*** Bug 1035530 has been marked as a duplicate of this bug. ***

Comment 4 Itamar Heim 2014-01-21 22:15:53 UTC
Closing - RHEV 3.3 Released

Comment 5 Itamar Heim 2014-01-21 22:22:51 UTC
Closing - RHEV 3.3 Released


Note You need to log in before you can comment on or make changes to this bug.