<html><body><div style="font-family: times new roman, new york, times, serif; font-size: 12pt; color: #000000"><div><br></div><div>Ok, I ran <span style="font-family: Helvetica, Arial, sans-serif;" data-mce-style="font-family: Helvetica, Arial, sans-serif;">ironic node-set-provision-state [UUID] provide for each node and retried deployment. I attached the screenshots</span></div><div><br></div><div><br></div><div><p style="margin: 0px;" data-mce-style="margin: 0px;">[stack@undercloud ~]$ ironic node-list<br>+--------------------------------------+------+---------------+-------------+--------------------+-------------+<br>| UUID | Name | Instance UUID | Power State | Provisioning State | Maintenance |<br>+--------------------------------------+------+---------------+-------------+--------------------+-------------+<br>| 5b28998f-4dc8-42aa-8a51-521e20b1e5ed | None | None | power off | available | False |<br>| 6f35ac24-135d-4b99-8a24-fa2b731bd218 | None | None | power off | available | False |<br>+--------------------------------------+------+---------------+-------------+--------------------+-------------+</p></div><div><p style="margin: 0px;" data-mce-style="margin: 0px;"><br>[stack@undercloud ~]$ nova flavor-list<br>+--------------------------------------+-----------+-----------+------+-----------+------+-------+-------------+-----------+<br>| ID | Name | Memory_MB | Disk | Ephemeral | Swap | VCPUs | RXTX_Factor | Is_Public |<br>+--------------------------------------+-----------+-----------+------+-----------+------+-------+-------------+-----------+<br>| b9428c86-5696-4d68-a0e0-77faf4e7f627 | baremetal | 4096 | 40 | 0 | | 1 | 1.0 | True |<br>+--------------------------------------+-----------+-----------+------+-----------+------+-------+-------------+-----------+</p><p style="margin: 0px;" data-mce-style="margin: 0px;"><br></p><p style="margin: 0px;" data-mce-style="margin: 0px;">[stack@undercloud ~]$ openstack overcloud deploy --templates<br>Deploying templates in the directory /usr/share/openstack-tripleo-heat-templates<br>Stack failed with status: resources.Controller: resources[0]: ResourceInError: resources.Controller: Went to status ERROR due to "Message: No valid host was found. There are not enough hosts available., Code: 500"<br>Heat Stack update failed.</p><p style="margin: 0px;" data-mce-style="margin: 0px;"><br></p><p style="margin: 0px;" data-mce-style="margin: 0px;">[stack@undercloud ~]$ sudo systemctl|grep ironic<br>openstack-ironic-api.service loaded active running OpenStack Ironic API service<br>openstack-ironic-conductor.service loaded active running OpenStack Ironic Conductor service<br>openstack-ironic-inspector-dnsmasq.service loaded active running PXE boot dnsmasq service for Ironic Inspector<br>openstack-ironic-inspector.service loaded active running Hardware introspection service for OpenStack Ironic</p></div><div><br></div><div>"journalctl -fl -u openstack-ironic-conductor.service" gives no warning or error.</div><div><br></div><div>Regards</div><div><br></div><div><span name="x"></span><div></div>
<div style="font-family: Tahoma,Geneva,sans-serif; color: #cc0000; font-size: 9px;"><strong>Esra ÇELİK</strong></div><div style="font-family: Tahoma,Geneva,sans-serif; color: #404040; font-size: 9px;">
</div>
<div style="font-family: Tahoma,Geneva,sans-serif; color: #404040; font-size: 9px;">TÜBİTAK BİLGEM</div>
<div style="margin-top: 4px; font-family: Tahoma,Geneva,sans-serif; color: #404040; font-size: 9px;"><span class="Object" id="OBJ_PREFIX_DWT517_com_zimbra_url"><a href="http://www.bilgem.tubitak.gov.tr">www.bilgem.tubitak.gov.tr</a></span></div>
<div style="margin-top: 4px; font-family: Tahoma,Geneva,sans-serif; color: #404040; font-size: 9px;"><span class="Object"><a href="mailto:celik.esra@tubitak.gov.tr">celik.esra@tubitak.gov.tr</a></span></div><span name="x"></span><br></div><hr id="zwchr"><blockquote style="border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><b>Kimden: </b>"Sasha Chuzhoy" <sasha@redhat.com><br><b>Kime: </b>"Esra Celik" <celik.esra@tubitak.gov.tr><br><b>Kk: </b>"Marius Cornea" <mcornea@redhat.com>, rdo-list@redhat.com<br><b>Gönderilenler: </b>19 Ekim Pazartesi 2015 19:13:24<br><b>Konu: </b>Re: Yan: Re: [Rdo-list] OverCloud deploy fails with error "No valid host was found"<br><div><br></div>Could you please <br>1.run:<br>'ironic node-set-provision-state [UUID] provide' for each node where UUID is replaced with the actual UUID of the node (ironic node-list).<br><div><br></div>2.retry the deployment<br>Thanks.<br><div><br></div>Best regards,<br>Sasha Chuzhoy.<br><div><br></div>----- Original Message -----<br>> From: "Esra Celik" <celik.esra@tubitak.gov.tr><br>> To: "Sasha Chuzhoy" <sasha@redhat.com><br>> Cc: "Marius Cornea" <mcornea@redhat.com>, rdo-list@redhat.com<br>> Sent: Monday, October 19, 2015 11:39:46 AM<br>> Subject: Yan: Re: [Rdo-list] OverCloud deploy fails with error "No valid host was found"<br>> <br>> Hi Sasha<br>> <br>> <br>> <br>> This is my instackenv.json. MAC addresses are, em2 interface’s MAC<br>> address of the nodes<br>> <br>> {<br>> "nodes": [<br>> {<br>> "pm_type":"pxe_ipmitool",<br>> "mac":[<br>> "08:9E:01:58:CC:A1"<br>> ],<br>> "cpu":"4",<br>> "memory":"8192",<br>> "disk":"10",<br>> "arch":"x86_64",<br>> "pm_user":"root",<br>> "pm_password”:”<pwd>”,<br>> "pm_addr":"192.168.0.18"<br>> },<br>> {<br>> "pm_type":"pxe_ipmitool",<br>> "mac":[<br>> "08:9E:01:58:D0:3D"<br>> ],<br>> "cpu":"4",<br>> "memory":"8192",<br>> "disk":"100",<br>> "arch":"x86_64",<br>> "pm_user":"root",<br>> "pm_password”:”<pwd>”,<br>> "pm_addr":"192.168.0.19"<br>> }<br>> ]<br>> }<br>> <br>> This is my undercloud.conf file:<br>> image_path = .<br>> local_ip = 192.0.2.1/24<br>> local_interface = em2<br>> masquerade_network = 192.0.2.0/24<br>> dhcp_start = 192.0.2.5<br>> dhcp_end = 192.0.2.24<br>> network_cidr = 192.0.2.0/24<br>> network_gateway = 192.0.2.1<br>> inspection_interface = br-ctlplane<br>> inspection_iprange = 192.0.2.100,192.0.2.120<br>> inspection_runbench = false<br>> undercloud_debug = true<br>> enable_tuskar = false<br>> enable_tempest = false<br>> <br>> <br>> <br>> I have previously sent the screenshot of the consoles during introspection<br>> stage. Now I am attaching them again.<br>> I cannot login to consoles because introspection stage is not completed<br>> successfully and I don't know the IP addresses. (nova list is empty)<br>> (I don't know if I can login with the IP addresses that I was previously set<br>> by myself. I am not able to reach the nodes now, from home.)<br>> <br>> I ran the flavor-create command after the introspection stage. But<br>> introspection was not completed successfully,<br>> I just ran deploy command to see if nova list fills during deployment.<br>> <br>> <br>> Esra ÇELİK<br>> TÜBİTAK BİLGEM<br>> www.bilgem.tubitak.gov.tr<br>> celik.esra@tubitak.gov.tr<br>> <br>> <br>> <br>> ----- Sasha Chuzhoy <sasha@redhat.com> şöyle yazıyor:> Esra, Is it<br>> possible to check the console of the nodes being introspected and/or<br>> deployed? I wonder if the instackenv.json file is accurate. Also, what's the<br>> output from 'nova flavor-list'? Thanks. Best regards, Sasha Chuzhoy. -----<br>> Original Message ----- > From: "Esra Celik" <celik.esra@tubitak.gov.tr> ><br>> To: "Marius Cornea" <mcornea@redhat.com> > Cc: "Sasha Chuzhoy"<br>> <sasha@redhat.com>, rdo-list@redhat.com > Sent: Monday, October 19, 2015<br>> 9:51:51 AM > Subject: Re: [Rdo-list] OverCloud deploy fails with error "No<br>> valid host was found" > > All 3 baremetal nodes (1 undercloud, 2 overcloud)<br>> have 2 nics. > > the undercloud machine's ip config is as follows: > ><br>> [stack@undercloud ~]$ ip addr > 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536<br>> qdisc noqueue state UNKNOWN > link/loopback 00:00:00:00:00:00 brd<br>> 00:00:00:00:00:00 > inet 127.0.0.1/8 scope host lo > valid_lft forever<br>> preferred_lft forever > inet6 ::1/128 scope host > valid_lft forever<br>> preferred_lft forever > 2: em1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500<br>> qdisc mq state UP qlen > 1000 > link/ether 08:9e:01:50:8a:21 brd<br>> ff:ff:ff:ff:ff:ff > inet 10.1.34.81/24 brd 10.1.34.255 scope global em1 ><br>> valid_lft forever preferred_lft forever > inet6 fe80::a9e:1ff:fe50:8a21/64<br>> scope link > valid_lft forever preferred_lft forever > 3: em2:<br>> <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq master ovs-system ><br>> state UP qlen 1000 > link/ether 08:9e:01:50:8a:22 brd ff:ff:ff:ff:ff:ff > 4:<br>> ovs-system: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN ><br>> link/ether 9a:a8:0f:ec:42:15 brd ff:ff:ff:ff:ff:ff > 5: br-ctlplane:<br>> <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue > state UNKNOWN ><br>> link/ether 08:9e:01:50:8a:22 brd ff:ff:ff:ff:ff:ff > inet 192.0.2.1/24 brd<br>> 192.0.2.255 scope global br-ctlplane > valid_lft forever preferred_lft<br>> forever > inet6 fe80::a9e:1ff:fe50:8a22/64 scope link > valid_lft forever<br>> preferred_lft forever > 6: br-int: <BROADCAST,MULTICAST> mtu 1500 qdisc noop<br>> state DOWN > link/ether fa:85:ac:92:f5:41 brd ff:ff:ff:ff:ff:ff > > I am<br>> using em2 for pxe boot on the other machines.. So I configured ><br>> instackenv.json to have em2's MAC address > For overcloud nodes, em1 was<br>> configured to have 10.1.34.x ip, but after image > deploy I am not sure what<br>> happened for that nic. > > Thanks > > Esra ÇELİK > TÜBİTAK<br>> BİLGEM > www.bilgem.tubitak.gov.tr > celik.esra@tubitak.gov.tr > -----<br>> Orijinal Mesaj ----- > > > Kimden: "Marius Cornea" <mcornea@redhat.com> > ><br>> Kime: "Esra Celik" <celik.esra@tubitak.gov.tr> > > Kk: "Sasha Chuzhoy"<br>> <sasha@redhat.com>, rdo-list@redhat.com > > Gönderilenler: 19 Ekim<br>> Pazartesi 2015 15:36:58 > > Konu: Re: [Rdo-list] OverCloud deploy fails with<br>> error "No valid host was > > found" > > > Hi, > > > I believe the nodes were<br>> stuck in introspection so they were not ready for > > deployment thus the<br>> not enough hosts message. Can you describe the > > networking setup (how<br>> many nics the nodes have and to what networks they're > > connected)? > > ><br>> Thanks, > > Marius > > > ----- Original Message ----- > > > From: "Esra<br>> Celik" <celik.esra@tubitak.gov.tr> > > > To: "Sasha Chuzhoy"<br>> <sasha@redhat.com> > > > Cc: "Marius Cornea" <mcornea@redhat.com>,<br>> rdo-list@redhat.com > > > Sent: Monday, October 19, 2015 12:34:32 PM > > ><br>> Subject: Re: [Rdo-list] OverCloud deploy fails with error "No valid host > ><br>> > was found" > > > > > > Hi again, > > > > > > "nova list" was empty after<br>> introspection stage which was not completed > > > successfully. So I cloud<br>> not ssh the nodes.. Is there another way to > > > obtain > > > the IP<br>> addresses? > > > > > > [stack@undercloud ~]$ sudo systemctl|grep ironic > ><br>> > openstack-ironic-api.service loaded active running OpenStack Ironic API ><br>> > > service > > > openstack-ironic-conductor.service loaded active running<br>> OpenStack Ironic > > > Conductor service > > ><br>> openstack-ironic-inspector-dnsmasq.service loaded active running PXE boot ><br>> > > dnsmasq service for Ironic Inspector > > ><br>> openstack-ironic-inspector.service loaded active running Hardware > > ><br>> introspection service for OpenStack Ironic > > > > > > If I start deployment<br>> anyway I get 2 nodes in ERROR state > > > > > > [stack@undercloud ~]$<br>> openstack overcloud deploy --templates > > > Deploying templates in the<br>> directory > > > /usr/share/openstack-tripleo-heat-templates > > > Stack<br>> failed with status: resources.Controller: resources[0]: > > ><br>> ResourceInError: resources.Controller: Went to status ERROR due to > > ><br>> "Message: > > > No valid host was found. There are not enough hosts<br>> available., Code: > > > 500" > > > > > > [stack@undercloud ~]$ nova list > ><br>> ><br>> +--------------------------------------+-------------------------+--------+------------+-------------+----------+<br>> > > > | ID | Name | Status | Task State | Power State | Networks | > > ><br>> +--------------------------------------+-------------------------+--------+------------+-------------+----------+<br>> > > > | 3a8e1fe4-d189-4fce-9912-dcf49fefb000 | overcloud-controller-0 |<br>> ERROR | > > > | - > > > | | > > > | NOSTATE | | > > > |<br>> 616b45c6-2749-418f-8aa4-fe2bfe164782 | overcloud-novacompute-0 | ERROR > > ><br>> | | > > > | - > > > | | NOSTATE | | > > ><br>> +--------------------------------------+-------------------------+--------+------------+-------------+----------+<br>> > > > > > > Did the repositories update during weekend? Should I better<br>> restart the > > > overall Undercloud and Overcloud installation from the<br>> beginning? > > > > > > Thanks. > > > > > > Esra ÇELİK > > > Uzman<br>> Araştırmacı > > > Bilişim Teknolojileri Enstitüsü > > ><br>> TÜBİTAK BİLGEM > > > 41470 GEBZE - KOCAELİ > > > T +90 262 675 3140 > ><br>> > F +90 262 646 3187 > > > www.bilgem.tubitak.gov.tr > > ><br>> celik.esra@tubitak.gov.tr > > ><br>> ................................................................ > > > > > ><br>> Sorumluluk Reddi > > > > > > ----- Orijinal Mesaj ----- > > > > > > ><br>> Kimden: "Sasha Chuzhoy" <sasha@redhat.com> > > > > Kime: "Esra Celik"<br>> <celik.esra@tubitak.gov.tr> > > > > Kk: "Marius Cornea"<br>> <mcornea@redhat.com>, rdo-list@redhat.com > > > > Gönderilenler: 16<br>> Ekim Cuma 2015 18:44:49 > > > > Konu: Re: [Rdo-list] OverCloud deploy fails<br>> with error "No valid host > > > > was > > > > found" > > > > > > > Hi Esra,<br>> > > > > if the undercloud nodes are UP - you can login with: ssh > > > ><br>> heat-admin@<IP> > > > > You can see the IP of the nodes with: "nova list". ><br>> > > > BTW, > > > > What do you see if you run "sudo systemctl|grep ironic"<br>> on the > > > > undercloud? > > > > > > > Best regards, > > > > Sasha<br>> Chuzhoy. > > > > > > > ----- Original Message ----- > > > > > From: "Esra<br>> Celik" <celik.esra@tubitak.gov.tr> > > > > > To: "Sasha Chuzhoy"<br>> <sasha@redhat.com> > > > > > Cc: "Marius Cornea" <mcornea@redhat.com>,<br>> rdo-list@redhat.com > > > > > Sent: Friday, October 16, 2015 1:40:16 AM > ><br>> > > > Subject: Re: [Rdo-list] OverCloud deploy fails with error "No valid ><br>> > > > > host > > > > > was found" > > > > > > > > > > Hi Sasha, > > > > > ><br>> > > > > I have 3 nodes, 1 Undercloud, 1 Overcloud-Controller, 1 > > > > ><br>> Overcloud-Compute > > > > > > > > > > This is my undercloud.conf file: > > ><br>> > > > > > > > image_path = . > > > > > local_ip = 192.0.2.1/24 > > > > ><br>> local_interface = em2 > > > > > masquerade_network = 192.0.2.0/24 > > > > ><br>> dhcp_start = 192.0.2.5 > > > > > dhcp_end = 192.0.2.24 > > > > ><br>> network_cidr = 192.0.2.0/24 > > > > > network_gateway = 192.0.2.1 > > > > ><br>> inspection_interface = br-ctlplane > > > > > inspection_iprange =<br>> 192.0.2.100,192.0.2.120 > > > > > inspection_runbench = false > > > > ><br>> undercloud_debug = true > > > > > enable_tuskar = false > > > > ><br>> enable_tempest = false > > > > > > > > > > IP configuration for the<br>> Undercloud is as follows: > > > > > > > > > > stack@undercloud ~]$ ip addr ><br>> > > > > 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN<br>> > > > > > link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 > > > > ><br>> inet 127.0.0.1/8 scope host lo > > > > > valid_lft forever preferred_lft<br>> forever > > > > > inet6 ::1/128 scope host > > > > > valid_lft forever<br>> preferred_lft forever > > > > > 2: em1: <BROADCAST,MULTICAST,UP,LOWER_UP><br>> mtu 1500 qdisc mq state UP > > > > > qlen > > > > > 1000 > > > > ><br>> link/ether 08:9e:01:50:8a:21 brd ff:ff:ff:ff:ff:ff > > > > > inet<br>> 10.1.34.81/24 brd 10.1.34.255 scope global em1 > > > > > valid_lft forever<br>> preferred_lft forever > > > > > inet6 fe80::a9e:1ff:fe50:8a21/64 scope link<br>> > > > > > valid_lft forever preferred_lft forever > > > > > 3: em2:<br>> <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq master > > > > ><br>> ovs-system > > > > > state UP qlen 1000 > > > > > link/ether<br>> 08:9e:01:50:8a:22 brd ff:ff:ff:ff:ff:ff > > > > > 4: ovs-system:<br>> <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN > > > > > link/ether<br>> 9a:a8:0f:ec:42:15 brd ff:ff:ff:ff:ff:ff > > > > > 5: br-ctlplane:<br>> <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc > > > > > noqueue > > > > ><br>> state UNKNOWN > > > > > link/ether 08:9e:01:50:8a:22 brd ff:ff:ff:ff:ff:ff ><br>> > > > > inet 192.0.2.1/24 brd 192.0.2.255 scope global br-ctlplane > > > > ><br>> valid_lft forever preferred_lft forever > > > > > inet6<br>> fe80::a9e:1ff:fe50:8a22/64 scope link > > > > > valid_lft forever<br>> preferred_lft forever > > > > > 6: br-int: <BROADCAST,MULTICAST> mtu 1500<br>> qdisc noop state DOWN > > > > > link/ether fa:85:ac:92:f5:41 brd<br>> ff:ff:ff:ff:ff:ff > > > > > > > > > > And I attached two screenshots showing<br>> the boot stage for overcloud > > > > > nodes > > > > > > > > > > Is there a<br>> way to login the overcloud nodes to see their IP > > > > > configuration? ><br>> > > > > > > > > > Thanks > > > > > > > > > > Esra ÇELİK > > > > ><br>> TÜBİTAK BİLGEM > > > > > www.bilgem.tubitak.gov.tr > > > > ><br>> celik.esra@tubitak.gov.tr > > > > > > > > > > ----- Orijinal Mesaj ----- > ><br>> > > > > > > > > > Kimden: "Sasha Chuzhoy" <sasha@redhat.com> > > > > > ><br>> Kime: "Esra Celik" <celik.esra@tubitak.gov.tr> > > > > > > Kk: "Marius<br>> Cornea" <mcornea@redhat.com>, rdo-list@redhat.com > > > > > ><br>> Gönderilenler: 15 Ekim Perşembe 2015 16:58:41 > > > > > > Konu: Re:<br>> [Rdo-list] OverCloud deploy fails with error "No valid > > > > > > host > ><br>> > > > > was > > > > > > found" > > > > > > > > > > > Just my 2 cents. > > ><br>> > > > Did you make sure that all the registered nodes are configured to > ><br>> > > > > boot > > > > > > off > > > > > > the right NIC first? > > > > > ><br>> Can you watch the console and see what happens on the problematic > > > > ><br>> > nodes > > > > > > upon > > > > > > boot? > > > > > > > > > > > Best<br>> regards, > > > > > > Sasha Chuzhoy. > > > > > > > > > > > ----- Original<br>> Message ----- > > > > > > > From: "Esra Celik" <celik.esra@tubitak.gov.tr> ><br>> > > > > > > To: "Marius Cornea" <mcornea@redhat.com> > > > > > > > Cc:<br>> rdo-list@redhat.com > > > > > > > Sent: Thursday, October 15, 2015 4:40:46<br>> AM > > > > > > > Subject: Re: [Rdo-list] OverCloud deploy fails with error<br>> "No > > > > > > > valid > > > > > > > host > > > > > > > was found" > > > ><br>> > > > > > > > > > > > > > > > > > Sorry for the late reply > > > > > > > > ><br>> > > > > > ironic node-show results are below. I have my nodes power on > > ><br>> > > > > after > > > > > > > introspection bulk start. And I get the<br>> following warning > > > > > > > Introspection didn't finish for nodes > > ><br>> > > > ><br>> 5b28998f-4dc8-42aa-8a51-521e20b1e5ed,6f35ac24-135d-4b99-8a24-fa2b731bd218 ><br>> > > > > > > > > > > > > > Doesn't seem to be the same issue with > > > > > ><br>> > https://www.redhat.com/archives/rdo-list/2015-October/msg00174.html > > ><br>> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ><br>> [stack@undercloud ~]$ ironic node-list > > > > > > ><br>> +--------------------------------------+------+---------------+-------------+--------------------+-------------+<br>> > > > > > > > | UUID | Name | Instance UUID | Power State | Provisioning<br>> State > > > > > > > | | > > > > > > > | Maintenance | > > > > > > ><br>> +--------------------------------------+------+---------------+-------------+--------------------+-------------+<br>> > > > > > > > | 5b28998f-4dc8-42aa-8a51-521e20b1e5ed | None | None | power<br>> on | > > > > > > > | available > > > > > > > | | > > > > > > > | False | > ><br>> > > > > > | 6f35ac24-135d-4b99-8a24-fa2b731bd218 | None | None | power on |<br>> > > > > > > > | available > > > > > > > | | > > > > > > > | False | > > > ><br>> > > ><br>> +--------------------------------------+------+---------------+-------------+--------------------+-------------+<br>> > > > > > > > > > > > > > > > > > > > > > [stack@undercloud ~]$ ironic<br>> node-show > > > > > > > 5b28998f-4dc8-42aa-8a51-521e20b1e5ed > > > > > > ><br>> +------------------------+-------------------------------------------------------------------------+<br>> > > > > > > > | Property | Value | > > > > > > ><br>> +------------------------+-------------------------------------------------------------------------+<br>> > > > > > > > | target_power_state | None | > > > > > > > | extra | {} | > ><br>> > > > > > | last_error | None | > > > > > > > | updated_at |<br>> 2015-10-15T08:26:42+00:00 | > > > > > > > | maintenance_reason | None | > ><br>> > > > > > | provision_state | available | > > > > > > > | clean_step | {} |<br>> > > > > > > > | uuid | 5b28998f-4dc8-42aa-8a51-521e20b1e5ed | > > > > > > ><br>> | console_enabled | False | > > > > > > > | target_provision_state | None |<br>> > > > > > > > | provision_updated_at | 2015-10-15T08:26:42+00:00 | > > > > ><br>> > > | maintenance | False | > > > > > > > | inspection_started_at | None | ><br>> > > > > > > | inspection_finished_at | None | > > > > > > > | power_state |<br>> power on | > > > > > > > | driver | pxe_ipmitool | > > > > > > > |<br>> reservation | None | > > > > > > > | properties | {u'memory_mb': u'8192',<br>> u'cpu_arch': u'x86_64', > > > > > > > | u'local_gb': > > > > > > > | u'10',<br>> | > > > > > > > | | u'cpus': u'4', u'capabilities': u'boot_option:local'} |<br>> > > > > > > > | instance_uuid | None | > > > > > > > | name | None | > > > ><br>> > > > | driver_info | {u'ipmi_password': u'******', u'ipmi_address': > > > ><br>> > > > | u'192.168.0.18', | > > > > > > > | | u'ipmi_username': u'root',<br>> u'deploy_kernel': > > > > > > > | | u'49a2c8d4-a283-4bdf-8d6f- > > > > > > ><br>> | | | > > > > > > > | | e83ae28da047', u'deploy_ramdisk': u'3db3dbed- | > ><br>> > > > > > | | 0d88-4632-af98-8defb05ca6e2'} | > > > > > > > | created_at |<br>> 2015-10-15T07:49:08+00:00 | > > > > > > > | driver_internal_info |<br>> {u'clean_steps': None} | > > > > > > > | chassis_uuid | | > > > > > > > |<br>> instance_info | {} | > > > > > > ><br>> +------------------------+-------------------------------------------------------------------------+<br>> > > > > > > > > > > > > > > > > > > > > > [stack@undercloud ~]$ ironic<br>> node-show > > > > > > > 6f35ac24-135d-4b99-8a24-fa2b731bd218 > > > > > > ><br>> +------------------------+-------------------------------------------------------------------------+<br>> > > > > > > > | Property | Value | > > > > > > ><br>> +------------------------+-------------------------------------------------------------------------+<br>> > > > > > > > | target_power_state | None | > > > > > > > | extra | {} | > ><br>> > > > > > | last_error | None | > > > > > > > | updated_at |<br>> 2015-10-15T08:26:42+00:00 | > > > > > > > | maintenance_reason | None | > ><br>> > > > > > | provision_state | available | > > > > > > > | clean_step | {} |<br>> > > > > > > > | uuid | 6f35ac24-135d-4b99-8a24-fa2b731bd218 | > > > > > > ><br>> | console_enabled | False | > > > > > > > | target_provision_state | None |<br>> > > > > > > > | provision_updated_at | 2015-10-15T08:26:42+00:00 | > > > > ><br>> > > | maintenance | False | > > > > > > > | inspection_started_at | None | ><br>> > > > > > > | inspection_finished_at | None | > > > > > > > | power_state |<br>> power on | > > > > > > > | driver | pxe_ipmitool | > > > > > > > |<br>> reservation | None | > > > > > > > | properties | {u'memory_mb': u'8192',<br>> u'cpu_arch': u'x86_64', > > > > > > > | u'local_gb': > > > > > > > | u'100',<br>> | > > > > > > > | | u'cpus': u'4', u'capabilities': u'boot_option:local'} |<br>> > > > > > > > | instance_uuid | None | > > > > > > > | name | None | > > > ><br>> > > > | driver_info | {u'ipmi_password': u'******', u'ipmi_address': > > > ><br>> > > > | u'192.168.0.19', | > > > > > > > | | u'ipmi_username': u'root',<br>> u'deploy_kernel': > > > > > > > | | u'49a2c8d4-a283-4bdf-8d6f- > > > > > > ><br>> | | | > > > > > > > | | e83ae28da047', u'deploy_ramdisk': u'3db3dbed- | > ><br>> > > > > > | | 0d88-4632-af98-8defb05ca6e2'} | > > > > > > > | created_at |<br>> 2015-10-15T07:49:08+00:00 | > > > > > > > | driver_internal_info |<br>> {u'clean_steps': None} | > > > > > > > | chassis_uuid | | > > > > > > > |<br>> instance_info | {} | > > > > > > ><br>> +------------------------+-------------------------------------------------------------------------+<br>> > > > > > > > [stack@undercloud ~]$ > > > > > > > > > > > > > > > > > > > ><br>> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ><br>> > > > > > > > > > > > > And below I added my history for the stack user. I<br>> don't think I > > > > > > > am > > > > > > > doing > > > > > > > something<br>> other than > > > > > > ><br>> https://repos.fedorapeople.org/repos/openstack-m/rdo-manager-docs/liberty ><br>> > > > > > > doc > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ><br>> > > > > > > > > > > > > > > > > > > > > > > > > > > 1 vi instackenv.json > ><br>> > > > > > 2 sudo yum -y install epel-release > > > > > > > 3 sudo curl -o<br>> /etc/yum.repos.d/delorean.repo > > > > > > ><br>> http://trunk.rdoproject.org/centos7-liberty/current-passed-ci/delorean.repo<br>> > > > > > > > 4 sudo curl -o /etc/yum.repos.d/delorean-current.repo > > > ><br>> > > > http://trunk.rdoproject.org/centos7-liberty/current/delorean.repo > ><br>> > > > > > 5 sudo sed -i 's/\[delorean\]/\[delorean-current\]/' > > > > > > ><br>> /etc/yum.repos.d/delorean-current.repo > > > > > > > 6 sudo /bin/bash -c<br>> "cat > > > > > > > <<EOF>>/etc/yum.repos.d/delorean-current.repo > > > > > ><br>> > > > > > > > ><br>> includepkgs=diskimage-builder,openstack-heat,instack,instack-undercloud,openstack-ironic,openstack-ironic-inspector,os-cloud-config,os-net-config,python-ironic-inspector-client,python-tripleoclient,tripleo-common,openstack-tripleo-heat-templates,openstack-tripleo-image-elements,openstack-tuskar-ui-extras,openstack-puppet-modules<br>> > > > > > > > EOF" > > > > > > > 7 sudo curl -o<br>> /etc/yum.repos.d/delorean-deps.repo > > > > > > ><br>> http://trunk.rdoproject.org/centos7-liberty/delorean-deps.repo > > > > > > ><br>> 8 sudo yum -y install yum-plugin-priorities > > > > > > > 9 sudo yum install<br>> -y python-tripleoclient > > > > > > > 10 cp<br>> /usr/share/instack-undercloud/undercloud.conf.sample > > > > > > ><br>> ~/undercloud.conf > > > > > > > 11 vi undercloud.conf > > > > > > > 12<br>> export DIB_INSTALLTYPE_puppet_modules=source > > > > > > > 13 openstack<br>> undercloud install > > > > > > > 14 source stackrc > > > > > > > 15 export<br>> NODE_DIST=centos7 > > > > > > > 16 export<br>> DIB_YUM_REPO_CONF="/etc/yum.repos.d/delorean.repo > > > > > > ><br>> /etc/yum.repos.d/delorean-deps.repo" > > > > > > > 17 export<br>> DIB_INSTALLTYPE_puppet_modules=source > > > > > > > 18 openstack overcloud<br>> image build --all > > > > > > > 19 ls > > > > > > > 20 openstack overcloud<br>> image upload > > > > > > > 21 openstack baremetal import --json<br>> instackenv.json > > > > > > > 22 openstack baremetal configure boot > > > ><br>> > > > 23 ironic node-list > > > > > > > 24 openstack baremetal introspection<br>> bulk start > > > > > > > 25 ironic node-list > > > > > > > 26 ironic<br>> node-show 5b28998f-4dc8-42aa-8a51-521e20b1e5ed > > > > > > > 27 ironic<br>> node-show 6f35ac24-135d-4b99-8a24-fa2b731bd218 > > > > > > > 28 history > ><br>> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ><br>> > > > > > > > > > > > > > > > > Thanks > > > > > > > > > > > > > > > > > > ><br>> > > > > > > > > > Esra ÇELİK > > > > > > > TÜBİTAK BİLGEM > > ><br>> > > > > www.bilgem.tubitak.gov.tr > > > > > > > celik.esra@tubitak.gov.tr ><br>> > > > > > > > > > > > > > > > > > > > > Kimden: "Marius Cornea"<br>> <mcornea@redhat.com> > > > > > > > Kime: "Esra Celik"<br>> <celik.esra@tubitak.gov.tr> > > > > > > > Kk: "Ignacio Bravo"<br>> <ibravo@ltgfederal.com>, rdo-list@redhat.com > > > > > > ><br>> Gönderilenler: 14 Ekim Çarşamba 2015 19:40:07 > > > > > > ><br>> Konu: Re: [Rdo-list] OverCloud deploy fails with error "No valid > > > > > ><br>> > host > > > > > > > was > > > > > > > found" > > > > > > > > > > > > > ><br>> Can you do ironic node-show for your ironic nodes and post the > > > > > > ><br>> results? > > > > > > > Also > > > > > > > check the following suggestion if<br>> you're experiencing the same > > > > > > > issue: > > > > > > ><br>> https://www.redhat.com/archives/rdo-list/2015-October/msg00174.html > > > ><br>> > > > > > > > > > > ----- Original Message ----- > > > > > > > > From: "Esra<br>> Celik" <celik.esra@tubitak.gov.tr> > > > > > > > > To: "Marius Cornea"<br>> <mcornea@redhat.com> > > > > > > > > Cc: "Ignacio Bravo"<br>> <ibravo@ltgfederal.com>, > > > > > > > > rdo-list@redhat.com > > > > > > > ><br>> Sent: Wednesday, October 14, 2015 3:22:20 PM > > > > > > > > Subject: Re:<br>> [Rdo-list] OverCloud deploy fails with error "No > > > > > > > > valid > > ><br>> > > > > > host > > > > > > > > was found" > > > > > > > > > > > > > > > > ><br>> > > > > > > > > > > > > > > > Well in the early stage of the introspection I<br>> can see Client > > > > > > > > IP > > > > > > > > of > > > > > > > > nodes ><br>> > > > > > > > (screenshot attached). But then I see continuous > > > > > > ><br>> > ironic-python-agent > > > > > > > > errors > > > > > > > > (screenshot-2<br>> attached). Errors repeat after time out.. And the > > > > > > > > nodes > ><br>> > > > > > > are > > > > > > > > not powered off. > > > > > > > > > > > > > ><br>> > > Seems like I am stuck in introspection stage.. > > > > > > > > > > > > ><br>> > > > I can use ipmitool command to successfully power on/off the > > > > ><br>> > > > nodes > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ><br>> [stack@undercloud ~]$ ipmitool -I lanplus -H 192.168.0.19 -L > > > > > > > ><br>> ADMINISTRATOR > > > > > > > > -U > > > > > > > > root -R 3 -N 5 -P<br>> <password> power status > > > > > > > > Chassis Power is on > > > > > > > ><br>> > > > > > > > > > > > > > > > > [stack@undercloud ~]$ ipmitool -H<br>> 192.168.0.18 -I lanplus -U > > > > > > > > root > > > > > > > > -P > > > > ><br>> > > > <password> chassis power status > > > > > > > > Chassis Power is on ><br>> > > > > > > > [stack@undercloud ~]$ ipmitool -H 192.168.0.18 -I lanplus -U ><br>> > > > > > > > root > > > > > > > > -P > > > > > > > > <password> chassis<br>> power off > > > > > > > > Chassis Power Control: Down/Off > > > > > > > ><br>> [stack@undercloud ~]$ ipmitool -H 192.168.0.18 -I lanplus -U > > > > > > > ><br>> root > > > > > > > > -P > > > > > > > > <password> chassis power status > ><br>> > > > > > > Chassis Power is off > > > > > > > > [stack@undercloud ~]$<br>> ipmitool -H 192.168.0.18 -I lanplus -U > > > > > > > > root > > > > > > > ><br>> -P > > > > > > > > <password> chassis power on > > > > > > > > Chassis Power<br>> Control: Up/On > > > > > > > > [stack@undercloud ~]$ ipmitool -H<br>> 192.168.0.18 -I lanplus -U > > > > > > > > root > > > > > > > > -P > > > > ><br>> > > > <password> chassis power status > > > > > > > > Chassis Power is on ><br>> > > > > > > > > > > > > > > > > > > > > > > > Esra ÇELİK > > > > > ><br>> > > TÜBİTAK BİLGEM > > > > > > > > www.bilgem.tubitak.gov.tr > > > > ><br>> > > > celik.esra@tubitak.gov.tr > > > > > > > > > > > > > > > > > > > > > ><br>> > > ----- Orijinal Mesaj ----- > > > > > > > > > > > > > > > > Kimden:<br>> "Marius Cornea" <mcornea@redhat.com> > > > > > > > > Kime: "Esra Celik"<br>> <celik.esra@tubitak.gov.tr> > > > > > > > > Kk: "Ignacio Bravo"<br>> <ibravo@ltgfederal.com>, > > > > > > > > rdo-list@redhat.com > > > > > > > ><br>> Gönderilenler: 14 Ekim Çarşamba 2015 14:59:30 > > > > > > > ><br>> Konu: Re: [Rdo-list] OverCloud deploy fails with error "No > > > > > > > ><br>> valid > > > > > > > > host > > > > > > > > was > > > > > > > > found" > > ><br>> > > > > > > > > > > > > > > > > > > > > > ----- Original Message ----- > > ><br>> > > > > > > From: "Esra Celik" <celik.esra@tubitak.gov.tr> > > > > > > > > ><br>> To: "Marius Cornea" <mcornea@redhat.com> > > > > > > > > > Cc: "Ignacio<br>> Bravo" <ibravo@ltgfederal.com>, > > > > > > > > > rdo-list@redhat.com > > ><br>> > > > > > > Sent: Wednesday, October 14, 2015 10:49:01 AM > > > > > > > > ><br>> Subject: Re: [Rdo-list] OverCloud deploy fails with error "No > > > > > > ><br>> > > valid > > > > > > > > > host > > > > > > > > > was found" > > > > > > ><br>> > > > > > > > > > > > > > > > > > > > > Well today I started with<br>> re-installing the OS and nothing > > > > > > > > > seems > > > > > > > > ><br>> wrong > > > > > > > > > with > > > > > > > > > undercloud installation,<br>> then; > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ><br>> > > > > > > > > > > > > > > > > > > > > > > > > > > > > I see an error<br>> during image build > > > > > > > > > > > > > > > > > > > > > > > > > > ><br>> [stack@undercloud ~]$ openstack overcloud image build --all > > > > > > > ><br>> > ... > > > > > > > > > a lot of log > > > > > > > > > ... > > > > > > > > ><br>> ++ cat /etc/dib_dracut_drivers > > > > > > > > > + dracut -N --install '<br>> curl partprobe lsblk targetcli tail > > > > > > > > > head > > > > > > > > ><br>> awk > > > > > > > > > ifconfig > > > > > > > > > cut expr route ping nc wget<br>> tftp grep' --kernel-cmdline > > > > > > > > > 'rd.shell > > > > > > > > ><br>> rd.debug > > > > > > > > > rd.neednet=1 rd.driver.pre=ahci' --include > > ><br>> > > > > > > /var/tmp/image.YVhwuArQ/mnt/ > > > > > > > > > / > > > > > > > ><br>> > --kver 3.10.0-229.14.1.el7.x86_64 --add-drivers ' virtio > > > > > > > > ><br>> virtio_net > > > > > > > > > virtio_blk target_core_mod iscsi_target_mod > ><br>> > > > > > > > target_core_iblock > > > > > > > > > target_core_file<br>> target_core_pscsi configfs' -o 'dash > > > > > > > > > plymouth' > > > > > ><br>> > > > /tmp/ramdisk > > > > > > > > > cat: write error: Broken pipe > > > > ><br>> > > > > + cp /boot/vmlinuz-3.10.0-229.14.1.el7.x86_64 /tmp/kernel > > > > ><br>> > > > > + chmod o+r /tmp/kernel > > > > > > > > > + trap EXIT > > > > > > ><br>> > > + target_tag=99-build-dracut-ramdisk > > > > > > > > > + date +%s.%N > ><br>> > > > > > > > + output '99-build-dracut-ramdisk completed' > > > > > > > > ><br>> ... > > > > > > > > > a lot of log > > > > > > > > > ... > > > > > > > > > ><br>> > > > > > > You can ignore that afaik, if you end up having all the > > > ><br>> > > > > required > > > > > > > > images > > > > > > > > it > > > > > > > ><br>> should be ok. > > > > > > > > > > > > > > > > > > > > > > > > > > Then,<br>> during introspection stage I see ironic-python-agent > > > > > > > > ><br>> errors > > > > > > > > > on > > > > > > > > > nodes > > > > > > > > ><br>> (screenshot attached) and the following warnings > > > > > > > > > > > > > ><br>> > > > > > > > > > > > That looks odd. Is it showing up in the early stage of<br>> the > > > > > > > > introspection? > > > > > > > > At > > > > > > > > some<br>> point it should receive an address by DHCP and the Network > > > > > > > ><br>> is > > > > > > > > unreachable error should disappear. Does the<br>> introspection > > > > > > > > complete > > > > > > > > and > > > > > > > ><br>> the > > > > > > > > nodes are turned off? > > > > > > > > > > > > > > > > ><br>> > > > > > > > > > > > > > > > > > > [root@localhost ~]# journalctl -fl -u ><br>> > > > > > > > > openstack-ironic-conductor.service > > > > > > > > > | > > ><br>> > > > > > > grep -i "warning\|error" > > > > > > > > > Oct 14 10:30:12<br>> undercloud.rdo ironic-conductor[619]: > > > > > > > > > 2015-10-14 > > > > ><br>> > > > > 10:30:12.119 > > > > > > > > > 619 WARNING oslo_config.cfg > > > > ><br>> > > > > [req-eccf8cb5-6e93-4d8f-9a05-0e8c8d2aab7b > > > > > > > > > ] > > ><br>> > > > > > > Option "http_url" from group "pxe" is deprecated. Use option > ><br>> > > > > > > > "http_url" > > > > > > > > > from > > > > > > > > > group<br>> "deploy". > > > > > > > > > Oct 14 10:30:12 undercloud.rdo<br>> ironic-conductor[619]: > > > > > > > > > 2015-10-14 > > > > > > > > ><br>> 10:30:12.119 > > > > > > > > > 619 WARNING oslo_config.cfg > > > > > > > > ><br>> [req-eccf8cb5-6e93-4d8f-9a05-0e8c8d2aab7b > > > > > > > > > ] > > > > > > ><br>> > > Option "http_root" from group "pxe" is deprecated. Use option > > > > ><br>> > > > > "http_root" > > > > > > > > > from group "deploy". > > > > > > > > ><br>> > > > > > > > > > > > > > > > > > > Before deployment ironic node-list: > ><br>> > > > > > > > > > > > > > > > > > > > > > > > This is odd too as I'm<br>> expecting the nodes to be powered off > > > > > > > > before > > > > > > > ><br>> running > > > > > > > > deployment. > > > > > > > > > > > > > > > > > > > ><br>> > > > > > > > > > > > > > > > [stack@undercloud ~]$ ironic node-list > > > ><br>> > > > > ><br>> +--------------------------------------+------+---------------+-------------+--------------------+-------------+<br>> > > > > > > > > > | UUID | Name | Instance UUID | Power State | Provisioning<br>> > > > > > > > > > | State > > > > > > > > > | | > > > > > > > > > |<br>> Maintenance | > > > > > > > > ><br>> +--------------------------------------+------+---------------+-------------+--------------------+-------------+<br>> > > > > > > > > > | acfc1bb4-469d-479a-af70-c0bdd669b32d | None | None |<br>> power > > > > > > > > > | on > > > > > > > > > | | > > > > > > > > > |<br>> available > > > > > > > > > | | > > > > > > > > > | False | > > > > > > > ><br>> > | b5811c06-d5d1-41f1-87b3-2fd55ae63553 | None | None | power > > > > > > ><br>> > > | on > > > > > > > > > | | > > > > > > > > > | available > > > > > > > ><br>> > | | > > > > > > > > > | False | > > > > > > > > ><br>> +--------------------------------------+------+---------------+-------------+--------------------+-------------+<br>> > > > > > > > > > > > > > > > > > > During deployment I get following errors<br>> > > > > > > > > > > > > > > > > > > [root@localhost ~]# journalctl -fl -u ><br>> > > > > > > > > openstack-ironic-conductor.service > > > > > > > > > | > > ><br>> > > > > > > grep -i "warning\|error" > > > > > > > > > Oct 14 11:29:01<br>> undercloud.rdo ironic-conductor[619]: > > > > > > > > > 2015-10-14 > > > > ><br>> > > > > 11:29:01.739 > > > > > > > > > 619 ERROR<br>> ironic.drivers.modules.ipmitool [-] IPMI Error > > > > > > > > > while > > ><br>> > > > > > > attempting > > > > > > > > > "ipmitool -I lanplus -H<br>> 192.168.0.19 -L ADMINISTRATOR -U root > > > > > > > > > -R > > > > > > > > ><br>> 3 > > > > > > > > > -N > > > > > > > > > 5 > > > > > > > > > -f > > > > > ><br>> > > > /tmp/tmpSCKHIv power status"for node > > > > > > > > ><br>> b5811c06-d5d1-41f1-87b3-2fd55ae63553. > > > > > > > > > Error: Unexpected<br>> error while running command. > > > > > > > > > Oct 14 11:29:01<br>> undercloud.rdo ironic-conductor[619]: > > > > > > > > > 2015-10-14 > > > > ><br>> > > > > 11:29:01.739 > > > > > > > > > 619 WARNING<br>> ironic.drivers.modules.ipmitool [-] IPMI power > > > > > > > > > status > ><br>> > > > > > > > failed > > > > > > > > > for > > > > > > > > > node<br>> b5811c06-d5d1-41f1-87b3-2fd55ae63553 with error: > > > > > > > > ><br>> Unexpected > > > > > > > > > error > > > > > > > > > while > > > > > > > > ><br>> running command. > > > > > > > > > Oct 14 11:29:01 undercloud.rdo<br>> ironic-conductor[619]: > > > > > > > > > 2015-10-14 > > > > > > > > ><br>> 11:29:01.740 > > > > > > > > > 619 WARNING ironic.conductor.manager [-]<br>> During > > > > > > > > > sync_power_state, > > > > > > > > > could > > > > ><br>> > > > > not > > > > > > > > > get power state for node > > > > > > > > ><br>> b5811c06-d5d1-41f1-87b3-2fd55ae63553, > > > > > > > > > attempt > > > > > ><br>> > > > 1 > > > > > > > > > of > > > > > > > > > 3. Error: IPMI call failed:<br>> power status.. > > > > > > > > > > > > > > > > > > > > > > > > > This looks<br>> like an ipmi error, can you try to manually run > > > > > > > > commands > ><br>> > > > > > > using > > > > > > > > the > > > > > > > > ipmitool and see if<br>> you get any success? It's also worth filing > > > > > > > > a > > > > > > ><br>> > bug > > > > > > > > with > > > > > > > > details such as the ipmitool<br>> version, server model, drac > > > > > > > > firmware > > > > > > > ><br>> version. > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ><br>> > > > > > > > > > > > > > > > > > > > > > > > > > > > > Thanks a lot > > > ><br>> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -----<br>> Orijinal Mesaj ----- > > > > > > > > > > > > > > > > > > Kimden: "Marius<br>> Cornea" <mcornea@redhat.com> > > > > > > > > > Kime: "Esra Celik"<br>> <celik.esra@tubitak.gov.tr> > > > > > > > > > Kk: "Ignacio Bravo"<br>> <ibravo@ltgfederal.com>, > > > > > > > > > rdo-list@redhat.com > > > > > > ><br>> > > Gönderilenler: 13 Ekim Salı 2015 21:16:14 > > > > > > > > > Konu:<br>> Re: Yan: Re: [Rdo-list] OverCloud deploy fails with > > > > > > > > > error<br>> > > > > > > > > > "No > > > > > > > > > valid > > > > > > > > > host was<br>> found" > > > > > > > > > > > > > > > > > > > > > > > > > > > ----- Original<br>> Message ----- > > > > > > > > > > From: "Esra Celik"<br>> <celik.esra@tubitak.gov.tr> > > > > > > > > > > To: "Marius Cornea"<br>> <mcornea@redhat.com> > > > > > > > > > > Cc: "Ignacio Bravo"<br>> <ibravo@ltgfederal.com>, > > > > > > > > > > rdo-list@redhat.com > > > > > ><br>> > > > > Sent: Tuesday, October 13, 2015 5:02:09 PM > > > > > > > > > ><br>> Subject: Yan: Re: [Rdo-list] OverCloud deploy fails with > > > > > > > > > ><br>> error > > > > > > > > > > "No > > > > > > > > > > valid > > > > > > > > > ><br>> host was found" > > > > > > > > > > > > > > > > > > > > During deployment<br>> they are powering on and deploying the > > > > > > > > > > images. > > > > ><br>> > > > > > I > > > > > > > > > > see > > > > > > > > > > lot > > > > > > > ><br>> > > of > > > > > > > > > > connection error messages about<br>> ironic-python-agent but > > > > > > > > > > ignore > > > > > > > > > > them<br>> > > > > > > > > > > as > > > > > > > > > > mentioned here > > > > > > > > ><br>> > (https://www.redhat.com/archives/rdo-list/2015-October/msg00052.html) > ><br>> > > > > > > > > > > > > > > > > That was referring to the introspection<br>> stage. From what I > > > > > > > > > can > > > > > > > > > tell > > > > > ><br>> > > > you > > > > > > > > > are > > > > > > > > > experiencing issues during<br>> deployment as it fails to > > > > > > > > > provision > > > > > > > > > the<br>> > > > > > > > > > nova > > > > > > > > > instances, can you check if during<br>> that stage the nodes get > > > > > > > > > powered > > > > > > > > > on? > ><br>> > > > > > > > > > > > > > > > > Make sure that before overcloud deploy the<br>> ironic nodes are > > > > > > > > > available > > > > > > > > > for > > > > ><br>> > > > > provisioning (ironic node-list and check the provisioning > > > > ><br>> > > > > state > > > > > > > > > column). > > > > > > > > > Also check that<br>> you didn't miss any step in the docs in > > > > > > > > > regards > > > > ><br>> > > > > to > > > > > > > > > kernel > > > > > > > > > and ramdisk<br>> assignment, introspection, flavor creation(so it > > > > > > > > > matches ><br>> > > > > > > > > the > > > > > > > > > nodes resources) > > > > > > > > ><br>> https://repos.fedorapeople.org/repos/openstack-m/rdo-manager-docs/liberty/basic_deployment/basic_deployment_cli.html<br>> > > > > > > > > > > > > > > > > > > > > > > > > > > > > In instackenv.json<br>> file I do not need to add the undercloud > > > > > > > > > > node, > > > > ><br>> > > > > > or > > > > > > > > > > do > > > > > > > > > > I? > > > > > > > > ><br>> > > > > > > > > > No, the nodes details should be enough. > > > > > > > > ><br>> > > > > > > > > > > And which log files should I watch during deployment? ><br>> > > > > > > > > > > > > > > > > > You can check the<br>> openstack-ironic-conductor logs(journalctl > > > > > > > > > -fl > > > > > ><br>> > > > -u > > > > > > > > > openstack-ironic-conductor.service) and the logs<br>> in > > > > > > > > > /var/log/nova. > > > > > > > > > > > > > > > > > > ><br>> Thanks > > > > > > > > > > Esra > > > > > > > > > > > > > > > > > > > > > ><br>> > > > > > > > > ----- Orijinal Mesaj -----Kimden: Marius Cornea > > > > > ><br>> > > > > <mcornea@redhat.com>Kime: > > > > > > > > > > Esra Celik<br>> <celik.esra@tubitak.gov.tr>Kk: Ignacio Bravo > > > > > > > > > ><br>> <ibravo@ltgfederal.com>, > > > > > > > > > ><br>> rdo-list@redhat.comGönderilenler: > > > > > > > > > > Tue, > > > > > ><br>> > > > > 13 > > > > > > > > > > Oct > > > > > > > > > > 2015 17:25:00 +0300<br>> (EEST)Konu: Re: [Rdo-list] OverCloud > > > > > > > > > > deploy > > > > > ><br>> > > > > fails > > > > > > > > > > with > > > > > > > > > > error "No valid<br>> host was found" > > > > > > > > > > > > > > > > > > > > ----- Original<br>> Message -----> From: "Esra Celik" > > > > > > > > > ><br>> <celik.esra@tubitak.gov.tr>> > > > > > > > > > > To: "Ignacio Bravo"<br>> <ibravo@ltgfederal.com>> Cc: > > > > > > > > > > rdo-list@redhat.com> > > ><br>> > > > > > > > Sent: > > > > > > > > > > Tuesday, October 13, 2015 3:47:57<br>> PM> Subject: Re: > > > > > > > > > > [Rdo-list] > > > > > > > > > ><br>> OverCloud > > > > > > > > > > deploy fails with error "No valid host was<br>> found"> > > > > > > > > > > > > > Actually > > > > > > > > > > I > > > > > ><br>> > > > > re-installed the OS for Undercloud before deploying. > > > > > > > ><br>> > > However > > > > > > > > > > I > > > > > > > > > > did> > > > > > > > > ><br>> > not > > > > > > > > > > re-install the OS in Compute and Controller<br>> nodes.. I will > > > > > > > > > > reinstall> > > > > > > > > > > basic > ><br>> > > > > > > > > OS for them too, and retry.. > > > > > > > > > > > > > > > ><br>> > > > > You don't need to reinstall the OS on the controller and > > > > > ><br>> > > > > compute, > > > > > > > > > > they > > > > > > > > > > will > > > > ><br>> > > > > > get the image served by the undercloud. I'd recommend that > > > ><br>> > > > > > > during > > > > > > > > > > deployment > > > > > > > > > > you<br>> watch the servers console and make sure they get > > > > > > > > > > powered<br>> > > > > > > > > > > on, > > > > > > > > > > pxe > > > > > > > > > > boot, ><br>> > > > > > > > > > and actually get the image deployed. > > > > > > > > > > ><br>> > > > > > > > > > Thanks > > > > > > > > > > > > > > > > > > > > > Thanks> ><br>> > > Esra ÇELİK> TÜBİTAK BİLGEM> > > > > > > > > > > ><br>> www.bilgem.tubitak.gov.tr> celik.esra@tubitak.gov.tr> > > > > > > > > > > ><br>> > > Kimden: > > > > > > > > > > > "Ignacio > > > > > > > > > > > Bravo"<br>> <ibravo@ltgfederal.com>> Kime: "Esra Celik" > > > > > > > > > > ><br>> <celik.esra@tubitak.gov.tr>> Kk: rdo-list@redhat.com> > > > > > > > > > > ><br>> Gönderilenler: > > > > > > > > > > > 13 Ekim Salı 2015 16:36:06> Konu:<br>> Re: [Rdo-list] > > > > > > > > > > > OverCloud > > > > > > > > > > > deploy<br>> > > > > > > > > > > > fails > > > > > > > > > > > with error "No valid host<br>> was> found"> > Esra,> > I > > > > > > > > > > > encountered > > > > > > > ><br>> > > > the > > > > > > > > > > > same > > > > > > > > > > > problem after<br>> deleting the stack and re-deploying.> > It > > > > > > > > > > > turns > > ><br>> > > > > > > > > out > > > > > > > > > > > that > > > > > > > > > > > 'heat<br>> stack-delete overcloud’ does remove the nodes > > > > > > > > > > ><br>> from> > > > > > > > > > > > ‘nova list’ and one would assume<br>> that the > > > > > > > > > > > baremetal > > > > > > > > > > > servers > > ><br>> > > > > > > > > are now ready to> be used for the next stack, but when > > ><br>> > > > > > > > > redeploying, > > > > > > > > > > > I > > > > > > > > > > ><br>> get > > > > > > > > > > > the same message of> not enough hosts available.><br>> > You > > > > > > > > > > > can > > > > > > > > > > > look > > > > > > > > ><br>> > > into > > > > > > > > > > > the > > > > > > > > > > > nova logs and it<br>> mentions something about ‘node xxx > > > > > > > > > > > is> > > > > ><br>> > > > > > > already > > > > > > > > > > > associated with UUID yyyy’<br>> and ‘I tried 3 > > > > > > > > > > > times > > > > > > > > > > > and ><br>> > > > > > > > > > > I’m > > > > > > > > > > > giving up’.> The<br>> issue is that the UUID yyyy > > > > > > > > > > > belonged > > > > > > > > ><br>> > > to > > > > > > > > > > > a > > > > > > > > > > > prior > > > > > > > > ><br>> > > unsuccessful deployment.> > I’m now redeploying the > > > > > > ><br>> > > > > basic > > > > > > > > > > > OS > > > > > > > > > > > to > > > > > ><br>> > > > > > start from scratch again.> > IB> > __> Ignacio Bravo> LTG > > > ><br>> > > > > > > > Federal, > > > > > > > > > > > Inc> > > > > > > > > > > ><br>> www.ltgfederal.com> Office: (703) 951-7760> > > > On Oct > > > > > > > > > ><br>> > 13, > > > > > > > > > > > 2015, > > > > > > > > > > > at > > > > > > > > ><br>> > > 9:25 > > > > > > > > > > > AM, Esra Celik < celik.esra@tubitak.gov.tr ><br>> wrote:> > > > > > > > > > > > > > Hi > > > > > > > > > > > all,> > > > > > ><br>> > > > > > > > > > > > > > > > > > OverCloud deploy fails with error "No<br>> valid host was > > > > > > > > > > > found"> > > > > > > > > > > > > > > > ><br>> > > > > > > > [stack@undercloud ~]$ openstack overcloud deploy > > > > > > ><br>> > > > > --templates> > > > > > > > > > > > Deploying > > > > > > > > > > ><br>> templates in the directory> > > > > > > > > > > ><br>> /usr/share/openstack-tripleo-heat-templates> > > > > > > > > > > > Stack<br>> failed with status: Resource CREATE failed: > > > > > > > > > > ><br>> resources.Compute:> > > > > > > > > > > > ResourceInError:<br>> resources[0].resources.NovaCompute: Went > > > > > > > > > > > to > > > > ><br>> > > > > > > status > > > > > > > > > > > ERROR> > > > > > > > > > > > due to<br>> "Message: No valid host was found. There are not > > > > > > > > > > ><br>> enough > > > > > > > > > > > hosts> > > > > > > > > > > > available., Code:<br>> 500"> Heat Stack create failed.> > Here > > > > > > > > > > > are > > > > ><br>> > > > > > > some > > > > > > > > > > > logs:> > > > > > > > > > > > > Every<br>> 2.0s: heat resource-list -n 5 overcloud | grep -v > > > > > > > > > > > ><br>> COMPLETE > > > > > > > > > > > > Tue > > > > > > > > > > > > Oct > > > > > ><br>> > > > > > 13> 16:18:17 2015> > > > > > > > > > > > ><br>> +-------------------------------------------+-----------------------------------------------+---------------------------------------------------+--------------------+---------------------+---------------------------------------------------------------------------------+><br>> > > > > > > > > > > > | resource_name | physical_resource_id | resource_type<br>> | > > > > > > > > > > > | resource_status > > > > > > > > > > > |> |<br>> updated_time | stack_name |> > > > > > > > > > > ><br>> +-------------------------------------------+-----------------------------------------------+---------------------------------------------------+--------------------+---------------------+---------------------------------------------------------------------------------+><br>> > > > > > > > > > > > | Compute | e33b6b1e-8740-4ded-ad7f-720617a03393 | > ><br>> > > > > > > > > > | OS::Heat::ResourceGroup > > > > > > > > > > > |> |<br>> CREATE_FAILED | 2015-10-13T10:20:36 | overcloud |> | > > > > > > > > > > ><br>> |> | Controller > > > > > > > > > > > |> | | > > > > > > > > > > ><br>> 116c57ff-debb-4c12-92e1-e4163b67dc17 | > > > > > > > > > > ><br>> OS::Heat::ResourceGroup> > > > > > > > > > > > | > > > > > > > > > > > | > ><br>> > > > > > > > > > CREATE_FAILED | 2015-10-13T10:20:36 | overcloud |> | 0 | ><br>> > > > > > > > > > > 342a9023-de8f-4b5b-b3ec-498d99b56dc4 | > > > > > > > > ><br>> > > OS::TripleO::Controller > > > > > > > > > > > |> > > > > > > > > > > > |<br>> > > > > > > > > > > > CREATE_IN_PROGRESS | 2015-10-13T10:20:52 |> | > > > ><br>> > > > > > > > overcloud-Controller-45bbw24xxhxs |> | 0 | > > > > > > > > > ><br>> > e420a7bd-86f8-4cc1-b6a0-5ba8d1412453 | > > > > > > > > > > ><br>> OS::TripleO::Compute > > > > > > > > > > > |> > > > > > > > > > > > | > > ><br>> > > > > > > > > CREATE_FAILED | 2015-10-13T10:20:54 | > > > > > > > > > > ><br>> overcloud-Compute-vqk632ysg64r > > > > > > > > > > > |> > > > > > > > > > ><br>> > | > > > > > > > > > > > Controller | 2e9ac712-0566-49b5-958f-c3e151bb24d7<br>> | > > > > > > > > > > > OS::Nova::Server > > > > > > > > > > > |> > > > > ><br>> > > > > > > | > > > > > > > > > > > CREATE_IN_PROGRESS | 2015-10-13T10:20:54<br>> |> | > > > > > > > > > > > overcloud-Controller-45bbw24xxhxs-0-3vyhjiak2rsk<br>> |> | > > > > > > > > > > > NovaCompute > > > > > > > > > > > | > > > > > > ><br>> > > > > 96efee56-81cb-46af-beef-84f4a3af761a | OS::Nova::Server > > > > > ><br>> > > > > > |> > > > > > > > > > > > | > > > > > > > > > > > CREATE_FAILED > ><br>> > > > > > > > > > | 2015-10-13T10:20:56 |> | > > > > > > > > > > > |<br>> overcloud-Compute-vqk632ysg64r-0-32nalzkofmef > > > > > > > > > > > |> > > ><br>> > > > > > > > ><br>> +-------------------------------------------+-----------------------------------------------+---------------------------------------------------+--------------------+---------------------+---------------------------------------------------------------------------------+><br>> > > > > > > > > > > > > > [stack@undercloud ~]$ heat resource-show overcloud<br>> > > > > > > > > > > > > > Compute> > > > > > > > > > > ><br>> +------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+><br>> > > > > > > > > > > > | Property | Value |> > > > > > > > > > > ><br>> +------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+><br>> > > > > > > > > > > > | attributes | { |> | | "attributes": null, |> | | > ><br>> > > > > > > > > > | "refs": > > > > > > > > > > > | null > > > > > > > > > ><br>> > | |> > > > > > > > > > > > | | > > > > > > > > > > > | | > > > > > > > > ><br>> > > | } > > > > > > > > > > > |> | creation_time | 2015-10-13T10:20:36 |> |<br>> description > > > > > > > > > > > |> | | > > > > > > > > > > > |> | |> > > ><br>> > > > > > > > > |> | | > > > > > > > > > > > |> | links > > > > > > > > > ><br>> > |> | |> > > > > > > > > > > > | > > > > > > > > > > ><br>> http://192.0.2.1:8004/v1/3c5942d315bc445c8f1f7b32bd445de5/stacks/overcloud/620ada83-fb7d-4769-b1e8-431cfbb37d70/resources/Compute><br>> > > > > > > > > > > > | (self) |> | | > > > > > > > > > > ><br>> http://192.0.2.1:8004/v1/3c5942d315bc445c8f1f7b32bd445de5/stacks/overcloud/620ada83-fb7d-4769-b1e8-431cfbb37d70><br>> > > > > > > > > > > > | | (stack) |> | | > > > > > > > > > > ><br>> http://192.0.2.1:8004/v1/3c5942d315bc445c8f1f7b32bd445de5/stacks/overcloud-Compute-vqk632ysg64r/e33b6b1e-8740-4ded-ad7f-720617a03393><br>> > > > > > > > > > > > | | (nested) |> | logical_resource_id | Compute |> | ><br>> > > > > > > > > > > | | physical_resource_id > > > > > > > > > > > |<br>> e33b6b1e-8740-4ded-ad7f-720617a03393 |> | required_by | > > > > > > > > > ><br>> > ComputeAllNodesDeployment |> | | > > > > > > > > > > ><br>> ComputeNodesPostDeployment > > > > > > > > > > > |> > > > > > > > > > > > |<br>> > > > > > > > > > > > | > > > > > > > > > > > ComputeCephDeployment |> | | ><br>> > > > > > > > > > > ComputeAllNodesValidationDeployment > > > > > > > > > ><br>> > |> > > > > > > > > > > > | > > > > > > > > > > > | > > > > > > > > > > ><br>> AllNodesExtraConfig |> | | allNodesConfig |> | > > > > > > > > > > ><br>> resource_name > > > > > > > > > > > | > > > > > > > > > > > Compute > > > ><br>> > > > > > > > |> > > > > > > > > > > > | resource_status | CREATE_FAILED |><br>> | > > > > > > > > > > > | resource_status_reason > > > > > > > > > > > | | ><br>> > > > > > > > > > > resources.Compute: ResourceInError:> | > > > > > > > > ><br>> > > resources[0].resources.NovaCompute: > > > > > > > > > > > Went to status<br>> ERROR due to "Message:> | No valid host > > > > > > > > > > > was > > > > ><br>> > > > > > > found. > > > > > > > > > > > There > > > > > > > > > > > are not<br>> enough hosts available., Code: 500"> | |> | > > > > > > > > > > ><br>> resource_type > > > > > > > > > > > | > > > > > > > > > > ><br>> OS::Heat::ResourceGroup |> | updated_time | > > > > > > > > > > ><br>> 2015-10-13T10:20:36 > > > > > > > > > > > |> > > > > > > > > > > ><br>> +------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+><br>> > > > > > > > > > > > > > > This is my instackenv.json for 1 compute and 1 ><br>> > > > > > > > > > > > > > control > > > > > > > > > > > > > > node > > > > ><br>> > > > > > > > > > to > > > > > > > > > > > > > > be > > > > > > > > > > ><br>> deployed.> > {> "nodes": [> {> "pm_type":"pxe_ipmitool",> > > > > > > > > ><br>> > > "mac":[> > > > > > > > > > > > "08:9E:01:58:CC:A1"> ],> "cpu":"4",><br>> "memory":"8192",> > > > > > > > > > > > "disk":"10",> > > > > > > > > > > ><br>> "arch":"x86_64",> "pm_user":"root",> > > > > > > > > > > ><br>> "pm_password":"calvin",> > > > > > > > > > > > "pm_addr":"192.168.0.18"> },><br>> {> > > > > > > > > > > > "pm_type":"pxe_ipmitool",> > > > > > > > > > > ><br>> "mac":[> > > > > > > > > > > > "08:9E:01:58:D0:3D"> ],> "cpu":"4",><br>> "memory":"8192",> > > > > > > > > > > > "disk":"100",> > > > > > > > > > > ><br>> "arch":"x86_64",> "pm_user":"root",> > > > > > > > > > > ><br>> "pm_password":"calvin",> > > > > > > > > > > > "pm_addr":"192.168.0.19"> }><br>> ]> }> > > Any ideas? Thanks > > > > > > > > > > > in > > > > > > > > > > ><br>> advance> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ><br>> > Esra ÇELİK> TÜBİTAK BİLGEM> > > > > > > > > > > ><br>> www.bilgem.tubitak.gov.tr> > > > > > > > > > > > celik.esra@tubitak.gov.tr><br>> > > > > > > > > > > > > _______________________________________________><br>> Rdo-list > > > > > > > > > > > mailing > > > > > > > > > > > list> > > > > ><br>> > > > > > > Rdo-list@redhat.com> > > > > > > > > > > ><br>> https://www.redhat.com/mailman/listinfo/rdo-list> > > > > > > > > > > > > ><br>> > > > > > > > > > > To unsubscribe: rdo-list-unsubscribe@redhat.com> > > > ><br>> > > > > > > > > > > _______________________________________________><br>> Rdo-list > > > > > > > > > > > mailing > > > > > > > > > > > list> > > > > ><br>> > > > > > > Rdo-list@redhat.com> > > > > > > > > > > ><br>> https://www.redhat.com/mailman/listinfo/rdo-list> > > > > > > > > > > > > ><br>> > > > > > > > > > > To unsubscribe: rdo-list-unsubscribe@redhat.com > > > ><br>> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ><br>> > > > > > > > > > > > > > > > > > > > > > > ><br>> _______________________________________________ > > > > > > > Rdo-list<br>> mailing list > > > > > > > Rdo-list@redhat.com > > > > > > ><br>> https://www.redhat.com/mailman/listinfo/rdo-list > > > > > > > > > > > > > ><br>> To unsubscribe: rdo-list-unsubscribe@redhat.com > > > > > > > > ><br></blockquote><div><br></div></div></body></html>