[rdo-list] RDO Newton GA Test Day - October 13, 14 TripleO VENV Testing

Boris Derzhavets bderzhavets at hotmail.com
Fri Oct 14 08:43:54 UTC 2016


Finally, using template "Simplest ironic-config.yaml (instack-virt-setup)"


parameter_defaults:
    IronicEnabledDrivers:
        - pxe_ssh
    IronicCleaningDiskErase: 'metadata'
    ControllerCount: 1
    ComputeCount: 0


I've got :-


[stack at instack ~]$ source overcloudrc
[stack at instack ~]$ openstack baremetal driver list
WARNING: openstackclient.common.utils is deprecated and will be removed after Jun 2017. Please use osc_lib.utils
+------------------------------------+------------------------------------+
| Supported driver(s) | Active host(s)                              |
+---------------------+---------------------------------------------------+
| pxe_ssh            |  overcloud-controller-0.localdomain |
+---------------------+---------------------------------------------------+


However , following schema splitting nodes (NODE_COUNT=2)

  1.  jq '.nodes[0:1] | {nodes: .}' instackenv.json > undercloud.json
  2.  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
  3.
     *   Then we only register the undercloud.json on the undercloud:
     *   source stackrc; openstack baremetal import undercloud.json


causes immediate exit of

$ source stackrc
$ openstack overcloud deploy --templates \
    -e /usr/share/openstack-tripleo-heat-templates/environments/services/ironic.yaml \
    -e ironic-config.yaml

with message

"One node registered, but 2 nodes required"


So , to get this running I was forced cancel splitting nodes

$ jq '.nodes[0:2] | {nodes: .}' instackenv.json > undercloud.json


What in turn results :-

[stack at instack ~]$ . stackrc
[stack at instack ~]$ openstack baremetal node list
WARNING: openstackclient.common.utils is deprecated and will be removed after Jun 2017. Please use osc_lib.utils
+-------------------+------+-------------------+-------------+--------------------+-----------------------------------------+
| UUID              | Name | Instance UUID     | Power State | Provisioning State | Maintenance |
+-------------------+------+-------------------+-------------+--------------------+------------------------------------------+
| 66ede001-8a82     | None | None              | power off   |        available          | False               |
| -40df-            |      |                                       |                     |                                  |                         |
| 8ee6-22511169a2fa |      |                   |             |                    |                                                     |
| 376b50bc-8ccd-4ac | None | 8ddbe9d1-f8f9-4f2 | power on    | active           | False             |
| 0-8191-ce523a8cc9 |           | 8-9562-63b10b0d5c |             |                           |                       |
| 4f                |      | 9f                              |             |                  |                                                        |
+-------------------+------+-------------------+-------------+--------------------+-----------------------------------------+


I missing something here, template suggested above requires registering 2 nodes, but not one.

Please, advise.


Thanks

Boris.

_____________________________________________________________________________________________
From: rdo-list-bounces at redhat.com <rdo-list-bounces at redhat.com> on behalf of Dmitry Tantsur <dtantsur at redhat.com>
Sent: Monday, October 10, 2016 3:42 PM
To: Boris
Cc: rdo-list
Subject: Re: [rdo-list] RDO Newton GA Test Day - October 13, 14 TripleO VENV Testing

Sorry, I think you have to either remove "OvercloudControlFlavor: control" or
tweak you flavors (the former is the easiest).
https://etherpad.openstack.org/p/rdo-newton-ga-testday-ironic-overcloud has the
updated samples.

On 10/10/2016 02:39 PM, Boris wrote:
> Backup e-mail has been used due to local DNS issues with hotmail.com.
>
> Follow http://tripleo.org/advanced_deployment/baremetal_overcloud.html
Bare Metal Instances in Overcloud — tripleo-docs 0.0.1 ...<http://tripleo.org/advanced_deployment/baremetal_overcloud.html>
tripleo.org
Bare Metal Instances in Overcloud¶ This documentation explains installing Ironic for providing bare metal instances in the overcloud to end users.


