Bug 701441 - Instance creation fails with RHEV provider
Summary: Instance creation fails with RHEV provider
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: CloudForms Cloud Engine
Classification: Retired
Component: aeolus-conductor
Version: 0.3.1
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: alpha
Assignee: Ian McLeod
QA Contact: wes hayutin
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-05-02 20:52 UTC by Alfredo Moralejo
Modified: 2011-12-08 13:54 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-06-16 19:04:13 UTC


Attachments (Terms of Use)

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


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