Bug 773037

Summary: rhevm cluster not listed in realm mappings, due to updated deltacloud config in rhevm_configure
Product: [Retired] CloudForms Cloud Engine Reporter: Dave Johnson <dajohnso>
Component: aeolus-configureAssignee: Richard Su <rwsu>
Status: CLOSED ERRATA QA Contact: wes hayutin <whayutin>
Severity: high Docs Contact:
Priority: unspecified    
Version: 1.0.0CC: akarol, deltacloud-maint, jlaska, rananda, ssachdev, whayutin
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-05-15 20:45:33 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 Dave Johnson 2012-01-10 18:28:19 UTC
Description of problem:
====================================
Installed on a fresh rhel 6.2 install from brew-nightly (rpms version below).  

Configured for rhevm but when I went to add a realm mapping to the rhevm cluster, the rhevm cluster is not listed in conductor's realm drop down.  

No errors in the logs from what I can tell, rhevm is online and works when using rpms (deltacloud-core-rhevm-0.4.1-8.el6.noarch) from aeolus-testing repo, and the provider test connection succeeds in the ui so I am thinking there is some issue with deltacloud-rhevm v0.5 which is in brew-nightly.


Version-Release number of selected component (if applicable):
========================================================================
[root@qeblade29 init.d]# rpm -qa | grep deltacloud
deltacloud-core-rhevm-0.5.0-0.rc1.el6.noarch
deltacloud-core-0.5.0-0.rc1.el6.noarch
deltacloud-core-ec2-0.5.0-0.rc1.el6.noarch
deltacloud-core-vsphere-0.5.0-0.rc1.el6.noarch
rubygem-deltacloud-client-0.4.0-3.el6.noarch

Comment 1 Dave Johnson 2012-01-10 19:59:42 UTC
Un-installing the v0.5 rpms that came from brew nightly and re-installing with
v0.4.1-8 did resolve the issue.

Comment 2 wes hayutin 2012-01-10 21:45:17 UTC
changed config to 
  rhevm_nfs_server: qeblade26.rhq.lab.eng.bos.redhat.com
  rhevm_nfs_export: /home/rhevm_export
  rhevm_nfs_mount_point: /mnt/rhevm-nfs
  rhevm_deltacloud_username: admin@iasdf
  rhevm_deltacloud_password: asdf
  rhevm_deltacloud_provider: https://qeblade26.rhq.lab.eng.bos.redhat.com:8443/api;4c96c74b-f8b6-4c8f-aa84-a55770839b85
  rhevm_push_timeout: 1800

get the following error during configure:

notice: /Stage[main]/Aeolus::Image-factory/Service[imagefactory]/ensure: ensure changed 'stopped' to 'running'
err: /Stage[main]/Aeolus::Profiles::Rhevm/Web_request[rhevm-check-export-path-is-export-type]/get: change from  to https://qeblade26.rhq.lab.eng.bos.redhat.com:8443/api;4c96c74b-f8b6-4c8f-aa84-a55770839b85/storagedomains?search=export failed: An exception was raised when invoking web request: Invalid HTTP Return Code: 404,
                               was expecting one of 200
notice: /Stage[main]/Aeolus::Profiles::Rhevm/Mount[/mnt/rhevm-nfs]: Dependency Web_request[rhevm-check-export-path-is-export-type] has failures: true
warning: /Stage[main]/Aeolus::Profiles::Rhevm/Mount[/mnt/rhevm-nfs]: Skipping because of failed dependencies
notice: /Stage[main]/Aeolus::Iwhd/Service[mongod]/ensure: ensure changed 'stopped' to 'running'
notice: /Stage[main]/Aeolus::Iwhd/Service[iwhd]/ensure: ensure changed 'stopped' to 'running'
notice: /Stage[main]/Aeolus::Iwhd/Exec[iwhd_startup_pause]/returns: executed successfully
notice: /Stage[main]/Aeolus::Profiles::Rhevm/Aeolus::Create_bucket[aeolus]/Exec[create-bucket-aeolus]/returns:   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
notice: /Stage[main]/Aeolus::Profiles::Rhevm/Aeolus::Create_bucket[aeolus]/Exec[create-bucket-aeolus]/returns:                                  Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0c[create-bucket-aeolus]/returns: 
notice: /Stage[main]/Aeolus::Profiles::Rhevm/Aeolus::Create_bucket[aeolus]/Exec[create-bucket-aeolus]/returns: executed successfully
notice: Finished catalog run in 83.03 seconds

Comment 3 Ronelle Landy 2012-01-10 22:28:42 UTC
Details of the Deltacloud-core rhevm provider/datacenter change are in the links below:

https://teambox.com/projects/deltacloud/tasks/586718
https://issues.apache.org/jira/browse/DTACLOUD-117

Comment 4 Richard Su 2012-01-11 00:03:46 UTC
A fix as been committed to aeolus-configure as f3d033e0ebb2dca32fde0ba67277a3e3040e0eb1

To support data centers, the RHEVM provider URL is now in this form:
    
https://rhevm-rest-api-server:port/api;datacenter-uuid
    
Removed rhevm_deltacloud_provider configuration parameter and replaced
it with rhevm_deltacloud_api which represents the url to the REST API
and with rhevm_deltacloud_data_center which represents the data center
uuid.
    
In the example above,
rhevm_deltacloud_api = https://rhevm-rest-api-server:port/api
rhevm_deltacloud_data_center = datacenter-uuid

Comment 5 Richard Su 2012-01-11 18:48:11 UTC
Available in aeolus-configure-2.5.0-3.el6.noarch.rpm.

Comment 6 Dave Johnson 2012-01-11 19:28:19 UTC
good to go with aeolus-configure-2.5.0-3.el6.noarch

Comment 7 wes hayutin 2012-01-12 16:17:13 UTC
bugs in verified or on_qa moving off tracker

Comment 9 errata-xmlrpc 2012-05-15 20:45:33 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-0586.html