Bug 701441

Summary: Instance creation fails with RHEV provider
Product: [Retired] CloudForms Cloud Engine Reporter: Alfredo Moralejo <amoralej>
Component: aeolus-conductorAssignee: Ian McLeod <imcleod>
Status: CLOSED CURRENTRELEASE QA Contact: wes hayutin <whayutin>
Severity: high Docs Contact:
Priority: unspecified    
Version: 0.3.1CC: dajohnso, deltacloud-maint, ssachdev
Target Milestone: alpha   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-06-16 19:04:13 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Alfredo Moralejo 2011-05-02 20:52:23 UTC
Description of problem:

Instance creation fails when using a RHEV provider,

Version-Release number of selected component (if applicable):

aeolus-configure-2.0.0-3.el6.noarch
condor-7.5.6-2dcloud.el6.x86_64
aeolus-conductor-daemons-0.0.3-0.el6.20110429190432git5ad38cb.x86_64
aeolus-conductor-0.0.3-0.el6.20110429190432git5ad38cb.x86_64
iwhd-0.91.20.5aee-1.el6.x86_64
deltacloud-core-0.3.0

How reproducible:

Always

Steps to Reproduce:
1. Install updated aeolus
2. Configure a deltacloud instance using rhevm driver
3. From aeolus web interface configure a provider of type rhev and a provider account.
4. Import image from RHEV
5. Try to create a new instance from the just imported image
  
Actual results:

Image is not created and a "500: internal server error" is shown in deltacloud logs

Expected results:

Instance is created

Additional info:

The problem seems to be related with the name of the instance, that uses condor globaljobid, something like:

Condor_localhost_server2.selab.mad.redhat.com#30.0#1304362455

that is too long for rhev.

A patch could be applied to deltacloud to use only the last part of the name passed from condor (1304362455):

http://mail-archives.apache.org/mod_mbox/incubator-deltacloud-dev/201105.mbox/%3C4DBEF846.4090208@redhat.com%3E

But I guess the best option is to fix it in deltacloud job in condor. I think this is done in build_instance_name in dcloudjob.cpp

Comment 1 wes hayutin 2011-06-15 12:12:49 UTC
moving bugs to cloud engine project

Comment 2 wes hayutin 2011-06-16 19:04:13 UTC

*** This bug has been marked as a duplicate of bug 702571 ***

Comment 3 wes hayutin 2011-12-08 13:54:50 UTC
perm close