Bug 709417

Summary: aeolus-cleanup fails to drop postgres db's
Product: [Retired] CloudForms Cloud Engine Reporter: wes hayutin <whayutin>
Component: aeolus-configureAssignee: Mike Orazi <morazi>
Status: CLOSED CURRENTRELEASE QA Contact: wes hayutin <whayutin>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 0.3.1CC: cpelland, dajohnso, mtaylor, 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-02 13:58:24 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
full log none

Description wes hayutin 2011-05-31 16:56:04 UTC
Created attachment 502046 [details]
full log

ssh root.rhts.eng.bos.redhat.com aeolus-cleanup
Stdout: 
[0;36mnotice: /Stage[main]/Aeolus::Image-factory::Disabled/Exec[remove_aeolus_templates]/returns: executed successfully[0m
[0;36mnotice: /Stage[main]/Aeolus::Conductor::Disabled/Rails::Drop::Db[drop_aeolus_database]/Exec[drop_rails_database]/returns: (in /usr/share/aeolus-conductor)[0m
[0;36mnotice: /Stage[main]/Aeolus::Conductor::Disabled/Rails::Drop::Db[drop_aeolus_database]/Exec[drop_rails_database]/returns: Couldn't drop conductor : #<PGError: FATAL: password authentication failed for user "aeolus"[0m
[0;36mnotice: /Stage[main]/Aeolus::Conductor::Disabled/Rails::Drop::Db[drop_aeolus_database]/Exec[drop_rails_database]/returns: >[0m
[0;36mnotice: /Stage[main]/Aeolus::Conductor::Disabled/Rails::Drop::Db[drop_aeolus_database]/Exec[drop_rails_database]/returns: executed successfully[0m
[0;36mnotice: Finished catalog run in 1.69 seconds[0m
Stderr:
ExitCode: 0


full log of install/configure/cleanup attached

Comment 1 Martyn Taylor 2011-06-02 13:14:49 UTC
This only happens when aeolus-cleanup is run before aeolus-configure.

In which case, cleanup will not be able to drop the "conductor" database from Postgres with user "aeolus" since neither the user nor the database exist.

Since puppet only shows a Notice and not an Error I reccomend we close this one off.  We might want to add another BZ to catch the Error message output by Postgres.

Thanks

Martyn

Comment 2 wes hayutin 2011-06-02 13:28:03 UTC
Martyn,
Please look at the log here..
http://hudson.rhq.lab.eng.bos.redhat.com:8080/hudson/view/DEV-CloudForms/job/cloudEngine-smoke-test/190/artifact/automatjon/cloudEngine/test-output/html/index.html

Search on aeolus-configre and aeolus-cleanup. You should see configure is run first, and cleanup unable to drop the postgres tables.

Thanks

Comment 3 wes hayutin 2011-06-02 13:28:39 UTC
click log output

Comment 4 Martyn Taylor 2011-06-02 13:58:24 UTC
Closing off.  Seems it was an issue with QE testing suite.

Comment 5 wes hayutin 2011-07-11 00:32:43 UTC
removing from tracker

Comment 6 wes hayutin 2011-12-08 13:55:50 UTC
perm close