Hide Forgot
At present, the Image Factory is expected to execute /usr/bin/audrey if it is present. We do so by adding a single line to rc.local. rc.local is a poor choice for startup code since it is a monolithic file (and seems to be gradually going away). This also needlessly couples Factory and Audrey. All parties in both the Factory and Audrey groups seem to agree that the Audrey RPM should install its own startup code going forward. This is an RFE bug to track progress on this issue. This is related to: https://bugzilla.redhat.com/show_bug.cgi?id=786123 (When the Audrey feature from this bug is implemented, we can remove the code associated with that BZ.)
Thanks Ian. Dan, we're tracking this with a redmine task now, I believe. Can you add the redmine task link to this bug?
There's two, both slated for 1.1 This on removes the dep on IF https://www.aeolusproject.org/redmine/issues/2948 this one converts the rc.local stuff to sysv/systemd https://www.aeolusproject.org/redmine/issues/2958 Do either of these need to be expedited to be included in 1.0? Radez
Updating version to 1.0 (found in version) Adding cloudforms-1.1? flag (to replace original version setting)
Both redmine issues are completed as of commit 15b46b6c297d689a068d99ebbe1db07eb7d03749
Per offline discussion, we're provisionally approving this for 1.0, pending Wes testing the bejeezus out of it.
Reassigning to proper 'aeolus-audrey-agent' component.
I've tested the bejeezus out of it.. but dont have the console logs to prove it.. will run through the automated tests with it one more time for the bug's sake. Other QE do not have re-verify this bug
[root@10-16-120-227 ~]# rpm -qa | grep "audrey" aeolus-audrey-agent-0.4.4-2.el6.noarch [root@10-16-120-227 ~]# ls /etc/init.d/audrey /etc/init.d/audrey [root@10-16-120-227 ~]# cat /etc/rc.local #!/bin/sh # # This script will be executed *after* all the other init scripts. # You can put your own initialization stuff in here if you don't # want to do the full Sys V style init stuff. touch /var/lock/subsys/local [root@10-16-120-227 ~]# cat /var/log/audrey.log 2012-02-21 15:05:04,150 - INFO : audrey:1293 Invoked audrey_script_main 2012-02-21 15:05:04,463 - INFO : audrey:1321 <Instance of: CSClient Version: 1 Config Server Endpoint: https://deaddonkey.usersys.redhat.com Config Server oAuth Key: 26712df2-5cc7-11e1-8332-0024e878a312 Config Server oAuth Secret: BPFbhtROR0rbb6EomEEcyq6XmGDir8zezoyaZgSnucWMLYV Config Server Params: Config Server Configs: Temporary Directory: Tarball Name: eot> 2012-02-21 15:05:04,473 - INFO : audrey:944 Invoked CSClient.get_cs_tooling() 2012-02-21 15:05:04,680 - INFO : audrey:682 Invoked unpack_tooling() 2012-02-21 15:05:04,686 - INFO : audrey:901 Invoked CSClient.get_cs_configs() 2012-02-21 15:05:04,895 - INFO : audrey:1356 No configuration parameters provided. status: 202 2012-02-21 15:05:04,896 - INFO : audrey:916 Invoked CSClient.get_cs_params() 2012-02-21 15:05:05,092 - INFO : audrey:520 Invoked generate_provides() 2012-02-21 15:05:05,747 - INFO : audrey:931 Invoked CSClient.put_cs_params_values() 2012-02-21 15:05:16,047 - INFO : audrey:901 Invoked CSClient.get_cs_configs() 2012-02-21 15:05:16,300 - INFO : audrey:612 Execute Tooling command: /var/audrey/tooling/user/proxy1/start 2012-02-21 15:05:16,300 - INFO : audrey:612 return code: 0 2012-02-21 15:05:16,301 - INFO : audrey:612 Start Output of: /var/audrey/tooling/user/proxy1/start >>> PROGNAME *** *** *** *** *** *** PROGNAME: /var/audrey/tooling/user/proxy1/start pwd *** *** *** *** *** *** /var/audrey/tooling/user/proxy1 args *** *** *** *** *** *** printenv *** *** *** *** *** *** AUDREY_VAR_proxy1_proxy_server_1_param_1=a AUDREY_VAR_proxy1_proxy_server_1_param_2=b AUDREY_VAR_proxy1_proxy_server_1_param_3=10-16-120-115 AUDREY_VAR_proxy2_proxy_server_1_param_1=c AUDREY_VAR_proxy2_proxy_server_1_param_2=d <<< End Output 2012-02-21 15:05:16,311 - INFO : audrey:612 Execute Tooling command: /var/audrey/tooling/user/proxy2/start 2012-02-21 15:05:16,311 - INFO : audrey:612 return code: 0 2012-02-21 15:05:16,312 - INFO : audrey:612 Start Output of: /var/audrey/tooling/user/proxy2/start >>> PROGNAME *** *** *** *** *** *** PROGNAME: /var/audrey/tooling/user/proxy2/start pwd *** *** *** *** *** *** /var/audrey/tooling/user/proxy2 args *** *** *** *** *** *** printenv *** *** *** *** *** *** AUDREY_VAR_proxy1_proxy_server_1_param_1=a AUDREY_VAR_proxy1_proxy_server_1_param_2=b AUDREY_VAR_proxy1_proxy_server_1_param_3=10-16-120-115 AUDREY_VAR_proxy2_proxy_server_1_param_1=c AUDREY_VAR_proxy2_proxy_server_1_param_2=d <<< End Output
Flipping this bug to verified based on my previous comment.
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