<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p
{mso-style-priority:99;
mso-margin-top-alt:auto;
margin-right:0in;
mso-margin-bottom-alt:auto;
margin-left:0in;
font-size:12.0pt;
font-family:"Times New Roman",serif;}
span.EmailStyle18
{mso-style-type:personal;
font-family:"Calibri",sans-serif;
color:#1F497D;}
span.EmailStyle19
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Hi Guys,
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">I am still having issues while installing the undercloud.
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">I have exhausted all the options and tried to do undercloud install as per the tripleo guidelines.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><a href="http://tripleo.org/installation/installation.html">http://tripleo.org/installation/installation.html</a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">But, each time I hit the same errors:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Error: /Stage[main]/Neutron::Keystone::Auth/Keystone::Resource::Service_identity[neutron]/Keystone_user[neutron]: Could not evaluate: Execution of '/bin/openstack
domain show --format shell Default' returned 1: Could not find resource Default<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Error: /Stage[main]/Heat::Keystone::Auth/Keystone::Resource::Service_identity[heat]/Keystone_user[heat]: Could not evaluate: Execution of '/bin/openstack domain
show --format shell Default' returned 1: Could not find resource Default<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Error: Could not prefetch keystone_service provider 'openstack': Execution of '/bin/openstack service list --quiet --format csv --long' returned 1: Gateway Timeout
(HTTP 504)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Error: Not managing Keystone_service[glance] due to earlier Keystone API failures.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Error: /Stage[main]/Glance::Keystone::Auth/Keystone::Resource::Service_identity[glance]/Keystone_service[glance::image]/ensure: change from absent to present
failed: Not managing Keystone_service[glance] due to earlier Keystone API failures.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Error: Could not prefetch keystone_role provider 'openstack': Execution of '/bin/openstack role list --quiet --format csv' returned 1: Gateway Timeout (HTTP 504)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Error: Not managing Keystone_role[ResellerAdmin] due to earlier Keystone API failures.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Error: /Stage[main]/Ceilometer::Keystone::Auth/Keystone_role[ResellerAdmin]/ensure: change from absent to present failed: Not managing Keystone_role[ResellerAdmin]
due to earlier Keystone API failures.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Error: Not managing Keystone_service[ironic] due to earlier Keystone API failures.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Error: /Stage[main]/Ironic::Keystone::Auth/Keystone::Resource::Service_identity[ironic]/Keystone_service[ironic::baremetal]/ensure: change from absent to present
failed: Not managing Keystone_service[ironic] due to earlier Keystone API failures.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Please suggest.
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> Gunjan, Milind [CTO]
<br>
<b>Sent:</b> Wednesday, June 29, 2016 7:39 AM<br>
<b>To:</b> 'Mohammed Arafa' <mohammed.arafa@gmail.com><br>
<b>Cc:</b> rdo-list@redhat.com; Marius Cornea <marius@remote-lab.net><br>
<b>Subject:</b> RE: [rdo-list] Redeploying UnderCloud for baremetal triple-o deployment<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Okay . Updated the host file with shortname and fqdn.
<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">root@undercloud ~]# cat /etc/hosts</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">127.0.0.1 undercloud undercloud.poc</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">I am looking to install stable release of Openstack kilo / liberty. Can you please point me to the stable repo which I can pull for the install.
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Best Regards,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Milind<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> Mohammed Arafa [<a href="mailto:mohammed.arafa@gmail.com">mailto:mohammed.arafa@gmail.com</a>]
<br>
<b>Sent:</b> Wednesday, June 29, 2016 7:34 AM<br>
<b>To:</b> Gunjan, Milind [CTO] <<a href="mailto:Milind.Gunjan@sprint.com">Milind.Gunjan@sprint.com</a>><br>
<b>Cc:</b> <a href="mailto:rdo-list@redhat.com">rdo-list@redhat.com</a>; Marius Cornea <<a href="mailto:marius@remote-lab.net">marius@remote-lab.net</a>><br>
<b>Subject:</b> RE: [rdo-list] Redeploying UnderCloud for baremetal triple-o deployment<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p>You need both short name and fqdn in your hosts file. (Rabbitmq issue. Don't know if that's been fixed)<o:p></o:p></p>
<div>
<p class="MsoNormal">On Jun 29, 2016 1:19 PM, "Gunjan, Milind [CTO]" <<a href="mailto:Milind.Gunjan@sprint.com">Milind.Gunjan@sprint.com</a>> wrote:<o:p></o:p></p>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt">
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Thanks a lot for pointing out the mistakes.
</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">So, as suggested, I updated the hostname in the host file to match in similar way as instructed in
the docs:</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">[root@undercloud ~]# cat /etc/hostname</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">undercloud.poc</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">[root@undercloud ~]# cat /etc/hosts</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">127.0.0.1 undercloud.poc</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Is there any stable kilo package which can be used for installation ?</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Best Regards,</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Milind Gunjan</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> Mohammed Arafa [mailto:<a href="mailto:mohammed.arafa@gmail.com" target="_blank">mohammed.arafa@gmail.com</a>]
<br>
<b>Sent:</b> Wednesday, June 29, 2016 3:25 AM<br>
<b>To:</b> Marius Cornea <<a href="mailto:marius@remote-lab.net" target="_blank">marius@remote-lab.net</a>><br>
<b>Cc:</b> <a href="mailto:rdo-list@redhat.com" target="_blank">rdo-list@redhat.com</a>; Gunjan, Milind [CTO] <<a href="mailto:Milind.Gunjan@sprint.com" target="_blank">Milind.Gunjan@sprint.com</a>><br>
<b>Subject:</b> Re: [rdo-list] Redeploying UnderCloud for baremetal triple-o deployment</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p>The hostname in the hosts file don't match. <o:p></o:p></p>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">On Jun 29, 2016 8:58 AM, "Marius Cornea" <<a href="mailto:marius@remote-lab.net" target="_blank">marius@remote-lab.net</a>> wrote:<o:p></o:p></p>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt">
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">On Tue, Jun 28, 2016 at 10:45 PM, Gunjan, Milind [CTO]<br>
<<a href="mailto:Milind.Gunjan@sprint.com" target="_blank">Milind.Gunjan@sprint.com</a>> wrote:<br>
> Hi All,<br>
><br>
> Thanks a lot for continued support.<br>
><br>
> I would just like to get clarity regarding the last recommendation.<br>
> My current deployment is failing with following error :<br>
><br>
> Error: Could not prefetch keystone_service provider 'openstack': Execution of '/bin/openstack service list --quiet --format csv --long' returned 1: Gateway Timeout (HTTP 504)<br>
> Error: Could not prefetch keystone_role provider 'openstack': Execution of '/bin/openstack role list --quiet --format csv' returned 1: Gateway Timeout (HTTP 504)<br>
> Error: Could not prefetch keystone_endpoint provider 'openstack': Execution of '/bin/openstack endpoint list --quiet --format csv' returned 1: Gateway Timeout (HTTP 504)<br>
><br>
><br>
> I have previously done RHEL OSP7 deployment and I verified the host file of RHEL OSP7 undercloud deployment and it was configured with host gateway used by pxe network.<br>
><br>
> Similarly, we have set the current host gateway to 192.0.2.1 as shown below for rdo manager undercloud installation:<br>
> [stack@rdo-undercloud etc]$ cat /etc/hosts<br>
>> 127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4<br>
>> ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6<br>
>> 192.0.2.1 rdo-undercloud undercloud-rdo.mydomain<br>
><br>
> I would like to know if it is required during rdo deployment to have it with the address of the public interface, e.g:<br>
> $ip_public_nic rdo-undercloud rdo-undercloud.mydomain.<br>
<br>
The reason I asked for it is because of:<br>
<br>
Notice: /Stage[main]/Heat::Db::Sync/Exec[heat-dbsync]/returns: ERROR:<br>
(pymysql.err.OperationalError) (1045, u"Access denied for user<br>
'heat'@'rdo-undercloud' (using password: YES)")<br>
<br>
Typically the undercloud's local_ip is used for these operations but<br>
in your case it's added to the hosts files and maybe this ip name<br>
mapping doesn't allow the installation to proceed. Please note that<br>
the docs[1] point that you should have an FQDN entry in the hosts file<br>
before the undercloud installation(when 192.0.2.1 isn't yet set on the<br>
system), that's why I mentioned the ip address of the public nic.<br>
<br>
[1] <a href="http://docs.openstack.org/developer/tripleo-docs/installation/installation.html" target="_blank">
http://docs.openstack.org/developer/tripleo-docs/installation/installation.html</a><br>
<br>
><br>
> Thanks again for your time and help. Really appreciate it.<br>
><br>
> Best Regards,<br>
> milind<br>
><br>
> -----Original Message-----<br>
> From: Marius Cornea [mailto:<a href="mailto:marius@remote-lab.net" target="_blank">marius@remote-lab.net</a>]<br>
> Sent: Tuesday, June 28, 2016 4:28 AM<br>
> To: Gunjan, Milind [CTO] <<a href="mailto:Milind.Gunjan@sprint.com" target="_blank">Milind.Gunjan@sprint.com</a>><br>
> Cc: <a href="mailto:rdo-list@redhat.com" target="_blank">rdo-list@redhat.com</a><br>
> Subject: Re: [rdo-list] Redeploying UnderCloud for baremetal triple-o deployment<br>
><br>
> On Tue, Jun 28, 2016 at 5:18 AM, Gunjan, Milind [CTO]<br>
> <<a href="mailto:Milind.Gunjan@sprint.com" target="_blank">Milind.Gunjan@sprint.com</a>> wrote:<br>
>> Hi Dan,<br>
>> Thanks a lot for your response.<br>
>><br>
>> Even after properly updating the undercloud.conf file and checking the network configuration, undercloud deployment still fails.<br>
>><br>
>> To recreate the issue , I am mentioning all the configuration steps:<br>
>> 1. Installed CentOS Linux release 7.2.1511 (Core) image on baremetal.<br>
>> 2. created stack user and provided required permission to stack user .<br>
>> 3. setting hostname<br>
>> sudo hostnamectl set-hostname rdo-undercloud.mydomain<br>
>> sudo hostnamectl set-hostname --transient rdo-undercloud.mydomain<br>
>><br>
>> [stack@rdo-undercloud etc]$ cat /etc/hosts<br>
>> 127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4<br>
>> ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6<br>
>> 192.0.2.1 rdo-undercloud undercloud-rdo.mydomain<br>
><br>
> Could you try removing the 192.0.2.1 entry from /etc/hosts and replace<br>
> it with the address of the public interface, e.g:<br>
> $ip_public_nic rdo-undercloud rdo-undercloud.mydomain<br>
><br>
> then rerun openstack undercloud install<br>
><br>
>> 4. enable required repositories<br>
>> sudo yum -y install epel-release<br>
>> sudo curl -o /etc/yum.repos.d/delorean-liberty.repo <a href="https://trunk.rdoproject.org/centos7-liberty/current/delorean.repo" target="_blank">
https://trunk.rdoproject.org/centos7-liberty/current/delorean.repo</a><br>
>> sudo curl -o /etc/yum.repos.d/delorean-deps-liberty.repo <a href="http://trunk.rdoproject.org/centos7-liberty/delorean-deps.repo" target="_blank">
http://trunk.rdoproject.org/centos7-liberty/delorean-deps.repo</a><br>
>><br>
>> 5. install repos<br>
>><br>
>> sudo yum -y install yum-plugin-priorities<br>
>> sudo yum install -y python-tripleoclient<br>
>><br>
>> 6. update undercloud.conf<br>
>><br>
>> [stack@rdo-undercloud ~]$ cat undercloud.conf<br>
>> [DEFAULT]<br>
>> local_ip = <a href="http://192.0.2.1/24" target="_blank">192.0.2.1/24</a><br>
>> undercloud_public_vip = 192.0.2.2<br>
>> undercloud_admin_vip = 192.0.2.3<br>
>> local_interface = enp6s0<br>
>> masquerade_network = <a href="http://192.0.2.0/24" target="_blank">192.0.2.0/24</a><br>
>> dhcp_start = 192.0.2.150<br>
>> dhcp_end = 192.0.2.199<br>
>> network_cidr = <a href="http://192.0.2.0/24" target="_blank">192.0.2.0/24</a><br>
>> network_gateway = 192.0.2.1<br>
>> discovery_iprange = 192.0.2.200,192.0.2.230<br>
>> discovery_runbench = false<br>
>> [auth]<br>
>><br>
>> 7. install undercloud<br>
>><br>
>> openstack undercloud install<br>
>><br>
>> install ends in error:<br>
>> Error: /Stage[main]/Neutron::Keystone::Auth/Keystone::Resource::Service_identity[neutron]/Keystone_user[neutron]: Could not evaluate: Execution of '/bin/openstack domain show --format shell Default' returned 1: Could not find resource Default<br>
>> Error: /Stage[main]/Heat::Keystone::Auth/Keystone::Resource::Service_identity[heat]/Keystone_user[heat]: Could not evaluate: Execution of '/bin/openstack domain show --format shell Default' returned 1: Could not find resource Default<br>
>> Error: Could not prefetch keystone_service provider 'openstack': Execution of '/bin/openstack service list --quiet --format csv --long' returned 1: Gateway Timeout (HTTP 504)<br>
>> Error: Not managing Keystone_service[glance] due to earlier Keystone API failures.<br>
>> Error: /Stage[main]/Glance::Keystone::Auth/Keystone::Resource::Service_identity[glance]/Keystone_service[glance::image]/ensure: change from absent to present failed: Not managing Keystone_service[glance] due to earlier Keystone API failures.<br>
>> Error: Could not prefetch keystone_role provider 'openstack': Execution of '/bin/openstack role list --quiet --format csv' returned 1: Gateway Timeout (HTTP 504)<br>
>> Error: Not managing Keystone_role[ResellerAdmin] due to earlier Keystone API failures.<br>
>> Error: /Stage[main]/Ceilometer::Keystone::Auth/Keystone_role[ResellerAdmin]/ensure: change from absent to present failed: Not managing Keystone_role[ResellerAdmin] due to earlier Keystone API failures.<br>
>> Error: Not managing Keystone_service[ironic] due to earlier Keystone API failures.<br>
>> Error: /Stage[main]/Ironic::Keystone::Auth/Keystone::Resource::Service_identity[ironic]/Keystone_service[ironic::baremetal]/ensure: change from absent to present failed: Not managing Keystone_service[ironic] due to earlier Keystone API failures.<br>
>> Error: /Stage[main]/Nova::Keystone::Auth/Keystone::Resource::Service_identity[nova service, user nova]/Keystone_user[nova]: Could not evaluate: Execution of '/bin/openstack domain show --format shell Default' returned 1: Could not find resource Default<br>
>> Error: /Stage[main]/Glance::Keystone::Auth/Keystone::Resource::Service_identity[glance]/Keystone_user[glance]: Could not evaluate: Execution of '/bin/openstack domain show --format shell Default' returned 1: Could not find resource Default<br>
>> Error: Not managing Keystone_service[novav3] due to earlier Keystone API failures.<br>
>> Error: /Stage[main]/Nova::Keystone::Auth/Keystone::Resource::Service_identity[nova v3 service, user novav3]/Keystone_service[novav3::computev3]/ensure: change from absent to present failed: Not managing Keystone_service[novav3] due to earlier Keystone API
failures.<br>
>> Error: Not managing Keystone_role[heat_stack_user] due to earlier Keystone API failures.<br>
>> Error: /Stage[main]/Heat::Keystone::Auth/Keystone_role[heat_stack_user]/ensure: change from absent to present failed: Not managing Keystone_role[heat_stack_user] due to earlier Keystone API failures.<br>
>> Error: /Stage[main]/Ironic::Keystone::Auth/Keystone::Resource::Service_identity[ironic]/Keystone_user[ironic]: Could not evaluate: Execution of '/bin/openstack domain show --format shell Default' returned 1: Could not find resource Default<br>
>> Error: Not managing Keystone_service[nova] due to earlier Keystone API failures.<br>
>> Error: /Stage[main]/Nova::Keystone::Auth/Keystone::Resource::Service_identity[nova service, user nova]/Keystone_service[nova::compute]/ensure: change from absent to present failed: Not managing Keystone_service[nova] due to earlier Keystone API failures.<br>
>> Error: Not managing Keystone_role[swiftoperator] due to earlier Keystone API failures.<br>
>> Error: /Stage[main]/Swift::Keystone::Auth/Keystone_role[swiftoperator]/ensure: change from absent to present failed: Not managing Keystone_role[swiftoperator] due to earlier Keystone API failures.<br>
>> Error: /Stage[main]/Ceilometer::Keystone::Auth/Keystone::Resource::Service_identity[ceilometer]/Keystone_user[ceilometer]: Could not evaluate: Execution of '/bin/openstack domain show --format shell Default' returned 1: Could not find resource Default<br>
>> Error: Not managing Keystone_service[neutron] due to earlier Keystone API failures.<br>
>> Error: /Stage[main]/Neutron::Keystone::Auth/Keystone::Resource::Service_identity[neutron]/Keystone_service[neutron::network]/ensure: change from absent to present failed: Not managing Keystone_service[neutron] due to earlier Keystone API failures.<br>
>> Error: Not managing Keystone_service[ceilometer] due to earlier Keystone API failures.<br>
>> Error: /Stage[main]/Ceilometer::Keystone::Auth/Keystone::Resource::Service_identity[ceilometer]/Keystone_service[ceilometer::metering]/ensure: change from absent to present failed: Not managing Keystone_service[ceilometer] due to earlier Keystone API failures.<br>
>> Error: Not managing Keystone_service[swift] due to earlier Keystone API failures.<br>
>> Error: /Stage[main]/Swift::Keystone::Auth/Keystone::Resource::Service_identity[swift]/Keystone_service[swift::object-store]/ensure: change from absent to present failed: Not managing Keystone_service[swift] due to earlier Keystone API failures.<br>
>> Error: Not managing Keystone_service[keystone] due to earlier Keystone API failures.<br>
>> Error: /Stage[main]/Keystone::Endpoint/Keystone::Resource::Service_identity[keystone]/Keystone_service[keystone::identity]/ensure: change from absent to present failed: Not managing Keystone_service[keystone] due to earlier Keystone API failures.<br>
>> Error: Not managing Keystone_service[heat] due to earlier Keystone API failures.<br>
>> Error: /Stage[main]/Heat::Keystone::Auth/Keystone::Resource::Service_identity[heat]/Keystone_service[heat::orchestration]/ensure: change from absent to present failed: Not managing Keystone_service[heat] due to earlier Keystone API failures.<br>
>> Error: Could not prefetch keystone_endpoint provider 'openstack': Execution of '/bin/openstack endpoint list --quiet --format csv' returned 1: Gateway Timeout (HTTP 504)<br>
>> Error: /Stage[main]/Swift::Keystone::Auth/Keystone::Resource::Service_identity[swift]/Keystone_user[swift]: Could not evaluate: Execution of '/bin/openstack domain show --format shell Default' returned 1: Could not find resource Default<br>
>> Error: Could not prefetch keystone_tenant provider 'openstack': Execution of '/bin/openstack project list --quiet --format csv --long' returned 1: Gateway Timeout (HTTP 504)<br>
>> Error: Not managing Keystone_tenant[service] due to earlier Keystone API failures.<br>
>> Error: /Stage[main]/Keystone::Roles::Admin/Keystone_tenant[service]/ensure: change from absent to present failed: Not managing Keystone_tenant[service] due to earlier Keystone API failures.<br>
>> Error: Not managing Keystone_tenant[admin] due to earlier Keystone API failures.<br>
>> Error: /Stage[main]/Keystone::Roles::Admin/Keystone_tenant[admin]/ensure: change from absent to present failed: Not managing Keystone_tenant[admin] due to earlier Keystone API failures.<br>
>> Error: Not managing Keystone_role[admin] due to earlier Keystone API failures.<br>
>> Error: /Stage[main]/Keystone::Roles::Admin/Keystone_role[admin]/ensure: change from absent to present failed: Not managing Keystone_role[admin] due to earlier Keystone API failures.<br>
>> Error: /Stage[main]/Keystone::Roles::Admin/Keystone_user[admin]: Could not evaluate: Execution of '/bin/openstack domain show --format shell Default' returned 1: Could not find resource Default<br>
>> Error: Could not prefetch keystone_domain provider 'openstack': Execution of '/bin/openstack domain list --quiet --format csv' returned 1: Gateway Timeout (HTTP 504)<br>
>> Notice: /Stage[main]/Heat::Db::Sync/Exec[heat-dbsync]/returns: ERROR: (pymysql.err.OperationalError) (1045, u"Access denied for user 'heat'@'rdo-undercloud' (using password: YES)")<br>
>> Error: /Stage[main]/Heat::Db::Sync/Exec[heat-dbsync]: Failed to call refresh: heat-manage --config-file /etc/heat/heat.conf db_sync returned 1 instead of one of [0]<br>
>> Error: /Stage[main]/Heat::Db::Sync/Exec[heat-dbsync]: heat-manage --config-file /etc/heat/heat.conf db_sync returned 1 instead of one of [0]<br>
>> [2016-06-27 18:54:04,092] (os-refresh-config) [ERROR] during configure phase. [Command '['dib-run-parts', '/usr/libexec/os-refresh-config/configure.d']' returned non-zero exit status 1]<br>
>><br>
>> Notice: /Stage[main]/Heat::Deps/Anchor[heat::service::end]: Triggered 'refresh' from 4 events<br>
>> Notice: Finished catalog run in 5259.44 seconds<br>
>> + rc=6<br>
>> + set -e<br>
>> + echo 'puppet apply exited with exit code 6'<br>
>> puppet apply exited with exit code 6<br>
>> + '[' 6 '!=' 2 -a 6 '!=' 0 ']'<br>
>> + exit 6<br>
>> [2016-06-27 18:54:04,092] (os-refresh-config) [ERROR] during configure phase. [Command '['dib-run-parts', '/usr/libexec/os-refresh-config/configure.d']' returned non-zero exit status 1]<br>
>><br>
>> [2016-06-27 18:54:04,093] (os-refresh-config) [ERROR] Aborting...<br>
>> Traceback (most recent call last):<br>
>> File "<string>", line 1, in <module><br>
>> File "/usr/lib/python2.7/site-packages/instack_undercloud/undercloud.py", line 815, in install<br>
>> _run_orc(instack_env)<br>
>> File "/usr/lib/python2.7/site-packages/instack_undercloud/undercloud.py", line 699, in _run_orc<br>
>> _run_live_command(args, instack_env, 'os-refresh-config')<br>
>> File "/usr/lib/python2.7/site-packages/instack_undercloud/undercloud.py", line 370, in _run_live_command<br>
>> raise RuntimeError('%s failed. See log for details.' % name)<br>
>> RuntimeError: os-refresh-config failed. See log for details.<br>
>> Command 'instack-install-undercloud' returned non-zero exit status 1<br>
>><br>
>><br>
>> I am not able to understand the exact cause of undercloud install failure. It would be really helpful if you guys can point be in direction to understand the exact cause of issue and any possible resolution.<br>
>><br>
>> Thanks a lot.<br>
>><br>
>> Best Regards,<br>
>> Milind<br>
>><br>
>><br>
>> Best Regards,<br>
>> Milind<br>
>> -----Original Message-----<br>
>> From: Dan Sneddon [mailto:<a href="mailto:dsneddon@redhat.com" target="_blank">dsneddon@redhat.com</a>]<br>
>> Sent: Monday, June 27, 2016 12:40 PM<br>
>> To: Gunjan, Milind [CTO] <<a href="mailto:Milind.Gunjan@sprint.com" target="_blank">Milind.Gunjan@sprint.com</a>>;
<a href="mailto:rdo-list@redhat.com" target="_blank">rdo-list@redhat.com</a><br>
>> Subject: Re: [rdo-list] Redeploying UnderCloud<br>
>><br>
>> On 06/27/2016 06:41 AM, Gunjan, Milind [CTO] wrote:<br>
>>> Hi All,<br>
>>><br>
>>> Greeting.<br>
>>><br>
>>><br>
>>><br>
>>> This is my first post and I am fairly new to RDO OpenStack. I am<br>
>>> working on RDO Triple-O deployment on baremetal. Due to incorrect<br>
>>> values in undercloud.conf file , my undercloud deployment failed. I<br>
>>> would like to redeploy undercloud and I am trying to understand what<br>
>>> steps has to be taken before redeploying undercloud. All the<br>
>>> deployment was under stack user . So first step will be to delete<br>
>>> stack user. I am not sure what has to be done regarding the networking<br>
>>> configuration autogenerated by os-net-config during the older install.<br>
>>><br>
>>> Please advise.<br>
>>><br>
>>><br>
>>><br>
>>> Best Regards,<br>
>>><br>
>>> Milind<br>
>><br>
>> No, definitely you don't want to delete the stack user, especially not as your first step! That would get rid of the configuration files, etc.<br>
>> that are in ~stack, and generally make your life harder than it needs to be.<br>
>><br>
>> Anyway, it isn't necessary. You can do a procedure very much like what you do when upgrading the undercloud, with a couple of extra steps.<br>
>><br>
>> As the stack user, edit your undercloud.conf, and make sure there are no more typos.<br>
>><br>
>> If the typos were in the network configuration, you should delete the bridge and remove the ifcfg files:<br>
>><br>
>> $ sudo ifdown br-ctlplane<br>
>> $ sudo ovs-vsctl del-br br-ctlplane<br>
>> $ sudo rm /etc/sysconfig/network-scripts/*br-ctlplane<br>
>><br>
>> Next, run the underclound installation again:<br>
>><br>
>> $ sudo yum update -y # Reboot after if kernel or core packages updated $ openstack undercloud install<br>
>><br>
>> Then proceed with the rest of the instructions. You may find that if you already uploaded disk images or imported nodes that they will still be in the database. That's OK, or you can delete and reimport.<br>
>><br>
>> --<br>
>> Dan Sneddon | Principal OpenStack Engineer<br>
>> <a href="mailto:dsneddon@redhat.com" target="_blank">dsneddon@redhat.com</a> |
<a href="http://redhat.com/openstack" target="_blank">redhat.com/openstack</a><br>
>> <a href="tel:650.254.4025" target="_blank">650.254.4025</a> | dsneddon:irc @dxs:twitter<br>
>><br>
>><br>
>><br>
>> ________________________________<br>
>> Learn more on how to switch to Sprint and save 50% on most Verizon, AT&T or T-Mobile rates. See
<a href="http://sprint.com/50off" target="_blank">sprint.com/50off</a><<a href="http://sprint.com/50off" target="_blank">http://sprint.com/50off</a>> for details.<br>
>><br>
>> ________________________________<br>
>><br>
>> This e-mail may contain Sprint proprietary information intended for the sole use of the recipient(s). Any use by others is prohibited. If you are not the intended recipient, please contact the sender and delete all copies of the message.<br>
>><br>
>> _______________________________________________<br>
>> rdo-list mailing list<br>
>> <a href="mailto:rdo-list@redhat.com" target="_blank">rdo-list@redhat.com</a><br>
>> <a href="https://www.redhat.com/mailman/listinfo/rdo-list" target="_blank">https://www.redhat.com/mailman/listinfo/rdo-list</a><br>
>><br>
>> To unsubscribe: <a href="mailto:rdo-list-unsubscribe@redhat.com" target="_blank">
rdo-list-unsubscribe@redhat.com</a><br>
<br>
_______________________________________________<br>
rdo-list mailing list<br>
<a href="mailto:rdo-list@redhat.com" target="_blank">rdo-list@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/rdo-list" target="_blank">https://www.redhat.com/mailman/listinfo/rdo-list</a><br>
<br>
To unsubscribe: <a href="mailto:rdo-list-unsubscribe@redhat.com" target="_blank">
rdo-list-unsubscribe@redhat.com</a><o:p></o:p></p>
</blockquote>
</div>
</div>
</div>
</blockquote>
</div>
</div>
</body>
</html>