[Rdo-list] [rdo-manager] Authentication required during overcloud deployment

Steven Hardy shardy at redhat.com
Fri Oct 16 07:52:06 UTC 2015


On Thu, Oct 15, 2015 at 11:50:22PM -0400, Sasha Chuzhoy wrote:
> Hi Erming,
> So I tried to reproduce your issue by setting the passwords in the auth section of the undercloud file. My deployment completed successfully, although I ran into https://bugzilla.redhat.com/show_bug.cgi?id=1271289.
> 
> The warnings (not errors) are on the successfully deployed node too:
> Oct 16 03:46:45 localhost os-collect-config: 2015-10-16 03:46:45.845 1634 WARNING os-collect-config [-] Source [request] Unavailable.
> Oct 16 03:46:45 localhost os-collect-config: 2015-10-16 03:46:45.845 1634 WARNING os_collect_config.local [-] /var/lib/os-collect-config/local-data not found. Skipping
> Oct 16 03:46:45 localhost os-collect-config: 2015-10-16 03:46:45.846 1634 WARNING os_collect_config.local [-] No local metadata found (['/var/lib/os-collect-config/local-data'])
> Oct 16 03:46:45 localhost os-collect-config: 2015-10-16 03:46:45.847 1634 WARNING os_collect_config.zaqar [-] No auth_url configured.
> Oct 16 03:47:18 localhost os-collect-config: 2015-10-16 03:47:18.167 1634 WARNING os-collect-config [-] Source [request] Unavailable.
> Oct 16 03:47:18 localhost os-collect-config: 2015-10-16 03:47:18.168 1634 WARNING os_collect_config.local [-] /var/lib/os-collect-config/local-data not found. Skipping
> Oct 16 03:47:18 localhost os-collect-config: 2015-10-16 03:47:18.168 1634 WARNING os_collect_config.local [-] No local metadata found (['/var/lib/os-collect-config/local-data'])
> Oct 16 03:47:18 localhost os-collect-config: 2015-10-16 03:47:18.168 1634 WARNING os_collect_config.zaqar [-] No auth_url configured.
> Oct 16 03:47:51 localhost os-collect-config: 2015-10-16 03:47:51.150 1634 WARNING os-collect-config [-] Source [request] Unavailable.
> Oct 16 03:47:51 localhost os-collect-config: 2015-10-16 03:47:51.153 1634 WARNING os_collect_config.local [-] /var/lib/os-collect-config/local-data not found. Skipping
> Oct 16 03:47:51 localhost os-collect-config: 2015-10-16 03:47:51.153 1634 WARNING os_collect_config.local [-] No local metadata found (['/var/lib/os-collect-config/local-data'])
> Oct 16 03:47:51 localhost os-collect-config: 2015-10-16 03:47:51.154 1634 WARNING os_collect_config.zaqar [-] No auth_url configured.

Yeah these warnings are OK - if you look in /etc/os-collect-config.conf on
the nodes, you will see that we only configure the "cfn" collector, and
these warnings are coming from the other (unconfigured) collectors.

Perhaps we should look at making those a bit quieter, as you only need on
configured datasource for os-collect-config to work.

If you want to prove basic network connectivity for os-collect config, in
addition to checking the logs you can do something like:

http://fpaste.org/279853/98174414/

Here we see we can ping the configured IP, and wget shows we get a response
from the heat API on port 8000 (the IncompleteSignature is OK, because we
didn't include a signature in the request, but anything like no route to
host is obviously not OK).

Re the original "Authentication failed. Please try again" error - Dan is
correct, that nearly always happens due to a timeout, e.g due to the
keystone token expiring.  Again a clearer error would help here.  After we
fix [1] this will be easier, because you'll always hit the heat stack
timeout instead of the keystone token expiring.

[1] https://bugs.launchpad.net/heat/+bug/1306294

Steve




More information about the dev mailing list