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

Dmitry Tantsur dtantsur at redhat.com
Fri Oct 14 09:14:56 UTC 2016


On 10/14/2016 10:43 AM, Boris Derzhavets wrote:
> 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.
>      2. Then we only register the undercloud.json on the undercloud:
>      1. 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"

Hi!

You've faced a bug in the validation code (I've reported it, but don't have the 
link handy). You can work around it by passing '--compute-scale 0' to your 
deployment command.

>
>
> 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.
<snip>




More information about the dev mailing list