Ask Your Question

Soichiro75's profile - activity

2018-01-05 02:09:16 -0500 received badge  Notable Question (source)
2018-01-05 02:09:16 -0500 received badge  Famous Question (source)
2018-01-03 19:44:26 -0500 received badge  Taxonomist
2017-06-22 00:32:29 -0500 commented question "openstack overcloud deploy" fail with Error "The environment is not a valid YAML mapping data type."

That's right. I was stupid. Thank you Bernd!

2017-06-21 03:01:54 -0500 received badge  Popular Question (source)
2017-06-09 01:11:21 -0500 asked a question "openstack overcloud deploy" fail with Error "The environment is not a valid YAML mapping data type."

Hello,

I'm building Openstack Newton Environment by using TripleO on EXSi.

I successed Install-UnderCloud, Introspect-OverCloudNodes.

I created Heat-Templates, and deploying overcloud.

However "openstack overcloud deploy --templates -e (Omitted)" Command fail with Error "The environment is not a valid YAML mapping data type."

Please help me!

Thank you for your help.

Best regards,

Soichiro75

■ Version:

UnderCloudMachine OS: CentOS7.3

OpenStack Installer: TripleO(Director)

OpenStack Version: Newton

Environment: UnderCloud and OverCloud machines are VM on ESXi

■ Log:

(undercloud) [stack@director ~]$ ironic node-list
+--------------------------------------+--------------+---------------+-------------+--------------------+-------------+
| UUID                                 | Name         | Instance UUID | Power State | Provisioning State | Maintenance |
+--------------------------------------+--------------+---------------+-------------+--------------------+-------------+
| b200275a-891d-41f5-915d-19e1a9e91f0f | Controller00 | None          | power off   | available          | False       |
| f82fbe38-9492-4072-88e1-e7430a01d23f | Compute00    | None          | power off   | available          | False       |
| 4718100e-5007-4878-9384-813c31ac9259 | Compute01    | None          | power off   | available          | False       |
+--------------------------------------+--------------+---------------+-------------+--------------------+-------------+

(undercloud) [stack@director ~]$ openstack overcloud profiles list
+--------------------------------------+--------------+-----------------+-----------------+-------------------+
| Node UUID                            | Node Name    | Provision State | Current Profile | Possible Profiles |
+--------------------------------------+--------------+-----------------+-----------------+-------------------+
| b200275a-891d-41f5-915d-19e1a9e91f0f | Controller00 | available       | control         |                   |
| f82fbe38-9492-4072-88e1-e7430a01d23f | Compute00    | available       | compute         |                   |
| 4718100e-5007-4878-9384-813c31ac9259 | Compute01    | available       | compute         |                   |
+--------------------------------------+--------------+-----------------+-----------------+-------------------+

