Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 855986

Summary: thin fails to start -- /usr/share/aeolus-conductor/vendor/provider_selection/strategies/strict_order/strict_order.rb missing
Product: [Retired] CloudForms Cloud Engine Reporter: Matt Wagner <matt.wagner>
Component: aeolus-conductorAssignee: Imre Farkas <ifarkas>
Status: CLOSED ERRATA QA Contact: Rehana <aeolus-qa-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 1.0.0CC: athomas, dajohnso, dmacpher, jlaska, morazi, rlandy
Target Milestone: rcKeywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Cloud Engine attempted to load non-existent files from an empty directory, which caused the thin web server to fail. This fix removes the reference to the directory in Cloud Engine's spec file. Cloud Engine now starts without failure.
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-12-04 15:18:55 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
aeolus-configure output
none
thin.log none

Description Matt Wagner 2012-09-10 20:49:14 UTC
Created attachment 611564 [details]
aeolus-configure output

Description of problem:
Using the build mentioned below in V-R, thin fails to start. Beyond thin not failing (a big deal on its own), this causes some failures in aeolus-configure since thin cannot be reached.

I will attach logs with a full trace, but the exception is: /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require': no such file to load -- /usr/share/aeolus-conductor/vendor/provider_selection/strategies/strict_order/strict_order.rb (LoadError)


Version-Release number of selected component (if applicable):
aeolus-conductor-daemons-0.13.3-1.el6cf.noarch
rubygem-aeolus-image-0.6.0-1.el6cf.noarch
rubygem-aeolus-cli-0.7.1-1.el6cf.noarch
aeolus-all-0.13.3-1.el6cf.noarch
aeolus-configure-2.8.3-1.el6cf.noarch
aeolus-conductor-0.13.3-1.el6cf.noarch
aeolus-conductor-doc-0.13.3-1.el6cf.noarch



How reproducible:
100% AFAICT


Steps to Reproduce:
1. Update to the versions mentioned.
2. service aeolus-conductor restart (will fail to start)
3. View /var/log/aeolus-conductor/thin.log with dismay.

  
Actual results:
Thin fails to start, displaying a stack trace.


Expected results:
Thin starts and no exceptions are raised.


Additional info:
See attachments.

Comment 1 Matt Wagner 2012-09-10 20:49:43 UTC
Created attachment 611565 [details]
thin.log

Comment 3 Matt Wagner 2012-09-10 21:16:39 UTC
The strict_order/ directory is empty in this build, and doesn't even exist in a checkout of 1.1.

It's unclear to me why it's trying to load a file that doesn't exist; I can't find any actual references to it.

Comment 4 Matt Wagner 2012-09-10 21:24:33 UTC
Just copying those files in seems to resolve the problem. It is not clear to me why they are not already there -- have they been deliberately omitted, or was this just an oversight?

Comment 6 Matt Wagner 2012-09-11 21:11:31 UTC
I had to re-create the patch, but it's pushed to 1.1 now:

commit 9e8bacfce7fbed6932a060c98c57f8bc7aae3ab5
Author: Matt Wagner <matt.wagner>
Date:   Tue Sep 11 16:42:18 2012 -0400

    BZ #855986: Fix RPM building after strict order strategy removed
    
    https://bugzilla.redhat.com/show_bug.cgi?id=855986

Comment 8 Ronelle Landy 2012-09-25 17:31:03 UTC
Tested rpms:

>> rpm -qa |grep aeolus
aeolus-configure-2.8.7-1.el6cf.noarch
rubygem-aeolus-image-0.3.0-12.el6.noarch
rubygem-aeolus-cli-0.7.2-1.el6cf.noarch
aeolus-conductor-0.13.14-1.el6cf.noarch
aeolus-conductor-daemons-0.13.14-1.el6cf.noarch
aeolus-conductor-doc-0.13.14-1.el6cf.noarch
aeolus-all-0.13.14-1.el6cf.noarch

Thin restarted as required:

>> aeolus-conductor restart
-bash: aeolus-conductor: command not found
[root@qeblade39 ~]# service aeolus-conductor restart
Shutting down thin: [  OK  ]
Starting thin: [  OK  ]

aeolus-configure completed without error:

