root@controller1:~# neutron port-list | grep 10.10.19.207
| 977b01b2-6ead-4e4c-bb87-ef9105516fa5 | | f4:1d:6b:f7:be:fc | {"subnet_id": "f575285d-74ac-4757-a75e-4a30a029041c", "ip_address": "10.10.19.207"} |
root@controller1:~# neutron port-show 977b01b2-6ead-4e4c-bb87-ef9105516fa5
+-----------------------+-------------------------------------------------------------------------------------+
| Field | Value |
+-----------------------+-------------------------------------------------------------------------------------+
| admin_state_up | True |
| allowed_address_pairs | |
| binding:host_id | 128e2250-9c88-43de-bd62-d5be324f50f7 |
| binding:profile | {} |
| binding:vif_details | {} |
| binding:vif_type | phy |
| binding:vnic_type | baremetal |
| created_at | 2020-07-01T11:59:02 |
| description | |
| device_id | 21615868-bd73-4a7c-92d3-faa6816bdc1c |
| device_owner | compute:None |
| dns_assignment | {"hostname": "hn-1", "ip_address": "10.10.19.207", "fqdn": "hn-1.kc.local."} |
| dns_name | hn-1 |
| extra_dhcp_opts | {"opt_value": "10.10.19.41", "ip_version": 4, "opt_name": "150"} |
| | {"opt_value": "/tftpboot/", "ip_version": 4, "opt_name": "210"} |
| | {"opt_value": "10.10.19.41", "ip_version": 4, "opt_name": "66"} |
| | {"opt_value": "pxelinux.0", "ip_version": 4, "opt_name": "67"} |
| | {"opt_value": "10.10.19.41", "ip_version": 4, "opt_name": "server-ip-address"} |
| fixed_ips | {"subnet_id": "f575285d-74ac-4757-a75e-4a30a029041c", "ip_address": "10.10.19.207"} |
| id | 977b01b2-6ead-4e4c-bb87-ef9105516fa5 |
| mac_address | f4:1d:6b:f7:be:fc |
| name | |
| network_id | 94ec94a9-88d3-4974-a1f5-8e86efa66a63 |
| qos_policy_id | |
| security_groups | e5d759a2-817d-4557-9e8a-29660fc8d3e4 |
| status | DOWN |
| tenant_id | 5bf9cc4afb104c55b01ad9951369dbbc |
| updated_at | 2020-07-01T11:59:10 |
+-----------------------+-------------------------------------------------------------------------------------+
root@controller1:~# nova show 128e2250-9c88-43de-bd62-d5be324f50f7
ERROR (CommandError): No server with a name or ID of '128e2250-9c88-43de-bd62-d5be324f50f7' exists.
root@controller1:~# nova show 21615868-bd73-4a7c-92d3-faa6816bdc1c
+--------------------------------------+-----------------------------------------------------------------+
| Property | Value |
+--------------------------------------+-----------------------------------------------------------------+
| OS-DCF:diskConfig | AUTO |
| OS-EXT-AZ:availability_zone | nova |
| OS-EXT-SRV-ATTR:host | controller1-ironic |
| OS-EXT-SRV-ATTR:hostname | hn-1 |
| OS-EXT-SRV-ATTR:hypervisor_hostname | 128e2250-9c88-43de-bd62-d5be324f50f7 |
| OS-EXT-SRV-ATTR:instance_name | instance-00003842 |
| OS-EXT-SRV-ATTR:kernel_id | |
| OS-EXT-SRV-ATTR:launch_index | 0 |
| OS-EXT-SRV-ATTR:ramdisk_id | |
| OS-EXT-SRV-ATTR:reservation_id | r-ftkycwv1 |
| OS-EXT-SRV-ATTR:root_device_name | /dev/sda |
| OS-EXT-SRV-ATTR:user_data | - |
| OS-EXT-STS:power_state | 1 |
| OS-EXT-STS:task_state | - |
| OS-EXT-STS:vm_state | active |
| OS-SRV-USG:launched_at | 2020-07-01T12:05:24.000000 |
| OS-SRV-USG:terminated_at | - |
| accessIPv4 | |
| accessIPv6 | |
| config_drive | |
| created | 2020-07-01T11:59:00Z |
| description | - |
| flavor | huawei86_64_228 (e8a5b8e4-dc68-4b50-9e39-0957a6c9e198) |
| hostId | 54ae55ea67cc9c4d4af83dcae8d69203faa9482c45b05f568f9bf6e9 |
| host_status | UP |
| id | 21615868-bd73-4a7c-92d3-faa6816bdc1c |
| image | centos7-x86_64-baremetal (b4040852-fd17-4ca1-ac3b-e5d89254936b) |
| ironic network | 10.10.19.207 |
| key_name | zhn_sshkey |
| locked | False |
| metadata | {} |
| name | hn_1 |
| os-extended-volumes:volumes_attached | [] |
| progress | 0 |
| root_disk_size | 0 |
| security_groups | default |
| status | ACTIVE |
| tenant_id | 5bf9cc4afb104c55b01ad9951369dbbc |
| updated | 2020-07-01T12:05:24Z |
| user_id | 8d5522dc65ad4669aebbc2c80de7d2e9 |
+--------------------------------------+-----------------------------------------------------------------+
root@controller1:~# ironic node-show 128e2250-9c88-43de-bd62-d5be324f50f7
+------------------------+--------------------------------------------------------------------------+
| Property | Value |
+------------------------+--------------------------------------------------------------------------+
| chassis_uuid | None |
| clean_step | {} |
| console_enabled | False |
| created_at | 2020-07-01T11:35:23+00:00 |
| driver | ipmi |
| driver_info | {u'ipmi_port': 623, u'ipmi_username': u'Administrator', |
| | u'deploy_kernel': u'aaada2f3-ed73-41dd-b46e-92b004f4340d', |
| | u'ipmi_protocol_version': 1.5, u'deploy_ramdisk': u'9a2d6c68-00e5-473a- |
| | 90f9-9de3724e202a', u'ipmi_password': u'******', u'ipmi_address': |
| | u'10.10.17.64'} |
| driver_internal_info | {u'agent_url': u'http://10.10.19.207:9999', u'root_uuid_or_disk_id': |
| | u'0x83510a87', u'is_whole_disk_image': True, u'agent_version': u'3.2.4'} |
| extra | {} |
| inspection_finished_at | None |
| inspection_started_at | None |
| instance_info | {u'root_gb': u'0', u'display_name': u'hn_1', u'image_source': |
| | u'b4040852-fd17-4ca1-ac3b-e5d89254936b', u'memory_mb': u'524288', |
| | u'vcpus': u'72', u'local_gb': u'0', u'swap_mb': u'0'} |
| instance_uuid | 21615868-bd73-4a7c-92d3-faa6816bdc1c |
| last_error | None |
| maintenance | False |
| maintenance_reason | None |
| name | node16.64 |
| power_state | power on |
| properties | {u'memory_mb': 524288, u'cpu_arch': u'x86_64', u'root_device': {u'name': |
| | u'/dev/sda'}, u'cpus': 72, u'capabilities': u'boot_mode:bios'} |
| provision_state | active |
| provision_updated_at | 2020-07-01T12:05:23+00:00 |
| raid_config | |
| reservation | None |
| target_power_state | None |
| target_provision_state | None |
| target_raid_config | |
| updated_at | 2020-07-13T11:22:13+00:00 |
| uuid | 128e2250-9c88-43de-bd62-d5be324f50f7 |
+------------------------+--------------------------------------------------------------------------+
root@controller1:~#