-
Bug
-
Resolution: Unresolved
-
Major
-
CL210 - RHOSP16.1 1
-
None
-
False
-
-
False
-
-
-
en-US (English)
Please fill in the following information:
URL: | https://rol.redhat.com/rol/app/courses/cl210-16.1/pages/ch08s07 |
Reporter RHNID: | marcus_grenfell |
Section Title: | Lab: Managing Compute Node Operations |
Issue description
Description: during lab lab compute-review start, after create/set configs on aggregate and on flavor, openstack cannot create server com correct compute node. Even after destroy/recreate lab.
openstack aggregate create --property computehci=true hci-aggregate
---------------------------------------------+
Field | Value |
---------------------------------------------+
availability_zone | None |
created_at | 2024-11-11T19:58:07.000000 |
deleted | False |
deleted_at | None |
hosts | |
id | 2 |
name | hci-aggregate |
properties | computehci='true' |
updated_at | 2024-11-11T19:58:07.602753 |
---------------------------------------------+
[student@workstation ~(operator1-finance)]$ openstack aggregate add host hci-aggregate computehci0.overcloud.example.com
----------------------------------------------------+
Field | Value |
----------------------------------------------------+
availability_zone | None |
created_at | 2024-11-11T19:58:07.000000 |
deleted | False |
deleted_at | None |
hosts | computehci0.overcloud.example.com |
id | 2 |
name | hci-aggregate |
properties | computehci='true' |
updated_at | None |
----------------------------------------------------+
[student@workstation ~(operator1-finance)]$ openstack flavor create --ram 2048 --disk 10 --vcpus 2 --public --property computehci=true default-hci
----------------------------------------------------------------+
Field | Value |
----------------------------------------------------------------+
OS-FLV-DISABLED:disabled | False |
OS-FLV-EXT-DATA:ephemeral | 0 |
disk | 10 |
id | b514fa67-04eb-4f98-8c06-a1ef8a2732d2 |
name | default-hci |
os-flavor-access:is_public | True |
properties | computehci='true' |
ram | 2048 |
rxtx_factor | 1.0 |
swap | |
vcpus | 2 |
----------------------------------------------------------------+
[student@workstation ~(operator1-finance)]$ openstack server create --flavor default-hci --image rhel8 --config-drive true --nic net-id=production-network1 --wait --fit hci-server1
-----------------------------------------------------------------------------------------------------+
Field | Value |
-----------------------------------------------------------------------------------------------------+
OS-DCF:diskConfig | MANUAL |
OS-EXT-AZ:availability_zone | nova |
OS-EXT-SRV-ATTR:host | compute0.overcloud.example.com |
OS-EXT-SRV-ATTR:hypervisor_hostname | compute0.overcloud.example.com |
OS-EXT-SRV-ATTR:instance_name | instance-00000004 |
OS-EXT-STS:power_state | Running |
OS-EXT-STS:task_state | None |
OS-EXT-STS:vm_state | active |
OS-SRV-USG:launched_at | 2024-11-11T19:59:38.000000 |
OS-SRV-USG:terminated_at | None |
accessIPv4 | |
accessIPv6 | |
addresses | production-network1=192.168.1.104 |
adminPass | vPRXz8DQ7Ndq |
config_drive | True |
created | 2024-11-11T19:59:10Z |
flavor | default-hci (b514fa67-04eb-4f98-8c06-a1ef8a2732d2) |
hostId | 29588c3e9cb5dee05f0608182f03fab505fab86af1835ce2a0980e18 |
id | 0068641c-9c1f-4561-b8b6-a00279de598a |
image | rhel8 (1c4d5d8e-2881-4870-b922-13aaf4d2ab5f) |
key_name | None |
name | hci-server1 |
progress | 0 |
project_id | 5d0b01fa01dc48d8b04e306d40edcaeb |
properties | |
security_groups | name='default' |
status | ACTIVE |
updated | 2024-11-11T19:59:38Z |
user_id | e224e35884dae483edc7c82b46265c480ccff28911a9ed70ba47011988f3f600 |
volumes_attached |
-----------------------------------------------------------------------------------------------------+
Steps to reproduce:
Workaround:
Expected result: