Closed haasken-hpe closed 3 months ago
The resulting build was sanity tested on drax as follows:
ncn-m001:~/haasken # sat --version
sat 3.25.13
ncn-m001:~/haasken # sat --loglevel debug status --type NodeBMC
...
DEBUG: Issuing GET request to URL 'https://api-gw-service-nmn.local/apis/smd/hsm/v2/State/Components'
DEBUG: Received response to GET request to URL 'https://api-gw-service-nmn.local/apis/smd/hsm/v2/State/Components?type=NodeBMC' with status code: '200': OK
+--------------+---------+-------+------+---------+------+-------+----------+
| xname | Type | State | Flag | Enabled | Arch | Class | Net Type |
+--------------+---------+-------+------+---------+------+-------+----------+
| x3000c0s3b0 | NodeBMC | Ready | OK | True | X86 | River | Sling |
...
+--------------+---------+-------+------+---------+------+-------+----------+
ncn-m001:~/haasken # sat --loglevel debug status --type Node
...
DEBUG: Issuing GET request to URL 'https://api-gw-service-nmn.local/apis/smd/hsm/v2/State/Components'
DEBUG: Received response to GET request to URL 'https://api-gw-service-nmn.local/apis/smd/hsm/v2/State/Components?type=Node' with status code: '200': OK
DEBUG: Issuing GET request to URL 'https://api-gw-service-nmn.local/apis/sls/v1/search/hardware'
DEBUG: Received response to GET request to URL 'https://api-gw-service-nmn.local/apis/sls/v1/search/hardware?type=comptype_node' with status code: '200': OK
DEBUG: Issuing GET request to URL 'https://api-gw-service-nmn.local/apis/cfs/v2/components'
DEBUG: Received response to GET request to URL 'https://api-gw-service-nmn.local/apis/cfs/v2/components' with status code: '200': OK
DEBUG: Issuing GET request to URL 'https://api-gw-service-nmn.local/apis/bos/v2/components'
DEBUG: Received response to GET request to URL 'https://api-gw-service-nmn.local/apis/bos/v2/components' with status code: '200': OK
DEBUG: Issuing GET request to URL 'https://api-gw-service-nmn.local/apis/bos/v2/sessions/a39946a0-79ae-48be-a4f6-1a75a25f92d2'
DEBUG: Received response to GET request to URL 'https://api-gw-service-nmn.local/apis/bos/v2/sessions/a39946a0-79ae-48be-a4f6-1a75a25f92d2' with status code: '200': OK
DEBUG: Issuing GET request to URL 'https://api-gw-service-nmn.local/apis/bos/v2/sessions/a758428c-34f8-46e2-b817-c47e182e686c'
DEBUG: Received response to GET request to URL 'https://api-gw-service-nmn.local/apis/bos/v2/sessions/a758428c-34f8-46e2-b817-c47e182e686c' with status code: '404': Not Found
DEBUG: Could not retrieve BOS session a758428c-34f8-46e2-b817-c47e182e686c: Failed to get BOS session a758428c-34f8-46e2-b817-c47e182e686c: GET request to URL 'https://api-gw-service-nmn.local/apis/bos/v2/sessions/a758428c-34f8-46e2-b817-c47e182e686c' failed with status code 404: Not Found. Session could not found. Detail: Session a758428c-34f8-46e2-b817-c47e182e686c could not be found
DEBUG: Issuing GET request to URL 'https://api-gw-service-nmn.local/apis/bos/v2/sessions/38ec90cc-a970-4411-9e4f-e12046205f53'
DEBUG: Received response to GET request to URL 'https://api-gw-service-nmn.local/apis/bos/v2/sessions/38ec90cc-a970-4411-9e4f-e12046205f53' with status code: '404': Not Found
DEBUG: Could not retrieve BOS session 38ec90cc-a970-4411-9e4f-e12046205f53: Failed to get BOS session 38ec90cc-a970-4411-9e4f-e12046205f53: GET request to URL 'https://api-gw-service-nmn.local/apis/bos/v2/sessions/38ec90cc-a970-4411-9e4f-e12046205f53' failed with status code 404: Not Found. Session could not found. Detail: Session 38ec90cc-a970-4411-9e4f-e12046205f53 could not be found
DEBUG: Issuing GET request to URL 'https://api-gw-service-nmn.local/apis/bos/v2/sessions/16f8b34e-6ad6-4ed2-bf34-050e44a434fe'
DEBUG: Received response to GET request to URL 'https://api-gw-service-nmn.local/apis/bos/v2/sessions/16f8b34e-6ad6-4ed2-bf34-050e44a434fe' with status code: '404': Not Found
DEBUG: Could not retrieve BOS session 16f8b34e-6ad6-4ed2-bf34-050e44a434fe: Failed to get BOS session 16f8b34e-6ad6-4ed2-bf34-050e44a434fe: GET request to URL 'https://api-gw-service-nmn.local/apis/bos/v2/sessions/16f8b34e-6ad6-4ed2-bf34-050e44a434fe' failed with status code 404: Not Found. Session could not found. Detail: Session 16f8b34e-6ad6-4ed2-bf34-050e44a434fe could not be found
DEBUG: Issuing GET request to URL 'https://api-gw-service-nmn.local/apis/bos/v2/sessions/a6bb5902-c902-4ea0-8516-37c529c07216'
DEBUG: Received response to GET request to URL 'https://api-gw-service-nmn.local/apis/bos/v2/sessions/a6bb5902-c902-4ea0-8516-37c529c07216' with status code: '200': OK
DEBUG: Session id a758428c-34f8-46e2-b817-c47e182e686c which applies to 1 nodes is missing
DEBUG: Session id 38ec90cc-a970-4411-9e4f-e12046205f53 which applies to 1 nodes is missing
DEBUG: Session id 16f8b34e-6ad6-4ed2-bf34-050e44a434fe which applies to 1 nodes is missing
+----------------+-----------+------+----------+-----------+------+---------+------+-------+-------------+---------+----------+------------------------------------------+----------------------+-------------+-------------+--------------------------------------+------------------------------+--------------------------------------+
| xname | Aliases | Type | NID | State | Flag | Enabled | Arch | Class | Role | SubRole | Net Type | Desired Config | Configuration Status | Error Count | Boot Status | Most Recent BOS Session | Most Recent Session Template | Most Recent Image |
+----------------+-----------+------+----------+-----------+------+---------+------+-------+-------------+---------+----------+------------------------------------------+----------------------+-------------+-------------+--------------------------------------+------------------------------+--------------------------------------+
| x3000c0s1b0n0 | ncn-m001 | Node | 100001 | Populated | OK | True | X86 | River | Management | Master | Sling | management-24.3.1-csm-1.5.1-rc.1 | configured | 0 | stable | MISSING | MISSING | MISSING |
...
+----------------+-----------+------+----------+-----------+------+---------+------+-------+-------------+---------+----------+------------------------------------------+----------------------+-------------+-------------+--------------------------------------+------------------------------+--------------------------------------+
Summary and Scope
Backport the following changes to release/3.25 for inclusion in CSM 1.5 and SAT 2.6.
221
228
Issues and Related PRs
Testing
See linked PRs above.
Risks and Mitigations
See linked PRs above.
Pull Request Checklist