<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>Finally, using template "<span class="author-a-vp2z73zez84zbz67zw3z89zyz79zz70zfw">Simplest ironic-config.yaml (instack-virt-setup)"</span></p>
<p><span class="author-a-vp2z73zez84zbz67zw3z89zyz79zz70zfw"><br>
</span></p>
<div class="" id="magicdomid38"><code><span class="author-a-vp2z73zez84zbz67zw3z89zyz79zz70zfw">parameter_defaults:</span></code></div>
<div class="" id="magicdomid39"><code><span class="author-a-vp2z73zez84zbz67zw3z89zyz79zz70zfw">    IronicEnabledDrivers:</span></code></div>
<div class="" id="magicdomid40"><code><span class="author-a-vp2z73zez84zbz67zw3z89zyz79zz70zfw">        - pxe_ssh</span></code></div>
<div class="" id="magicdomid41"><code><span class="author-a-vp2z73zez84zbz67zw3z89zyz79zz70zfw">    IronicCleaningDiskErase: 'metadata'</span></code></div>
<div class="" id="magicdomid42"><code><span class="author-a-vp2z73zez84zbz67zw3z89zyz79zz70zfw">    ControllerCount: 1</span></code></div>
<div class="" id="magicdomid43"><code><span class="author-a-vp2z73zez84zbz67zw3z89zyz79zz70zfw">    ComputeCount: 0</span></code></div>
<p></p>
<p><br>
</p>
<p>I've got :-</p>
<p><br>
</p>
<p></p>
<div>[stack@instack ~]$ source overcloudrc<br>
[stack@instack ~]$ openstack baremetal driver list<br>
WARNING: openstackclient.common.utils is deprecated and will be removed after Jun 2017. Please use osc_lib.utils<br>
+------------------------------------+------------------------------------+<br>
| Supported driver(s) | Active host(s)                              |<br>
+---------------------+---------------------------------------------------+<br>
| pxe_ssh            |  overcloud-controller-0.localdomain |<br>
+---------------------+---------------------------------------------------+<br>
</div>
<p></p>
<p><br>
</p>
<p>However , following schema splitting nodes (NODE_COUNT=2)<br>
</p>
<p></p>
<div class=" list-start-number4" id="magicdomid14">
<ol start="1" class="list-number4">
<li><span class="author-a-hz85z5lh0fz76z4z73zz67zz70zz89z17i">jq '.nodes[0:1] | {nodes: .}' instackenv.json > undercloud.json</span></li><li><span class="author-a-hz85z5lh0fz76z4z73zz67zz70zz89z17i">jq '.nodes[1:2] | {nodes: map({driver: .pm_type, name: .name, driver_info: {ssh_username: .pm_user, ssh_address: .pm_addr, ssh_key_contents: .pm_password, ssh_virt_type: "virsh"}, properties: {cpus:
 .cpu, cpu_arch: .arch, local_gb: .disk, memory_mb: .memory}, ports: .mac | map({address: .})})}' instackenv.json > overcloud-nodes.yaml</span></li><li><span class="author-a-hz85z5lh0fz76z4z73zz67zz70zz89z17i">
<div class="" id="magicdomid16">
<ol start="2" class="list-number3">
<li><span class="author-a-hz85z5lh0fz76z4z73zz67zz70zz89z17i">Then we only register the undercloud.json on the undercloud:</span></li></ol>
</div>
<div class=" list-start-number4" id="magicdomid17">
<ol start="1" class="list-number4">
<li><span class="author-a-hz85z5lh0fz76z4z73zz67zz70zz89z17i">source stackrc; openstack baremetal import undercloud.json</span></li></ol>
</div>
<br>
</span></li></ol>
</div>
<span class="author-a-hz85z5lh0fz76z4z73zz67zz70zz89z17i"></span>causes immediate exit of
<p></p>
<p></p>
<pre>$ source stackrc<br>$ openstack overcloud deploy --templates \
    -e /usr/share/openstack-tripleo-heat-templates/environments/services/ironic.yaml \
    -e ironic-config.yaml</pre>