(undercloud) [stack@director ~]$ ironic node-show Controller00
+------------------------+--------------------------------------------------------------------------+
| Property               | Value                                                                    |
+------------------------+--------------------------------------------------------------------------+
| boot_interface         |                                                                          |
| chassis_uuid           | None                                                                     |
| clean_step             | {}                                                                       |
| console_enabled        | False                                                                    |
| console_interface      |                                                                          |
| created_at             | 2017-06-05T05:11:34+00:00                                                |
| deploy_interface       |                                                                          |
| driver                 | pxe_ssh                                                                  |
| driver_info            | {u'ssh_username': u'root', u'deploy_kernel': u'237ec566-9300-4e83-bbdd-  |
|                        | 27ebf55db0ad', u'libvirt_uri': u'esx://root@192.168.111.10/',            |
|                        | u'deploy_ramdisk': u'f99c42cc-2ee0-4891-8f5e-eba16395d423',              |
|                        | u'ssh_key_contents': u'******', u'ssh_virt_type': u'vmware',             |
|                        | u'ssh_address': u'192.168.111.10'}                                       |
| driver_internal_info   | {u'is_whole_disk_image': False}                                          |
| extra                  | {u'hardware_swift_object': u'extra_hardware-b200275a-891d-41f5-915d-     |
|                        | 19e1a9e91f0f'}                                                           |
| inspect_interface      |                                                                          |
| inspection_finished_at | None                                                                     |
| inspection_started_at  | None                                                                     |
| instance_info          | {}                                                                       |
| instance_uuid          | None                                                                     |
| last_error             | None                                                                     |
| maintenance            | False                                                                    |
| maintenance_reason     | None                                                                     |
| management_interface   |                                                                          |
| name                   | Controller00                                                             |
| network_interface      | flat                                                                     |
| power_interface        |                                                                          |
| power_state            | power off                                                                |
| properties             | {u'memory_mb': u'8192', u'cpu_arch': u'x86_64', u'local_gb': u'49',      |
|                        | u'cpus': u'4', u'capabilities': u'profile:control,cpu_aes:true,cpu_hugep |
|                        | ages:true,boot_option:local,cpu_vt:true,boot_mode:bios'}                 |
| provision_state        | available                                                                |
| provision_updated_at   | 2017-06-09T04:04:47+00:00                                                |
| raid_config            | {}                                                                       |
| raid_interface         |                                                                          |
| reservation            | None                                                                     |
| resource_class         | None                                                                     |
| target_power_state     | None                                                                     |
| target_provision_state | None                                                                     |
| target_raid_config     | {}                                                                       |
| updated_at             | 2017-06-09T04:04:48+00:00                                                |
| uuid                   | b200275a-891d-41f5-915d-19e1a9e91f0f                                     |
| vendor_interface       |                                                                          |
+------------------------+--------------------------------------------------------------------------+

(undercloud) [stack@director ~]$  ls -l ~/templates/
total 16
-rw-r--r--. 1 stack stack 3146 Jun  9 12:21 network-environment.yaml
drwxrwxr-x. 2 stack stack   77 Jun  9 14:17 nic-configs
-rw-r--r--. 1 stack stack 9952 Jun  9 11:29 roles_data.yaml

(undercloud) [stack@director ~]$ ls -l ~/templates/nic-configs/
total 24
-rw-r--r--. 1 stack stack 6079 Jun  9 12:11 compute.yaml
-rw-r--r--. 1 stack stack 6695 Jun  9 12:11 controller.yaml
-rwxr-xr-x. 1 stack stack 4601 Jun  8 18:03 run-os-net-config.sh

(undercloud) [stack@director ~]$ cat ~/templates/roles_data.yaml
# Specifies which roles (groups of nodes) will be deployed
# Note this is used as an input to the various *.j2.yaml
# jinja2 templates, so that they are converted into *.yaml
# during the plan creation (via a mistral action/workflow).
#
# The format is a list, with the following format:
#
# * name: (string) mandatory, name of the role, must be unique
#
# CountDefault: (number) optional, default number of nodes, defaults to 0
# sets the default for the {{role.name}}Count parameter in overcloud.yaml
#
# HostnameFormatDefault: (string) optional default format string for hostname
# defaults to '%stackname%-{{role.name.lower()}}-%index%'
# sets the default for {{role.name}}HostnameFormat parameter in overcloud.yaml
#
# disable_constraints: (boolean) optional, whether to disable Nova and Glance
# constraints ...
(more)
2017-06-08 20:53:46 -0500 received badge  Famous Question (source)
2017-06-08 20:53:46 -0500 received badge  Notable Question (source)
2017-06-08 20:39:53 -0500 received badge  Notable Question (source)
2017-06-08 20:39:53 -0500 received badge  Famous Question (source)
2016-09-23 03:31:30 -0500 received badge  Popular Question (source)
2016-09-21 03:48:11 -0500 asked a question How to build Redundant Director Environment.

Hello,

I want to know how to build Director HA Environment.

Of course, I know how to build OverCloud HA Environment.

https://access.redhat.com/documentation/en/red-hat-openstack-platform/8/paged/understanding-red-hat-openstack-platform-high-availability/chapter-1-overview (https://access.redhat.com/documentati...)

However, I can't find any sites written how to build Director HA Environment.

Anyone know?

Thank you for your helping.

■ Environment:

OS: Redhat7.2

OpenStack: Liberty

OpenStack Installer: TripleO (Director)

Best regards,

Soichiro75

2016-09-15 04:09:43 -0500 received badge  Enthusiast
2016-09-13 17:16:46 -0500 commented answer Fail "openstack baremetal introspection bulk start"

I solved the issue.

I patched, then introspection command successed :D

https://access.redhat.com/errata/RHBA-2016:1229 (https://access.redhat.com/errata/RHBA...)

Thank you.

2016-09-13 17:11:07 -0500 received badge  Popular Question (source)
2016-09-09 08:37:17 -0500 commented answer Fail "openstack baremetal introspection bulk start"

Hi Praveen,

Better access the KVM console of baremetal servers & do pxe boot manually when you run the introspection command.

I'll try it.

Thank you for your advice.

Thank you,

Soichiro75

2016-09-09 02:52:09 -0500 answered a question Fail "openstack baremetal introspection bulk start"

I might find the solution:

https://access.redhat.com/errata/RHBA-2016:1229

I'll try it.

2016-09-09 02:51:20 -0500 commented answer Fail "openstack baremetal introspection bulk start"

Hi Praveen N,

Thank you for your reply.

I might find the solution:

https://access.redhat.com/errata/RHBA-2016:1229

I'll try it.

Thank you, Soichiro75

2016-09-08 18:46:22 -0500 received badge  Editor (source)
2016-09-08 10:01:31 -0500 asked a question Fail "openstack baremetal introspection bulk start"

Hello,

I'm building Openstack Libety Environment by using TripleO on some Bare Metal.

However http://docs.openstack.org/developer/tripleo-docs/basic_deployment/basic_deployment_cli.html#introspect-nodes (openstack baremetal introspection bulk start) Introspect Nodes Command got wrong.

Some machines finished successfully, but some machines Introspection completed with errors.

The failed machines also got PXE-IP from UnderCloud-DHCP, but occured loop of something while PXE-booting.

After that, I rebuilt the same environment, then I retried the Introspect Nodes Command.

Other maches(failed the last time) success and some machines(successed the last time) failed.

Of course I always use same "instackenv.json" environment file, but I got the different results.

Why?

Did I wrong config?

or

Is this "openstack baremetal introspection bulk start" command bug?

or

Other reason?

Anyone know?

I would appreciate it if you give me some advice.

Thank you for your help.

Best regards,

Soichiro75

■ Version:

UnderCloudMachine's OS: RedHat7.2

OpenStack Installer: TripleO

OpenStack Version: Liberty

■ Log:

[stack@undercloud001 ~]$ source ~/stackrc

[stack@undercloud001 ~]$ openstack baremetal import --json ~/instackenv.json

[stack@undercloud001 ~]$ openstack baremetal configure boot

[stack@undercloud001 ~]$ ironic node-list

+--------------------------------------+------+---------------+-------------+--------------------+-------------+
| UUID                                 | Name | Instance UUID | Power State | Provisioning State | Maintenance |
+--------------------------------------+------+---------------+-------------+--------------------+-------------+
| 732766c4-8ec6-4bfc-93bc-d9e6853f30e6 | None | None          | power off   | available          | False       |
| 118a377c-76ef-418e-b838-906f6c1cbb01 | None | None          | power off   | available          | False       |
| 821fe2ca-c12b-43ad-bf15-61c92cdf35e2 | None | None          | power off   | available          | False       |
| b8419d2a-6fee-40d6-ba7b-099304375dff | None | None          | power off   | available          | False       |
| 07c9f8b6-4383-4dcf-97be-0fa068bcd7eb | None | None          | power off   | available          | False       |
+--------------------------------------+------+---------------+-------------+--------------------+-------------+

[stack@undercloud001 ~]$ openstack baremetal introspection bulk start

Setting nodes for introspection to manageable...
Starting introspection of node: 732766c4-8ec6-4bfc-93bc-d9e6853f30e6
Starting introspection of node: 118a377c-76ef-418e-b838-906f6c1cbb01
Starting introspection of node: 821fe2ca-c12b-43ad-bf15-61c92cdf35e2
Starting introspection of node: b8419d2a-6fee-40d6-ba7b-099304375dff
Starting introspection of node: 07c9f8b6-4383-4dcf-97be-0fa068bcd7eb
Waiting for introspection to finish...

Introspection for UUID 118a377c-76ef-418e-b838-906f6c1cbb01 finished with error: The following required parameters are missing: ['local_gb']
Introspection for UUID 732766c4-8ec6-4bfc-93bc-d9e6853f30e6 finished with error: The following required parameters are missing: ['local_gb']
Introspection for UUID 821fe2ca-c12b-43ad-bf15-61c92cdf35e2 finished successfully.
Introspection for UUID b8419d2a-6fee-40d6-ba7b-099304375dff finished successfully.
Introspection didn't finish for nodes 07c9f8b6-4383-4dcf-97be-0fa068bcd7eb
Setting manageable nodes to available...
Node 821fe2ca-c12b-43ad-bf15-61c92cdf35e2 has been set to available.
Node b8419d2a-6fee-40d6-ba7b-099304375dff has been set to available.
Introspection completed with errors:
118a377c-76ef-418e-b838-906f6c1cbb01: The following required parameters are missing: ['local_gb']
732766c4-8ec6-4bfc-93bc-d9e6853f30e6: The following required parameters are missing: ['local_gb']

[stack@undercloud001 ~]$ IRONIC_NODES=$(ironic node-list | head -n -1 | tail -n +4 | awk '{ print $2 }' | tr '\n' ' '); echo ${IRONIC_NODES}

732766c4-8ec6-4bfc-93bc-d9e6853f30e6
118a377c-76ef-418e-b838-906f6c1cbb01
821fe2ca-c12b-43ad-bf15-61c92cdf35e2
b8419d2a-6fee-40d6-ba7b-099304375dff
07c9f8b6-4383-4dcf-97be-0fa068bcd7eb

[stack@undercloud001 ~]$ for node in ${IRONIC_NODES}; do echo "${node}:"; ironic node-show ${node} | grep ipmi_address; done

732766c4-8ec6-4bfc-93bc-d9e6853f30e6:
| driver_info            | {u'ipmi_password': u'******', u'ipmi_address': u'10.11.184.220',       |
118a377c-76ef-418e-b838-906f6c1cbb01:
| driver_info            | {u'ipmi_password': u'******', u'ipmi_address': u'10.11.184.221',       |
821fe2ca-c12b-43ad-bf15-61c92cdf35e2:
| driver_info            | {u'ipmi_password': u'******', u'ipmi_address': u'10.11.184.222',       |
b8419d2a-6fee-40d6-ba7b-099304375dff:
| driver_info            | {u'ipmi_password': u'******', u'ipmi_address': u'10.11.184.225',       |
07c9f8b6-4383-4dcf-97be-0fa068bcd7eb:
| driver_info            | {u'ipmi_password': u'******', u'ipmi_address': u'10.11.184.237',       |

[stack@undercloud001 ~]$ ironic node-list

+--------------------------------------+------+---------------+-------------+--------------------+-------------+
| UUID                                 | Name | Instance UUID | Power State | Provisioning State | Maintenance |
+--------------------------------------+------+---------------+-------------+--------------------+-------------+
| 732766c4-8ec6-4bfc-93bc-d9e6853f30e6 | None | None          | power on    | manageable         | False       |
| 118a377c-76ef-418e-b838-906f6c1cbb01 | None | None          | power on    | manageable         | False       |
| 821fe2ca-c12b-43ad-bf15-61c92cdf35e2 | None | None          | power off   | available          | False       |
| b8419d2a-6fee-40d6-ba7b-099304375dff | None | None          | power off   | available          | False       |
| 07c9f8b6-4383-4dcf-97be-0fa068bcd7eb | None | None          | power on    | manageable         | False       |
+--------------------------------------+------+---------------+-------------+--------------------+-------------+