Bug 752520 - aeolus-image push problems,Internal Error: can't convert nil into String
Summary: aeolus-image push problems,Internal Error: can't convert nil into String
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: CloudForms Cloud Engine
Classification: Retired
Component: rubygem-aeolus-cli
Version: 1.0.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
Assignee: Martyn Taylor
QA Contact: wes hayutin
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-11-09 18:36 UTC by wes hayutin
Modified: 2012-05-15 19:49 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-05-15 19:49:56 UTC


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2012:0591 0 normal SHIPPED_LIVE new packages: rubygem-aeolus-cli 2012-05-15 22:31:17 UTC

Description wes hayutin 2011-11-09 18:36:30 UTC
Description of problem:

201111091330:27.347 - FINE: ssh root.lab.eng.bos.redhat.com aeolus-image push --provider mock --account mock_mockuser --image d02f4d14-1d55-4983-b07c-cf0c6f8297e7 --build 6cc8a61e-6a53-4b60-9042-2a4e0ddccfd1 --targetimage 605ecbef-d9d1-41ae-bf5b-da56ae7cad09 (com.redhat.qe.tools.SSHCommandRunner.run)
201111091330:29.099 - FINE: Stdout: 

Image: d02f4d14-1d55-4983-b07c-cf0c6f8297e7
Build: 6cc8a61e-6a53-4b60-9042-2a4e0ddccfd1
Target Image: 605ecbef-d9d1-41ae-bf5b-da56ae7cad09
Unable to perform task: 
- Internal Error: can't convert nil into String


201111091145:35.500 - FINE: ssh root.lab.eng.bos.redhat.com aeolus-image push --provider ec2-us-east-1 --account ec2-us-east-1_AKIAJ557U7P7OIHRV2EQ --image 3ff954a3-65d1-41ea-b80c-ceab3c1de963 --build eba45c7d-c9c4-4c72-8ffb-6647e4f57871 --targetimage 3e2f5886-b435-4375-9809-f439025e2dce (com.redhat.qe.tools.SSHCommandRunner.run)
201111091145:36.800 - FINE: Stdout: 

Image: 3ff954a3-65d1-41ea-b80c-ceab3c1de963
Build: eba45c7d-c9c4-4c72-8ffb-6647e4f57871
Target Image: 3e2f5886-b435-4375-9809-f439025e2dce
Unable to perform task: 
- Internal Error: can't convert nil into String


[root@qeblade30 yum.repos.d]# rpm -qa | grep aeolus
aeolus-conductor-0.6.0-0.20111109145353git6aca665.fc15.noarch
aeolus-conductor-daemons-0.6.0-0.20111109145353git6aca665.fc15.noarch
rubygem-aeolus-cli-0.1.0-3.20111028152758git7063136.fc15.noarch
aeolus-conductor-doc-0.6.0-0.20111109145353git6aca665.fc15.noarch
aeolus-all-0.6.0-0.20111109145353git6aca665.fc15.noarch
rubygem-aeolus-image-0.1.0-4.20111024205454git6b2b696.fc15.noarch
aeolus-configure-2.3.0-0.20111109080912git9fd4974.fc15.noarch

Comment 1 wes hayutin 2011-11-11 14:45:38 UTC
[root@qeblade31 ~]# aeolus-cli --help
Usage: aeolus-cli [list|build|push|import|delete] [general options] [command options]

General options:
    -d, --id ID                      id for a given object
        --description NAME           description (e.g. "<image><name>MyImage</name></image>" or "/home/user/myImage.xml")
    -r, --provider NAME1,NAME2       name of specific provider (ie ec2-us-east1)
    -T, --target TARGET1,TARGET2     provider type (ec2, rackspace, rhevm, etc)
    -h, --help                       Get usage information for this tool

List options:
    -i, --images                     Retrieve a list of images
    -b, --builds ID                  Retrieve the builds of an image
    -P, --providerimages ID          Retrieve the provider images from a target image
    -g, --targets                    Retrieve the values available for the --target parameter
    -p, --providers                  Retrieve the values available for the --provider parameter
    -a, --accounts                   Retrieve the values available for the --account parameter

Build options:
    -e, --template FILE              path to file that contains template xml

Push options:
    -t, --targetimages ID            Retrieve the target images from a build
    -A, --account NAME               name of specific provider account to use for push

Delete options:
    -I, --image ID                   delete build image and associated objects
    -B, --build ID                   delete build and associated objects
    -m, --targetimage ID             delete target image and its provider images
    -D, --providerimage ID           delete provider image

List Examples:
aeolus-cli list --images                    # list available images
aeolus-cli list --builds $image_id          # list the builds of an image
aeolus-cli list --targetimages $build_id    # list the target images from a build
aeolus-cli list --providerimages $target_id # list the provider images from a target image
aeolus-cli list --targets                   # list the values available for the --target parameter
aeolus-cli list --providers                 # list the values available for the --provider parameter
aeolus-cli list --accounts                  # list the values available for the --account parameter

Build examples:
aeolus-cli build --target ec2 --template my.tmpl        # build a new image for ec2 from based on the given template
aeolus-cli build --target ec2,rhevm --template my.tmpl  # build a new image for ec2 and for rhevm based on the given template

Push examples:
aeolus-cli push --account ec2-account,ec2-account2 --targetimage $target_image_id   # Push target images to each of the specified account
aeolus-cli push --account ec2-account,rhevm-account --build $build_id               # Push target images attached to a particular build to each of the specified accounts
aeolus-cli push --account ec2-account,rhevm-account --image $image_id               # Push target images attached to a particular image to each of the specified accounts

Import examples:
aeolus-cli import --provider ec2-us-east-1 --target ec2 --id $ami_id # import an AMI from the specified provider
aeolus-cli import --provider ec2-us-east-1 --target ec2 --id $ami_id --description '<image><name>My Image</name></image>' # import an AMI from the specified provider
aeolus-cli import --provider ec2-us-east-1 --target ec2 --id $ami_id --description <path_to_xml_file> # import an AMI from the specified provider

Delete examples: (DELETE CURRENTLY NOT IMPLEMENTED) 
aeolus-cli delete --image $image_id               # deletes a image and all associated builds
aeolus-cli delete --build $build_id               # deletes a build and all associated targetimages
aeolus-cli delete --targetimage $target_image     # deletes a target image and all associated provider images
aeolus-cli delete --providerimage $provider_image # deletes a provider image

Comment 2 wes hayutin 2011-11-28 01:17:45 UTC
removing bugs from ce-sprint from the tracker.. you can find these bugs by querying the "qa whiteboard" for ce-sprint-60

Comment 5 errata-xmlrpc 2012-05-15 19:49:56 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHEA-2012-0591.html


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