>> aeolus-configure -p mock,rhevm
Launching aeolus configuration recipe...
notice: /Stage[main]/Aeolus::Conductor/Aeolus::Rails::Create::Db[create_aeolus_database]/Exec[create_rails_database]/returns: executed successfully
notice: /Stage[main]/Aeolus::Conductor/Aeolus::Rails::Migrate::Db[migrate_aeolus_database]/Exec[migrate_rails_database]/returns: executed successfully
notice: /Stage[main]/Aeolus::Conductor/Aeolus::Conductor::Destroy_temp_admins[before]/Exec[destroy_temp_admin-before]/returns: executed successfully
notice: /Stage[main]/Aeolus::Profiles::Common/Aeolus::Conductor::Temp_admin[temporary-administrative-user-1c78ee6f0e94d7a4589014e1d2883fbe23224b5b9ec56221]/Exec[create_temp_admin]/returns: executed successfully
notice: /Stage[main]/Aeolus::Profiles::Common/Aeolus::Conductor::Temp_admin[temporary-administrative-user-1c78ee6f0e94d7a4589014e1d2883fbe23224b5b9ec56221]/Exec[grant_temp_admin_privs]/returns: executed successfully
notice: /File[/usr/share/aeolus-conductor/config/initializers/secret_token.rb]/content: content changed '{md5}647fe52ee6aa92bd4d93a13d165d5048' to '{md5}bc41b5c48f232fa53591e5c96214a98b'
notice: /Stage[main]/Aeolus::Profiles::Common/Aeolus::Conductor::Login[temporary-administrative-user-1c78ee6f0e94d7a4589014e1d2883fbe23224b5b9ec56221]/Web_request[temporary-administrative-user-1c78ee6f0e94d7a4589014e1d2883fbe23224b5b9ec56221-conductor-login]/post: post changed '' to 'https://localhost/conductor/user_session'
notice: /Stage[main]/Aeolus::Profiles::Common/Aeolus::Conductor::Login[temporary-administrative-user-1c78ee6f0e94d7a4589014e1d2883fbe23224b5b9ec56221]/Exec[decrement_login_counter]/returns: executed successfully
notice: /Stage[main]/Aeolus::Profiles::Common/Aeolus::Conductor::Hwp[small-x86_64]/Web_request[hwp-small-x86_64]/post: post changed '' to 'https://localhost/conductor/hardware_profiles'
notice: /Stage[main]/Aeolus::Profiles::Common/Aeolus::Create_bucket[aeolus]/Exec[create-bucket-aeolus]/returns: executed successfully
notice: /Stage[main]/Aeolus::Deltacloud::Core/Exec[deltacloud-core-startup-wait]/returns: executed successfully
notice: /Stage[main]/Aeolus::Profiles::Mock/Aeolus::Conductor::Provider[mock]/Web_request[provider-mock]/post: post changed '' to 'https://localhost/conductor/providers.xml'
notice: /Stage[main]/Aeolus::Profiles::Mock/Aeolus::Conductor::Provider::Account[mock]/Web_request[provider-account-mock]/post: post changed '' to 'https://localhost/conductor/providers/0/provider_accounts'
notice: /Stage[main]/Aeolus::Profiles::Common/Aeolus::Conductor::Logout[temporary-administrative-user-1c78ee6f0e94d7a4589014e1d2883fbe23224b5b9ec56221]/Web_request[temporary-administrative-user-1c78ee6f0e94d7a4589014e1d2883fbe23224b5b9ec56221-conductor-logout]/get: get changed '' to 'https://localhost/conductor/logout'
notice: /Stage[main]/Aeolus::Profiles::Common/Aeolus::Conductor::Destroy_temp_admins[after]/Exec[destroy_temp_admin-after]/returns: executed successfully
notice: Finished catalog run in 43.36 seconds
notice: the RHEV NFS export is on the correct storage domain and has type 'export' => true
notice: /Stage[main]/Aeolus::Profiles::Rhevm/Aeolus::Profiles::Rhevm::Instance[default]/Aeolus::Rhevm::Validate[RHEV NFS export validation for default]/Notify[RHEV NFS export validation for default]/message: defined 'message' as 'the RHEV NFS export is on the correct storage domain and has type 'export' => true'
notice: /Stage[main]/Aeolus::Conductor/Aeolus::Rails::Create::Db[create_aeolus_database]/Exec[create_rails_database]/returns: executed successfully
notice: /Stage[main]/Aeolus::Conductor/Aeolus::Rails::Migrate::Db[migrate_aeolus_database]/Exec[migrate_rails_database]/returns: executed successfully
notice: /Stage[main]/Aeolus::Conductor/Aeolus::Conductor::Destroy_temp_admins[before]/Exec[destroy_temp_admin-before]/returns: executed successfully
notice: /Stage[main]/Aeolus::Profiles::Common/Aeolus::Conductor::Temp_admin[temporary-administrative-user-f01530be1effcb79ceee0d13931014d5a5028c7ab0454c50]/Exec[create_temp_admin]/returns: executed successfully
notice: /Stage[main]/Aeolus::Profiles::Common/Aeolus::Conductor::Temp_admin[temporary-administrative-user-f01530be1effcb79ceee0d13931014d5a5028c7ab0454c50]/Exec[grant_temp_admin_privs]/returns: executed successfully
notice: /Stage[main]/Aeolus::Profiles::Common/Aeolus::Conductor::Login[temporary-administrative-user-f01530be1effcb79ceee0d13931014d5a5028c7ab0454c50]/Web_request[temporary-administrative-user-f01530be1effcb79ceee0d13931014d5a5028c7ab0454c50-conductor-login]/post: post changed '' to 'https://localhost/conductor/user_session'
notice: /Stage[main]/Aeolus::Profiles::Common/Aeolus::Conductor::Login[temporary-administrative-user-f01530be1effcb79ceee0d13931014d5a5028c7ab0454c50]/Exec[decrement_login_counter]/returns: executed successfully
notice: /Stage[main]/Aeolus::Profiles::Common/Aeolus::Conductor::Hwp[small-x86_64]/Web_request[hwp-small-x86_64]/post: post changed '' to 'https://localhost/conductor/hardware_profiles'
notice: /Stage[main]/Aeolus::Deltacloud::Core/Exec[deltacloud-core-startup-
.....
/Aeolus::Conductor::Destroy_temp_admins[after]/Exec[destroy_temp_admin-after]/returns: executed successfully
notice: /Stage[main]/Aeolus::Profiles::Common/Aeolus::Create_bucket[aeolus]/Exec[create-bucket-aeolus]/returns: executed successfully
notice: Finished catalog run in 39.66 seconds

Comment 10 errata-xmlrpc 2012-12-04 15:18:55 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-1516.html