Bug 746790

Summary: audrey-client rpm requires additional dependency
Product: [Retired] CloudForms Cloud Engine Reporter: dgao
Component: aeolus-audrey-agentAssignee: Dan Radez <dradez>
Status: CLOSED CURRENTRELEASE QA Contact: dgao
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 1.0.0CC: gblomqui, 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-12-13 19:49:18 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 dgao 2011-10-17 19:16:11 UTC
audrey client requires python-httplib2.noarch as a dependency. Otherwise running it will result in:

[root@aeolus-client-1-qe ~]# audrey -h
Traceback (most recent call last):
  File "/usr/bin/audrey", line 25, in <module>
    import httplib2

Comment 2 Greg Blomquist 2011-10-19 13:41:47 UTC
The audrey client RPM spec needs to "require" the httplib2 python library.

Assigning to Dan Radez since he's in the middle of this now.

Comment 3 dgao 2011-10-19 22:27:01 UTC
Hey Greg, please do not verify bugs.. just dump them off to ON_QA when Dan made the change. Thanks

Comment 4 Dan Radez 2011-10-20 02:30:46 UTC
made a change that should fix this.
not sure your build process so let me know if I need to update the version or run a build.

Comment 5 dgao 2011-10-20 14:26:42 UTC
Verified.

[root@aeolus-client-1-qe ~]# yum clean all
Cleaning repos: fedora fedora-aeolus-testing updates
Cleaning up Everything
[root@aeolus-client-1-qe ~]# yum install aeolus-audrey_startup
fedora/metalink                                                                                                                                                               |  22 kB     00:00     
fedora                                                                                                                                                                        | 4.2 kB     00:00     
fedora/primary_db                                                                                                                                                             |  14 MB     00:19     
fedora-aeolus-testing                                                                                                                                                         | 1.3 kB     00:00     
fedora-aeolus-testing/primary                                                                                                                                                 |  34 kB     00:00     
fedora-aeolus-testing                                                                                                                                                                        133/133
updates/metalink                                                                                                                                                              |  12 kB     00:00     
updates                                                                                                                                                                       | 4.7 kB     00:00     
updates/primary_db                                                                                                                                                            | 5.2 MB     00:02     
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package aeolus-audrey_startup.noarch 0:0.3.1-3.fc15 will be installed
--> Processing Dependency: python-httplib2 for package: aeolus-audrey_startup-0.3.1-3.fc15.noarch
--> Processing Dependency: python-oauth2 for package: aeolus-audrey_startup-0.3.1-3.fc15.noarch
--> Running transaction check
---> Package python-httplib2.noarch 0:0.6.0-5.fc15 will be installed
---> Package python-oauth2.noarch 0:1.2.1-3.fc15 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

=====================================================================================================================================================================================================
 Package                                              Arch                                  Version                                       Repository                                            Size
=====================================================================================================================================================================================================
Installing:
 aeolus-audrey_startup                                noarch                                0.3.1-3.fc15                                  fedora-aeolus-testing                                 13 k
Installing for dependencies:
 python-httplib2                                      noarch                                0.6.0-5.fc15                                  fedora                                                35 k
 python-oauth2                                        noarch                                1.2.1-3.fc15                                  updates                                               25 k

Transaction Summary
=====================================================================================================================================================================================================
Install       3 Package(s)

Total download size: 73 k
Installed size: 220 k
Is this ok [y/N]: y
Downloading Packages:
(1/3): aeolus-audrey_startup-0.3.1-3.fc15.noarch.rpm                                                                                                                          |  13 kB     00:00     
(2/3): python-httplib2-0.6.0-5.fc15.noarch.rpm                                                                                                                                |  35 kB     00:00     
(3/3): python-oauth2-1.2.1-3.fc15.noarch.rpm                                                                                                                                  |  25 kB     00:00     
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                                                 88 kB/s |  73 kB     00:00     
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : python-httplib2-0.6.0-5.fc15.noarch                                                                                                                                               1/3 
  Installing : python-oauth2-1.2.1-3.fc15.noarch                                                                                                                                                 2/3 
  Installing : aeolus-audrey_startup-0.3.1-3.fc15.noarch                                                                                                                                         3/3 

Installed:
  aeolus-audrey_startup.noarch 0:0.3.1-3.fc15                                                                                                                                                        

Dependency Installed:
  python-httplib2.noarch 0:0.6.0-5.fc15                                                              python-oauth2.noarch 0:1.2.1-3.fc15                                                             

Complete!
[root@aeolus-client-1-qe ~]# audrey --help
usage: audrey [-h] [-a ADDR] [-p PORT] [-u UUID] [-P PW]
              [-L {DEBUG,INFO,WARNING,ERROR,CRITICAL}]

Audrey Start

optional arguments:
  -h, --help            show this help message and exit
  -a ADDR, --addr ADDR  Config Server IP Addr
  -p PORT, --port PORT  Config Server IP Port
  -u UUID, --UUID UUID  Instance UUID
  -P PW, --pw PW        Config Server IP password
  -L {DEBUG,INFO,WARNING,ERROR,CRITICAL}, --log_level {DEBUG,INFO,WARNING,ERROR,CRITICAL}
                        Audrey Agent Logging Level
[root@aeolus-client-1-qe ~]#

Comment 7 James Laska 2012-02-10 14:09:39 UTC
Reassigning to proper 'aeolus-audrey-agent' component.