<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Hi Sasha, <br>
<br>
Thanks for the useful information. I can access the nodes in the
way you indicated. <br>
<br>
(Just in case you have any comment on this)<br>
Before that I tried to verify the overcloud as shown in the
guide (step after depolyment):<br>
<br>
$openstack overcloud validate --overcloud-auth-url
$OS_AUTH_URL
--overcloud-admin-password $OS_PASSWORD --network-id
fe427999-d1ee-4bc1-b765-8cb91dbb4db7<br>
<br>
All I got are the "Invalid credentials" errors in each test:<br>
<i><small><small><small><br>
setUpClass
(tempest.thirdparty.boto.test_s3_ec2_images.S3ImagesTest)<br>
--------------------------------------------------------------------<br>
<br>
Captured traceback:<br>
~~~~~~~~~~~~~~~~~~~<br>
Traceback (most recent call last):<br>
File "/home/stack/tempest/tempest/test.py", line
272, in setUpClass<br>
six.reraise(etype, value, trace)<br>
File "/home/stack/tempest/tempest/test.py", line
260, in setUpClass<br>
cls.setup_credentials()<br>
File "/home/stack/tempest/tempest/test.py", line
351, in setup_credentials<br>
credential_type=credentials_type)<br>
File "/home/stack/tempest/tempest/test.py", line
474, in get_client_manager<br>
cred_provider = cls._get_credentials_provider()<br>
File "/home/stack/tempest/tempest/test.py", line
452, in _get_credentials_provider<br>
identity_version=identity_version)<br>
File
"/home/stack/tempest/tempest/common/credentials.py", line
39, in get_isolated_credentials<br>
identity_version=identity_version)<br>
File
"/home/stack/tempest/tempest/common/isolated_creds.py",
line 149, in __init__<br>
identity_version=self.identity_version)<br>
File
"/home/stack/tempest/tempest/common/cred_provider.py",
line 67, in get_configured_credentials<br>
identity_version=identity_version, **params)<br>
File
"/home/stack/tempest/tempest/common/cred_provider.py",
line 96, in get_credentials<br>
**params)<br>
File
"/usr/lib/python2.7/site-packages/tempest_lib/auth.py",
line 481, in get_credentials<br>
ca_certs=ca_certs, trace_requests=trace_requests)<br>
File
"/usr/lib/python2.7/site-packages/tempest_lib/auth.py",
line 182, in __init__<br>
super(KeystoneAuthProvider,
self).__init__(credentials)<br>
File
"/usr/lib/python2.7/site-packages/tempest_lib/auth.py",
line 45, in __init__<br>
raise TypeError("Invalid credentials")<br>
TypeError: Invalid credentials</small></small></small></i><br>
<br>
<br>
Besides, I logged into each node and checked the services but most
of them are not running. <br>
Not sure if it's normal. <br>
<br>
<br>
<br>
But I will try to re-deploy again as you suggested with adding the
HEAT_INCLUDE_PASSWORD=1 option. <br>
<br>
<br>
<br>
Thanks, <br>
<br>
Erming<br>
<br>
On 10/14/15, 4:20 PM, Sasha Chuzhoy wrote:<br>
</div>
<blockquote
cite="mid:100630902.57596166.1444861215110.JavaMail.zimbra@redhat.com"
type="cite">
<pre wrap="">Hi,
So by default, when things work as expected, you should be able to login to your overcloud nodes as heat-admin (i.e. ssh heat-admin@<IP>).
I haven't seen this error, did you source the /home/stack/stackrc file prior to attempting the deployment?
I'd recomment you to remove the running/failed deployment and re-attempt to deploy again.
Best regards,
Sasha Chuzhoy.
----- Original Message -----
</pre>
<blockquote type="cite">
<pre wrap="">From: "Erming Pei" <a class="moz-txt-link-rfc2396E" href="mailto:erming@ualberta.ca"><erming@ualberta.ca></a>
To: <a class="moz-txt-link-abbreviated" href="mailto:rdo-list@redhat.com">rdo-list@redhat.com</a>
Sent: Wednesday, October 14, 2015 6:03:50 PM
Subject: [Rdo-list] [rdo-manager] Authentication required during overcloud deployment
Hi,
I am deploying the overcloud in baremetal way and after a couple of
hours, it showed:
$ openstack overcloud deploy --templates
Deploying templates in the directory
/usr/share/openstack-tripleo-heat-templates
^[[A^[[BERROR: openstack ERROR: Authentication failed. Please try again
with option --include-password or export HEAT_INCLUDE_PASSWORD=1
Authentication required
But I checked the nodes are now running:
[stack@gcloudcon-3 ~]$ nova list
+--------------------------------------+-------------------------+--------+------------+-------------+--------------------+
| ID | Name |
Status | Task State | Power State | Networks |
+--------------------------------------+-------------------------+--------+------------+-------------+--------------------+
| 1ba04ac0-fe2b-4318-aa31-2e5f4d8422a6 | overcloud-controller-0 |
ACTIVE | - | Running | ctlplane=10.0.6.60 |
| c152ba59-3aed-4fb0-81fa-e3fed7e35cf6 | overcloud-novacompute-0 |
ACTIVE | - | Running | ctlplane=10.0.6.61 |
+--------------------------------------+-------------------------+--------+------------+-------------+--------------------+
1. Should I re-deploy the nodes or there is a way to do update/makeup
for the authentication issue?
2.
I don't know how to access to the nodes.
There is not an overcloudrc file produced.
$ ls overcloud*
overcloud-env.json overcloud-full.initrd overcloud-full.qcow2
overcloud-full.vmlinuz
overcloud-full.d:
dib-manifests
Is it via ssh key or password? Should I set the authentication method
somewhere?
Thanks,
Erming
_______________________________________________
Rdo-list mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Rdo-list@redhat.com">Rdo-list@redhat.com</a>
<a class="moz-txt-link-freetext" href="https://www.redhat.com/mailman/listinfo/rdo-list">https://www.redhat.com/mailman/listinfo/rdo-list</a>
To unsubscribe: <a class="moz-txt-link-abbreviated" href="mailto:rdo-list-unsubscribe@redhat.com">rdo-list-unsubscribe@redhat.com</a>
</pre>
</blockquote>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
---------------------------------------------
Erming Pei, Ph.D
Senior System Analyst; Grid/Cloud Specialist
Research Computing Group
Information Services & Technology
University of Alberta, Canada
Tel: +1 7804929914 Fax: +1 7804921729
---------------------------------------------</pre>
</body>
</html>