> with  your sample
>
> parameter_defaults:
>      IronicEnabledDrivers:
>          - pxe_ssh
>          - pxe_ipmitool
>      IronicCleaningDiskErase: 'metadata'
>      ControllerCount: 1
>      ComputeCount: 0
>      OvercloudControlFlavor: control
>      NtpServer: 'pool.ntp.org'
>
> via instack-virt-setup with
>
> NODE_CPU=2
> NODE_COUNT=2
> NODE_MEMORY=80000
> UNDERCLOUD_MEMORY=12000
>
> on  32 GB VIRTHOST 4 CORE i7 CPU (Haswell )
>
> Every time get during overcloud deployment
>
> =================================================================================================
> 2016-10-10 07:35:42Z [overcloud.Controller.0.Controller]: CREATE_FAILED
> ResourceInError: resources.Controller: Went to status ERROR due to "Message: No
> valid host was found. There are not enough hosts available., Code: 500"
> ==================================================================================================
>
> Due to limited experience both cases tested
>
> 1. openstack baremetal introspection bulk start -  is skipped <== I guess has to
> be skipped.
> 2. openstack baremetal introspection bulk start -   is done
>
> Before overcloud-deploy.sh run.
>
> Crashes with same error above.
>
> Repos setup (same on VIRTHOST and "instack VM") :-
>
> $ sudo yum -y install yum-plugin-priorities
> $ sudo curl -o /etc/yum.repos.d/delorean-newton.repo \
>     http://buildlogs.centos.org/centos/7/cloud/x86_64/rdo-trunk-newton-tested/delorean.repo
> $ sudo curl -o /etc/yum.repos.d/delorean-deps-newton.repo \
>    https://trunk.rdoproject.org/centos7-newton/delorean-deps.repo
>
> One other test has been completed OK .
>
> RDO Newton Overcloud HA deployment via instack-virt-setup on CentOS 7.2 VIRTHOST
> http://dbaxps.blogspot.com/2016/10/rdo-newton-overcloud-ha-deployment-via.html
[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]<http://dbaxps.blogspot.com/2016/10/rdo-newton-overcloud-ha-deployment-via.html>

RDO Newton Overcloud HA deployment via instack-virt-setup on CentOS 7.2 VIRTHOST<http://dbaxps.blogspot.com/2016/10/rdo-newton-overcloud-ha-deployment-via.html>
dbaxps.blogspot.com
Draft belllow may be considered as POC awaiting release of TripleoO QuickStart along with flexible templates managed by ansible and KSM pa...


>
> Thanks.
> Boris.
> Sorry, but current time frame is more suitable for myself.
>
> ???????????, 10 ??????? 2016, 13:10 +03:00 ?? Dmitry Tantsur <dtantsur at redhat.com>:
>
>
>     Done, updated https://etherpad.openstack.org/p/rdo-newton-ga-testday-testplan
>     and created
>     https://etherpad.openstack.org/p/rdo-newton-ga-testday-ironic-overcloud.
>
>     _______________________________________________
>     rdo-list mailing list
>     rdo-list at redhat.com <mailto:rdo-list at redhat.com>
>     https://www.redhat.com/mailman/listinfo/rdo-list
>
>     To unsubscribe: rdo-list-unsubscribe at redhat.com
>     <mailto:rdo-list-unsubscribe at redhat.com>
>
>
>
> ? ?????????,
> Boris Derzhavets
> dba477 at list.ru

_______________________________________________
rdo-list mailing list
rdo-list at redhat.com
https://www.redhat.com/mailman/listinfo/rdo-list

To unsubscribe: rdo-list-unsubscribe at redhat.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rdoproject.org/pipermail/dev/attachments/20161014/d75a2157/attachment.html>


More information about the dev mailing list