with message
<p></p>
<p>"One node registered, but 2 nodes required"</p>
<p><br>
</p>
<p>So , to get this running I was forced cancel splitting nodes</p>
<p>$ <span class="author-a-hz85z5lh0fz76z4z73zz67zz70zz89z17i">jq '.nodes[0:2] | {nodes: .}' instackenv.json > undercloud.json</span></p>
<p><span class="author-a-hz85z5lh0fz76z4z73zz67zz70zz89z17i"><br>
</span></p>
<p><span class="author-a-hz85z5lh0fz76z4z73zz67zz70zz89z17i">What in turn results :-</span></p>
<p><span class="author-a-hz85z5lh0fz76z4z73zz67zz70zz89z17i"></p>
<div>[stack@instack ~]$ . stackrc<br>
[stack@instack ~]$ openstack baremetal node list<br>
WARNING: openstackclient.common.utils is deprecated and will be removed after Jun 2017. Please use osc_lib.utils<br>
+-------------------+------+-------------------+-------------+--------------------+-----------------------------------------+<br>
| UUID              | Name | Instance UUID     | Power State | Provisioning State | Maintenance |<br>
+-------------------+------+-------------------+-------------+--------------------+------------------------------------------+<br>
| 66ede001-8a82     | None | None              | power off   |        available          | False               |<br>
| -40df-            |      |                                       |                     |                                  |                         |<br>
| 8ee6-22511169a2fa |      |                   |             |                    |                                                     |<br>
| 376b50bc-8ccd-4ac | None | 8ddbe9d1-f8f9-4f2 | power on    | active           | False             |<br>
| 0-8191-ce523a8cc9 |           | 8-9562-63b10b0d5c |             |                           |                       |<br>
| 4f                |      | 9f                              |             |                  |                                                        |<br>
+-------------------+------+-------------------+-------------+--------------------+-----------------------------------------+</div>
</span><br>
<p></p>
<p>I missing something here, template suggested above requires registering 2 nodes, but not one.</p>
<p>Please, advise.</p>
<p><br>
</p>
<p>Thanks</p>
<p>Boris.<br>
</p>
<br>
_____________________________________________________________________________________________<br>
<div style="color: rgb(49, 55, 57);">
<div>
<div id="x_divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" face="Calibri, sans-serif" color="#000000"><b>From:</b> rdo-list-bounces@redhat.com <rdo-list-bounces@redhat.com> on behalf of Dmitry Tantsur <dtantsur@redhat.com><br>
<b>Sent:</b> Monday, October 10, 2016 3:42 PM<br>
<b>To:</b> Boris<br>
<b>Cc:</b> rdo-list<br>
<b>Subject:</b> Re: [rdo-list] RDO Newton GA Test Day - October 13, 14 TripleO VENV Testing</font>
<div> </div>
</div>
</div>
<font size="2"><span style="font-size:10pt;">
<div class="PlainText">Sorry, I think you have to either remove "OvercloudControlFlavor: control" or
<br>
tweak you flavors (the former is the easiest). <br>
<a previewremoved="true" id="LPlnk577421" href="https://etherpad.openstack.org/p/rdo-newton-ga-testday-ironic-overcloud">https://etherpad.openstack.org/p/rdo-newton-ga-testday-ironic-overcloud</a> has the
<br>
updated samples.<br>
<br>
On 10/10/2016 02:39 PM, Boris wrote:<br>
> Backup e-mail has been used due to local DNS issues with hotmail.com.<br>
><br>
> Follow <a previewremoved="true" id="LPlnk988868" href="http://tripleo.org/advanced_deployment/baremetal_overcloud.html">
http://tripleo.org/advanced_deployment/baremetal_overcloud.html</a>
<div style="margin-bottom: 20px; overflow: auto; width: 100%; text-indent: 0px;" id="LPBorder_GT_14764328791920.4598513105767984">
<table style="width: 90%; background-color: rgb(255, 255, 255); position: relative; overflow: auto; padding-top: 20px; padding-bottom: 20px; margin-top: 20px; border-top: 1px dotted rgb(200, 200, 200); border-bottom: 1px dotted rgb(200, 200, 200);" id="LPContainer_14764328791880.339572328560686" cellspacing="0">
<tbody>
<tr style="border-spacing: 0px;" valign="top">
<td colspan="2" style="vertical-align: top; position: relative; padding: 0px; display: table-cell;" id="TextCell_14764328791890.8811674720035358">
<div id="LPRemovePreviewContainer_14764328791900.4435096810776292"></div>
<div style="top: 0px; color: rgb(0, 120, 215); font-weight: 400; font-size: 21px; font-family: "wf_segoe-ui_light","Segoe UI Light","Segoe WP Light","Segoe UI","Segoe WP",Tahoma,Arial,sans-serif; line-height: 21px;" id="LPTitle_14764328791900.05556933120586727">
<a target="_blank" href="http://tripleo.org/advanced_deployment/baremetal_overcloud.html" style="text-decoration: none;" id="LPUrlAnchor_14764328791900.6307848854575344">Bare Metal Instances in Overcloud — tripleo-docs 0.0.1 ...</a></div>
<div style="margin: 10px 0px 16px; color: rgb(102, 102, 102); font-weight: 400; font-family: "wf_segoe-ui_normal","Segoe UI","Segoe WP",Tahoma,Arial,sans-serif; font-size: 14px; line-height: 14px;" id="LPMetadata_14764328791910.9639493614097947">
tripleo.org</div>
<div style="display: block; color: rgb(102, 102, 102); font-weight: 400; font-family: "wf_segoe-ui_normal","Segoe UI","Segoe WP",Tahoma,Arial,sans-serif; font-size: 14px; line-height: 20px; max-height: 100px; overflow: hidden;" id="LPDescription_14764328791910.2577134048733599">
Bare Metal Instances in Overcloud¶ This documentation explains installing Ironic for providing bare metal instances in the overcloud to end users.</div>
</td>
</tr>
</tbody>
</table>
</div>
<br>
> with  your sample<br>
><br>
> parameter_defaults:<br>
>      IronicEnabledDrivers:<br>
>          - pxe_ssh<br>
>          - pxe_ipmitool<br>
>      IronicCleaningDiskErase: 'metadata'<br>
>      ControllerCount: 1<br>
>      ComputeCount: 0<br>
>      OvercloudControlFlavor: control<br>
>      NtpServer: 'pool.ntp.org'<br>
><br>
> via instack-virt-setup with<br>
><br>
> NODE_CPU=2<br>
> NODE_COUNT=2<br>
> NODE_MEMORY=80000<br>
> UNDERCLOUD_MEMORY=12000<br>
><br>
> on  32 GB VIRTHOST 4 CORE i7 CPU (Haswell )<br>
><br>
> Every time get during overcloud deployment<br>
><br>
> =================================================================================================<br>
> 2016-10-10 07:35:42Z [overcloud.Controller.0.Controller]: CREATE_FAILED<br>
> ResourceInError: resources.Controller: Went to status ERROR due to "Message: No<br>
> valid host was found. There are not enough hosts available., Code: 500"<br>
> ==================================================================================================<br>
><br>
> Due to limited experience both cases tested<br>
><br>
> 1. openstack baremetal introspection bulk start -  is skipped <== I guess has to<br>
> be skipped.<br>
> 2. openstack baremetal introspection bulk start -   is done<br>
><br>
> Before overcloud-deploy.sh run.<br>
><br>
> Crashes with same error above.<br>
><br>
> Repos setup (same on VIRTHOST and "instack VM") :-<br>
><br>
> $ sudo yum -y install yum-plugin-priorities<br>
> $ sudo curl -o /etc/yum.repos.d/delorean-newton.repo \<br>
>     <a previewremoved="true" id="LPlnk632589" href="http://buildlogs.centos.org/centos/7/cloud/x86_64/rdo-trunk-newton-tested/delorean.repo">
http://buildlogs.centos.org/centos/7/cloud/x86_64/rdo-trunk-newton-tested/delorean.repo</a><br>
> $ sudo curl -o /etc/yum.repos.d/delorean-deps-newton.repo \<br>
>    <a previewremoved="true" id="LPlnk183980" href="https://trunk.rdoproject.org/centos7-newton/delorean-deps.repo">
https://trunk.rdoproject.org/centos7-newton/delorean-deps.repo</a><br>
><br>
> One other test has been completed OK .<br>
><br>
> RDO Newton Overcloud HA deployment via instack-virt-setup on CentOS 7.2 VIRTHOST<br>
> <a previewremoved="true" id="LPlnk490985" href="http://dbaxps.blogspot.com/2016/10/rdo-newton-overcloud-ha-deployment-via.html">
http://dbaxps.blogspot.com/2016/10/rdo-newton-overcloud-ha-deployment-via.html</a>
<div style="margin-bottom: 20px; overflow: auto; width: 100%; text-indent: 0px;" id="LPBorder_GT_14764329374010.27357140037138683">
<table style="width: 90%; background-color: rgb(255, 255, 255); position: relative; overflow: auto; padding-top: 20px; padding-bottom: 20px; margin-top: 20px; border-top: 1px dotted rgb(200, 200, 200); border-bottom: 1px dotted rgb(200, 200, 200);" id="LPContainer_14764329373980.10371973319368022" cellspacing="0">
<tbody>
<tr style="border-spacing: 0px;" valign="top">
<td colspan="1" style="width: 250px; position: relative; display: table-cell; padding-right: 20px;" id="ImageCell_14764329373980.27734814812643593">
<div style="background-color: rgb(255, 255, 255); height: 131px; position: relative; margin: auto; display: table; width: 250px;" id="LPImageContainer_14764329373980.8601203113315922">
<a target="_blank" href="http://dbaxps.blogspot.com/2016/10/rdo-newton-overcloud-ha-deployment-via.html" style="display: table-cell; text-align: center;" id="LPImageAnchor_14764329373990.4095736283224847"><img id="LPThumbnailImageID_14764329373990.17911167348594437" aria-label="Preview image with link selected. Double-tap to open the link." style="display: inline-block; max-width: 250px; max-height: 250px; height: 131px; width: 250px; border-width: 0px; vertical-align: bottom;" height="131" width="250" src="https://1.bp.blogspot.com/-OuG1rBXIckc/V_ltfZJ54mI/AAAAAAAAHME/4jHIDlJ8bBA7Qt-jAezXlB0eFOmULh_7wCLcB/w1200-h630-p-nu/Screenshot%2Bfrom%2B2016-10-09%2B01-03-24.png"></a></div>
</td>
<td colspan="2" style="vertical-align: top; position: relative; padding: 0px; display: table-cell;" id="TextCell_14764329373990.3898263520349917">
<div id="LPRemovePreviewContainer_14764329373990.3310245261900341"></div>
<div style="top: 0px; color: rgb(0, 120, 215); font-weight: 400; font-size: 21px; font-family: "wf_segoe-ui_light","Segoe UI Light","Segoe WP Light","Segoe UI","Segoe WP",Tahoma,Arial,sans-serif; line-height: 21px;" id="LPTitle_14764329374000.3944897379310769">
<a target="_blank" href="http://dbaxps.blogspot.com/2016/10/rdo-newton-overcloud-ha-deployment-via.html" style="text-decoration: none;" id="LPUrlAnchor_14764329374000.8653519229028465">RDO Newton Overcloud HA deployment via instack-virt-setup on CentOS 7.2
 VIRTHOST</a></div>
