When sh foreman_server.sh is executed it prints "Reset to user:admin, password:changeme" to the screen. Can you please not log this to the screen?
James - I think I missed the point of this bug. Are we suggesting that this will be in the documentation only? I think it's nice to include the URL to the UI along with the default username and password for users who are just getting started. Is it a security concern? I know there are notices saying that this password should be changed for security reasons if the environment will be kept up and running. Just curious to hear more details.
This happens "by accident" as a consequence of a workaround we added for RHOS 3 (the resetting of the default user account) as there was a bug at the time (RC version of Foreman). However the upstream Foreman installer - when not used via foreman_server.sh - will do this and does print the URL to the UI: Success! * Foreman is running at https://foreman.example.com Default credentials are 'admin:changeme' * Foreman Proxy is running at https://foreman.example.com:8443 * Puppetmaster is running at port 8140 The full log is at /var/log/foreman-installer/foreman-installer.log Regarding the security aspect, we're addressing that via bug #979241. I'd recommend we: - remove the admin account reset, it's not required and could actually reset an existing install - add a message like the Foreman installer itself does pointing to the UI, but keep the default password printing to the screen as long as it's a well known one (per Kurt's comment in the other BZ) - review once bug #979241 is implemented
I submitted an upstream pull request with the temporary solution as Dominic suggested. https://github.com/redhat-openstack/astapor/pull/55 Complete resolution is tied to bug #979241 as he pointed out, so i'd say we need to synchronize the Target Release of these two bugs.
Merged upstream
This doc text looks reasonable to me, is anything further needed here?
Hi Jason, nope that was all, just wanted to ensure I had interpreted the original doc text correctly. Thanks.
verified: checked that /usr/share/openstack-foreman-installer/bin/foreman_server.sh has the code changes specified in https://github.com/redhat-openstack/astapor/commit/f1b0f8e8f5d71d36b50b4bf6988e1e4fe3504196.
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-2013-1859.html