<div style="margin: 10px 0px 16px; color: rgb(102, 102, 102); font-weight: 400; font-family: "wf_segoe-ui_normal","Segoe UI","Segoe WP",Tahoma,Arial,sans-serif; font-size: 14px; line-height: 14px;" id="LPMetadata_14764329374000.7445317717579344">
dbaxps.blogspot.com</div>
<div style="display: block; color: rgb(102, 102, 102); font-weight: 400; font-family: "wf_segoe-ui_normal","Segoe UI","Segoe WP",Tahoma,Arial,sans-serif; font-size: 14px; line-height: 20px; max-height: 100px; overflow: hidden;" id="LPDescription_14764329374010.8253084393375701">
Draft belllow may be considered as POC awaiting release of TripleoO QuickStart along with flexible templates managed by ansible and KSM pa...</div>
</td>
</tr>
</tbody>
</table>
</div>
<br>
><br>
> Thanks.<br>
> Boris.<br>
> Sorry, but current time frame is more suitable for myself.<br>
><br>
> Понедельник, 10 октября 2016, 13:10 +03:00 от Dmitry Tantsur <dtantsur@redhat.com>:<br>
><br>
><br>
>     Done, updated <a previewremoved="true" id="LPlnk852626" href="https://etherpad.openstack.org/p/rdo-newton-ga-testday-testplan">
https://etherpad.openstack.org/p/rdo-newton-ga-testday-testplan</a><br>
>     and created<br>
>     <a previewremoved="true" id="LPlnk697093" href="https://etherpad.openstack.org/p/rdo-newton-ga-testday-ironic-overcloud">
https://etherpad.openstack.org/p/rdo-newton-ga-testday-ironic-overcloud</a>.<br>
><br>
>     _______________________________________________<br>
>     rdo-list mailing list<br>
>     rdo-list@redhat.com <<a href="mailto:rdo-list@redhat.com">mailto:rdo-list@redhat.com</a>><br>
>     <a href="https://www.redhat.com/mailman/listinfo/rdo-list">https://www.redhat.com/mailman/listinfo/rdo-list</a><br>
><br>
>     To unsubscribe: rdo-list-unsubscribe@redhat.com<br>
>     <<a href="mailto:rdo-list-unsubscribe@redhat.com">mailto:rdo-list-unsubscribe@redhat.com</a>><br>
><br>
><br>
><br>
> С уважением,<br>
> Boris Derzhavets<br>
> dba477@list.ru<br>
<br>
_______________________________________________<br>
rdo-list mailing list<br>
rdo-list@redhat.com<br>
<a href="https://www.redhat.com/mailman/listinfo/rdo-list">https://www.redhat.com/mailman/listinfo/rdo-list</a><br>
<br>
To unsubscribe: rdo-list-unsubscribe@redhat.com</div>
</span></font></div>
</div>
</body>
</html>