Thanks Marcelo,
This is the output you are looking for:
[sysadmin@controller-0 ~(keystone_admin)]$ system host-memory-list 1
+-----------+----------------+-------------------+----------------+--------------------------+-----------------+-------------+-------------+------------+--------------+----------------------+-----------------+-----------------+-------------------+-----------------+-----------------+-------------------+---------------+
| processor | mem_total(MiB) | mem_platform(MiB) | mem_avail(MiB) | hugepages(hp)_configured | vs_hp_size(MiB) | vs_hp_total | vs_hp_avail | vs_hp_reqd | app_total_4K | app_hp_as_percentage | app_hp_total_2M | app_hp_avail_2M | app_hp_pending_2M | app_hp_total_1G | app_hp_avail_1G | app_hp_pending_1G | app_hp_use_1G |
+-----------+----------------+-------------------+----------------+--------------------------+-----------------+-------------+-------------+------------+--------------+----------------------+-----------------+-----------------+-------------------+-----------------+-----------------+-------------------+---------------+
| 0 | 0 | 6600 | 0 | True | 2 | 0 | 0 | None | None | False | 0 | 0 | None | 0 | None | None | False |
| 1 | 0 | 1000 | 0 | True | None | None | None | None | None | False | None | None | None | None | None | None | False |
+-----------+----------------+-------------------+----------------+--------------------------+-----------------+-------------+-------------+------------+--------------+----------------------+-----------------+-----------------+-------------------+-----------------+-----------------+-------------------+---------------+
It seems possible, although I don't understand much about the memory config requirements for stx.
Can you send the output of 'system host-memory-list 1' as well? Maybe someone else spots the issue.
BR,
From: Dario Menten <dariomenten@gmail.com>
Sent: Wednesday, March 19, 2025 10:47 AM
To: De Castro Loebens, Marcelo <Marcelo.DeCastroLoebens@windriver.com>
Cc: starlingx-discuss@lists.starlingx.io <starlingx-discuss@lists.starlingx.io>
Subject: Re: StarlingX Simplex Installation (testing purposes)CAUTION: This email comes from a non Wind River email account!
Do not click links or open attachments unless you recognize the sender and know the content is safe.
And here is the sysinv trace:
sysinv 2025-03-19 14:26:14.312 14943 INFO sysinv.api.controllers.v1.host [req-8c42729b-e3a5-440c-954a-cdde57888f95 admin admin] controller-0 ihost check_unlock_worker sysinv 2025-03-19 14:26:14.680 14943 INFO sysinv.api.controllers.v1.host [req-8c42729b-e3a5-440c-954a-cdde57888f95 admin admin] Memory: Total=17961 MiB, Allocated=6600 MiB, 2M: 1730 pages None pages pending, 1G: 3 pages None pages pending sysinv 2025-03-19 14:26:14.703 14943 INFO sysinv.api.controllers.v1.host [req-8c42729b-e3a5-440c-954a-cdde57888f95 admin admin] host unlock check didn't pass, so set the ihost_action () back to None and re-raise the exception sysinv 2025-03-19 14:26:14.728 14943 ERROR wsme.api [req-8c42729b-e3a5-440c-954a-cdde57888f95 admin admin] Server-side error: "unsupported operand type(s) for *: 'NoneType' and 'NoneType'". Detail: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/wsmeext/pecan.py", line 84, in callfunction result = f(self, *args, **kwargs) File "/usr/lib/python3/dist-packages/sysinv/api/controllers/v1/host.py", line 1963, in patch return self._patch_gen(uuid, patch) File "/usr/lib/python3/dist-packages/oslo_concurrency/lockutils.py", line 360, in inner return f(*args, **kwargs) File "/usr/lib/python3/dist-packages/sysinv/api/controllers/v1/host.py", line 1971, in _patch_gen return self._patch(uuid, patch) File "/usr/lib/python3/dist-packages/sysinv/api/controllers/v1/host.py", line 2148, in _patch if self.action_check(myaction, hostupdate): File "/usr/lib/python3/dist-packages/sysinv/api/controllers/v1/host.py", line 4700, in action_check self.check_unlock(hostupdate, force_unlock) File "/usr/lib/python3/dist-packages/sysinv/api/controllers/v1/host.py", line 5453, in check_unlock self.check_unlock_worker(hostupdate, force_unlock) File "/usr/lib/python3/dist-packages/sysinv/api/controllers/v1/host.py", line 5843, in check_unlock_worker self._semantic_check_memory_for_node(ihost, node) File "/usr/lib/python3/dist-packages/sysinv/api/controllers/v1/host.py", line 3897, in _semantic_check_memory_for_node allocated += m.vswitch_hugepages_nr * m.vswitch_hugepages_size_mib TypeError: unsupported operand type(s) for *: 'NoneType' and 'NoneType'
It seems it could be something related memory?
sysadmin@controller-0:~$ free -h total used free shared buff/cache available Mem: 17Gi 3.6Gi 5.1Gi 42Mi 8.8Gi 13Gi Swap: 0B 0B 0B
Should I do something when using less memory that the required minimum?
Thanks
El mié, 19 mar 2025 a las 11:29, Dario Menten (<dariomenten@gmail.com>) escribió:
Hello,
Thank you for your reply!The version is 10.0
and this is the output of the unlock with debug activated:[sysadmin@controller-0 ~(keystone_admin)]$ system --debug host-unlock 1 DEBUG (_cache:151) reading /home/sysadmin/.cache/python-entrypoints/a070140da1224735bf599bdb589a181eb0bd64657c7b69b7666c29bfc90579cb DEBUG (extension:219) found extension EntryPoint(name='noauth', value='cinderclient.contrib.noauth:CinderNoAuthLoader', group='keystoneauth1.plugin') DEBUG (extension:219) found extension EntryPoint(name='v1password', value='swiftclient.authv1:PasswordLoader', group='keystoneauth1.plugin') DEBUG (extension:219) found extension EntryPoint(name='admin_token', value='keystoneauth1.loading._plugins.admin_token:AdminToken', group='keystoneauth1.plugin') DEBUG (extension:219) found extension EntryPoint(name='http_basic', value='keystoneauth1.loading._plugins.http_basic:HTTPBasicAuth', group='keystoneauth1.plugin') DEBUG (extension:219) found extension EntryPoint(name='none', value='keystoneauth1.loading._plugins.noauth:NoAuth', group='keystoneauth1.plugin') DEBUG (extension:219) found extension EntryPoint(name='password', value='keystoneauth1.loading._plugins.identity.generic:Password', group='keystoneauth1.plugin') DEBUG (extension:219) found extension EntryPoint(name='token', value='keystoneauth1.loading._plugins.identity.generic:Token', group='keystoneauth1.plugin') DEBUG (extension:219) found extension EntryPoint(name='v2password', value='keystoneauth1.loading._plugins.identity.v2:Password', group='keystoneauth1.plugin') DEBUG (extension:219) found extension EntryPoint(name='v2token', value='keystoneauth1.loading._plugins.identity.v2:Token', group='keystoneauth1.plugin') DEBUG (extension:219) found extension EntryPoint(name='v3adfspassword', value='keystoneauth1.extras._saml2._loading:ADFSPassword', group='keystoneauth1.plugin') DEBUG (extension:219) found extension EntryPoint(name='v3applicationcredential', value='keystoneauth1.loading._plugins.identity.v3:ApplicationCredential', group='keystoneauth1.plugin') DEBUG (extension:219) found extension EntryPoint(name='v3fedkerb', value='keystoneauth1.extras.kerberos._loading:MappedKerberos', group='keystoneauth1.plugin') DEBUG (extension:219) found extension EntryPoint(name='v3kerberos', value='keystoneauth1.extras.kerberos._loading:Kerberos', group='keystoneauth1.plugin') DEBUG (extension:219) found extension EntryPoint(name='v3multifactor', value='keystoneauth1.loading._plugins.identity.v3:MultiFactor', group='keystoneauth1.plugin') DEBUG (extension:219) found extension EntryPoint(name='v3oauth1', value='keystoneauth1.extras.oauth1._loading:V3OAuth1', group='keystoneauth1.plugin') DEBUG (extension:219) found extension EntryPoint(name='v3oidcaccesstoken', value='keystoneauth1.loading._plugins.identity.v3:OpenIDConnectAccessToken', group='keystoneauth1.plugin') DEBUG (extension:219) found extension EntryPoint(name='v3oidcauthcode', value='keystoneauth1.loading._plugins.identity.v3:OpenIDConnectAuthorizationCode', group='keystoneauth1.plugin') DEBUG (extension:219) found extension EntryPoint(name='v3oidcclientcredentials', value='keystoneauth1.loading._plugins.identity.v3:OpenIDConnectClientCredentials', group='keystoneauth1.plugin') DEBUG (extension:219) found extension EntryPoint(name='v3oidcpassword', value='keystoneauth1.loading._plugins.identity.v3:OpenIDConnectPassword', group='keystoneauth1.plugin') DEBUG (extension:219) found extension EntryPoint(name='v3password', value='keystoneauth1.loading._plugins.identity.v3:Password', group='keystoneauth1.plugin') DEBUG (extension:219) found extension EntryPoint(name='v3samlpassword', value='keystoneauth1.extras._saml2._loading:Saml2Password', group='keystoneauth1.plugin') DEBUG (extension:219) found extension EntryPoint(name='v3token', value='keystoneauth1.loading._plugins.identity.v3:Token', group='keystoneauth1.plugin') DEBUG (extension:219) found extension EntryPoint(name='v3tokenlessauth', value='keystoneauth1.loading._plugins.identity.v3:TokenlessAuth', group='keystoneauth1.plugin') DEBUG (extension:219) found extension EntryPoint(name='v3totp', value='keystoneauth1.loading._plugins.identity.v3:TOTP', group='keystoneauth1.plugin') DEBUG (session:520) REQ: curl -g -i -X GET http://localhost:5000/v3 -H "Accept: application/json" -H "User-Agent: system keystoneauth1/4.2.1 python-requests/2.25.1 CPython/3.9.2" DEBUG (connectionpool:227) Starting new HTTP connection (1): localhost:5000 DEBUG (connectionpool:452) http://localhost:5000 "GET /v3 HTTP/1.1" 200 None DEBUG (session:551) RESP: [200] Content-Type: application/json Vary: X-Auth-Token x-openstack-request-id: req-c728f879-abf1-4a9a-bd8c-6c971aaef2cd DEBUG (session:583) RESP BODY: {"version": {"id": "v3.14", "status": "stable", "updated": "2020-04-07T00:00:00Z", "links": [{"rel": "self", "href": "http://localhost:5000/v3/"}], "media-types": [{"base": "application/json", "type": "application/vnd.openstack.identity-v3+json"}]}} DEBUG (session:957) GET call to http://localhost:5000/v3 used request id req-c728f879-abf1-4a9a-bd8c-6c971aaef2cd DEBUG (base:186) Making authentication request to http://localhost:5000/v3/auth/tokens DEBUG (connectionpool:272) Resetting dropped connection: localhost DEBUG (connectionpool:452) http://localhost:5000 "POST /v3/auth/tokens HTTP/1.1" 201 None DEBUG (base:191) {"token": {"methods": ["password"], "user": {"domain": {"id": "default", "name": "Default"}, "id": "fcdf632f046746e19778f1baff26af23", "name": "admin", "password_expires_at": null}, "audit_ids": ["uGA75lV6QB6_ddIMZb-5Yw"], "expires_at": "2025-03-19T15:26:13.000000Z", "issued_at": "2025-03-19T14:26:13.000000Z", "project": {"domain": {"id": "default", "name": "Default"}, "id": "69847d879b9049bb94268211a9469c6a", "name": "admin"}, "is_domain": false, "roles": [{"id": "6f7f51c83609427e9c8468f486bea503", "name": "reader"}, {"id": "5f4b6c95627542a6b957f68f4426008d", "name": "admin"}, {"id": "e14ac31f60a74241b031a02b98acaee5", "name": "member"}], "catalog": [{"endpoints": [{"id": "22ead20ad9704201a053c14d768b76d0", "interface": "admin", "region_id": "a20283e839d24c7ba6f39d5269d34b3c", "url": "http://192.168.204.1:5000", "region": "a20283e839d24c7ba6f39d5269d34b3c"}, {"id": "5569765a7bed4e028b882488b7f50e8f", "interface": "internal", "region_id": "a20283e839d24c7ba6f39d5269d34b3c", "url": "http://192.168.204.1:5000", "region": "a20283e839d24c7ba6f39d5269d34b3c"}, {"id": "7c350416f71a4d4fb3345f70bd193721", "interface": "public", "region_id": "a20283e839d24c7ba6f39d5269d34b3c", "url": "https://10.10.10.111:5000", "region": "a20283e839d24c7ba6f39d5269d34b3c"}], "id": "1ff2dcba015c44fe8385fe78ed1372d8", "type": "identity", "name": "keystone"}, {"endpoints": [{"id": "3a7a9ebd9bea4884b897499a5541a658", "interface": "admin", "region_id": "a20283e839d24c7ba6f39d5269d34b3c", "url": "http://192.168.204.1:6385/v1", "region": "a20283e839d24c7ba6f39d5269d34b3c"}, {"id": "ade88792ecec4752bb86b39fbaed4910", "interface": "internal", "region_id": "a20283e839d24c7ba6f39d5269d34b3c", "url": "http://192.168.204.1:6385/v1", "region": "a20283e839d24c7ba6f39d5269d34b3c"}, {"id": "b43473a111114066a3e0835f1173f350", "interface": "public", "region_id": "a20283e839d24c7ba6f39d5269d34b3c", "url": "https://10.10.10.111:6385/v1", "region": "a20283e839d24c7ba6f39d5269d34b3c"}], "id": "e9e2ad302fed40bf8e3c08032b36303c", "type": "platform", "name": "sysinv"}, {"endpoints": [{"id": "cf3b63a618fd4cb7b489c74d79c73c95", "interface": "admin", "region_id": "a20283e839d24c7ba6f39d5269d34b3c", "url": "http://192.168.204.1:18002", "region": "a20283e839d24c7ba6f39d5269d34b3c"}, {"id": "90c168c953914a92898096923079d8eb", "interface": "internal", "region_id": "a20283e839d24c7ba6f39d5269d34b3c", "url": "http://192.168.204.1:18002", "region": "a20283e839d24c7ba6f39d5269d34b3c"}, {"id": "3bd8bf83f52a4fa6892624cd98d3ecb5", "interface": "public", "region_id": "a20283e839d24c7ba6f39d5269d34b3c", "url": "https://10.10.10.111:18002", "region": "a20283e839d24c7ba6f39d5269d34b3c"}], "id": "0e323d9f55e74fa2921013ac7371f39d", "type": "faultmanagement", "name": "fm"}, {"endpoints": [{"id": "dc14f32d377447a5a284c3f36dd2949f", "interface": "admin", "region_id": "a20283e839d24c7ba6f39d5269d34b3c", "url": "http://192.168.204.1:9311", "region": "a20283e839d24c7ba6f39d5269d34b3c"}, {"id": "2373dbd79ad34f5a897050686cd1c4f5", "interface": "internal", "region_id": "a20283e839d24c7ba6f39d5269d34b3c", "url": "http://192.168.204.1:9311", "region": "a20283e839d24c7ba6f39d5269d34b3c"}, {"id": "b7b39b2643464b10a27a515957186e26", "interface": "public", "region_id": "a20283e839d24c7ba6f39d5269d34b3c", "url": "https://10.10.10.111:9311", "region": "a20283e839d24c7ba6f39d5269d34b3c"}], "id": "f930e89bcc064ef5a5bf57d9d4ab843b", "type": "key-manager", "name": "barbican"}, {"endpoints": [{"id": "3ef4f7024bd74a5e874c4673fead5be4", "interface": "admin", "region_id": "a20283e839d24c7ba6f39d5269d34b3c", "url": "http://192.168.204.1:5491", "region": "a20283e839d24c7ba6f39d5269d34b3c"}, {"id": "a712470dc48f450181e7e86cd72479cb", "interface": "internal", "region_id": "a20283e839d24c7ba6f39d5269d34b3c", "url": "http://192.168.204.1:5491", "region": "a20283e839d24c7ba6f39d5269d34b3c"}, {"id": "98ccd222f8b84d439cc6b05812b47203", "interface": "public", "region_id": "a20283e839d24c7ba6f39d5269d34b3c", "url": "https://10.10.10.111:15491", "region": "a20283e839d24c7ba6f39d5269d34b3c"}], "id": "2720e504b4a346daa1cf1a2a7a80d9db", "type": "patching", "name": "patching"}, {"endpoints": [{"id": "db8f2595f2ee471fa59e0ca6ace80219", "interface": "admin", "region_id": "a20283e839d24c7ba6f39d5269d34b3c", "url": "http://192.168.204.1:5497", "region": "a20283e839d24c7ba6f39d5269d34b3c"}, {"id": "16df354e782f497897d66f03eb437753", "interface": "internal", "region_id": "a20283e839d24c7ba6f39d5269d34b3c", "url": "http://192.168.204.1:5497", "region": "a20283e839d24c7ba6f39d5269d34b3c"}, {"id": "e526d04070914755baef426e467d5e1b", "interface": "public", "region_id": "a20283e839d24c7ba6f39d5269d34b3c", "url": "https://10.10.10.111:15497", "region": "a20283e839d24c7ba6f39d5269d34b3c"}], "id": "c0025f9662a74acfacca5ffec4d22779", "type": "usm", "name": "usm"}, {"endpoints": [{"id": "a9a4d368d3684127a8b2ea0b7a853e53", "interface": "admin", "region_id": "a20283e839d24c7ba6f39d5269d34b3c", "url": "http://192.168.204.1:4545", "region": "a20283e839d24c7ba6f39d5269d34b3c"}, {"id": "b4cb288a7bba4e50ab0d5097f1f88941", "interface": "internal", "region_id": "a20283e839d24c7ba6f39d5269d34b3c", "url": "http://192.168.204.1:4545", "region": "a20283e839d24c7ba6f39d5269d34b3c"}, {"id": "23d1d9f02d3a46a79312353ade8abf6b", "interface": "public", "region_id": "a20283e839d24c7ba6f39d5269d34b3c", "url": "https://10.10.10.111:4545", "region": "a20283e839d24c7ba6f39d5269d34b3c"}], "id": "d6b59133192c4ac9a9be0a25204ae935", "type": "nfv", "name": "vim"}, {"endpoints": [{"id": "df311f56b4ed450293cb962672159418", "interface": "admin", "region_id": "a20283e839d24c7ba6f39d5269d34b3c", "url": "http://192.168.204.1:7777", "region": "a20283e839d24c7ba6f39d5269d34b3c"}, {"id": "c0638f1ede2b45889a5b0c838594a5ae", "interface": "internal", "region_id": "a20283e839d24c7ba6f39d5269d34b3c", "url": "http://192.168.204.1:7777", "region": "a20283e839d24c7ba6f39d5269d34b3c"}, {"id": "f2bb29909502487c93f8161fa34c23e9", "interface": "public", "region_id": "a20283e839d24c7ba6f39d5269d34b3c", "url": "https://10.10.10.111:7777", "region": "a20283e839d24c7ba6f39d5269d34b3c"}], "id": "1cd6055c5469429a86dac2a7e909a493", "type": "smapi", "name": "smapi"}]}} DEBUG (session:520) REQ: curl -g -i -X GET http://192.168.204.1:6385/v1/ihosts/1 -H "Accept: application/json" -H "Content-Type: application/json" -H "User-Agent: cgtsclient" -H "X-Auth-Token: {SHA256}99fdaa0345df198e73f6b0d16a1333e21a7ef134cf47d383aa7aabd2f65c2b1f" DEBUG (connectionpool:227) Starting new HTTP connection (1): 192.168.204.1:6385 DEBUG (connectionpool:452) http://192.168.204.1:6385 "GET /v1/ihosts/1 HTTP/1.1" 200 6635 DEBUG (session:551) RESP: [200] Connection: keep-alive Content-Length: 6635 Content-Type: application/json Date: Wed, 19 Mar 2025 14:26:14 GMT DEBUG (session:583) RESP BODY: {"id": 1, "uuid": "f189eb43-715e-428e-9063-7369cf6a3a7d", "hostname": "controller-0", "invprovision": "provisioning", "mgmt_mac": "00:00:00:00:00:00", "mgmt_ip": "192.168.204.2", "bm_ip": null, "bm_type": "none", "bm_username": null, "personality": "controller", "subfunctions": "controller,worker", "subfunction_oper": "disabled", "subfunction_avail": "online", "serialid": null, "administrative": "locked", "operational": "disabled", "availability": "online", "action": "none", "ihost_action": "", "inv_state": "inventoried", "vim_progress_status": null, "task": "", "mtce_info": null, "reserved": false, "config_status": null, "config_applied": null, "config_target": "a7a9c7f5-79f6-47f1-ab7a-aff6ecc2328c", "clock_synchronization": "ntp", "uptime": 5486, "location": {}, "capabilities": {"is_max_cpu_configurable": "not-configurable", "Personality": "Controller-Active"}, "forisystemid": 1, "isystem_uuid": "52e22828-376b-4956-b544-c05e252b8566", "peers": null, "links": [{"href": "http://192.168.204.1:6385/v1/ihosts/f189eb43-715e-428e-9063-7369cf6a3a7d", "rel": "self"}, {"href": "http://192.168.204.1:6385/ihosts/f189eb43-715e-428e-9063-7369cf6a3a7d", "rel": "bookmark"}], "iinterfaces": [{"href": "http://192.168.204.1:6385/v1/ihosts/f189eb43-715e-428e-9063-7369cf6a3a7d/iinterfaces", "rel": "self"}, {"href": "http://192.168.204.1:6385/ihosts/f189eb43-715e-428e-9063-7369cf6a3a7d/iinterfaces", "rel": "bookmark"}], "ports": [{"href": "http://192.168.204.1:6385/v1/ihosts/f189eb43-715e-428e-9063-7369cf6a3a7d/ports", "rel": "self"}, {"href": "http://192.168.204.1:6385/ihosts/f189eb43-715e-428e-9063-7369cf6a3a7d/ports", "rel": "bookmark"}], "ethernet_ports": [{"href": "http://192.168.204.1:6385/v1/ihosts/f189eb43-715e-428e-9063-7369cf6a3a7d/ethernet_ports", "rel": "self"}, {"href": "http://192.168.204.1:6385/ihosts/f189eb43-715e-428e-9063-7369cf6a3a7d/ethernet_ports", "rel": "bookmark"}], "inodes": [{"href": "http://192.168.204.1:6385/v1/ihosts/f189eb43-715e-428e-9063-7369cf6a3a7d/inodes", "rel": "self"}, {"href": "http://192.168.204.1:6385/ihosts/f189eb43-715e-428e-9063-7369cf6a3a7d/inodes", "rel": "bookmark"}], "icpus": [{"href": "http://192.168.204.1:6385/v1/ihosts/f189eb43-715e-428e-9063-7369cf6a3a7d/icpus", "rel": "self"}, {"href": "http://192.168.204.1:6385/ihosts/f189eb43-715e-428e-9063-7369cf6a3a7d/icpus", "rel": "bookmark"}], "imemorys": [{"href": "http://192.168.204.1:6385/v1/ihosts/f189eb43-715e-428e-9063-7369cf6a3a7d/imemorys", "rel": "self"}, {"href": "http://192.168.204.1:6385/ihosts/f189eb43-715e-428e-9063-7369cf6a3a7d/imemorys", "rel": "bookmark"}], "istors": [{"href": "http://192.168.204.1:6385/v1/ihosts/f189eb43-715e-428e-9063-7369cf6a3a7d/istors", "rel": "self"}, {"href": "http://192.168.204.1:6385/ihosts/f189eb43-715e-428e-9063-7369cf6a3a7d/istors", "rel": "bookmark"}], "idisks": [{"href": "http://192.168.204.1:6385/v1/ihosts/f189eb43-715e-428e-9063-7369cf6a3a7d/idisks", "rel": "self"}, {"href": "http://192.168.204.1:6385/ihosts/f189eb43-715e-428e-9063-7369cf6a3a7d/idisks", "rel": "bookmark"}], "partitions": [{"href": "http://192.168.204.1:6385/v1/ihosts/f189eb43-715e-428e-9063-7369cf6a3a7d/partitions", "rel": "self"}, {"href": "http://192.168.204.1:6385/ihosts/f189eb43-715e-428e-9063-7369cf6a3a7d/partitions", "rel": "bookmark"}], "ceph_mon": [{"href": "http://192.168.204.1:6385/v1/ihosts/f189eb43-715e-428e-9063-7369cf6a3a7d/ceph_mon", "rel": "self"}, {"href": "http://192.168.204.1:6385/ihosts/f189eb43-715e-428e-9063-7369cf6a3a7d/ceph_mon", "rel": "bookmark"}], "ipvs": [{"href": "http://192.168.204.1:6385/v1/ihosts/f189eb43-715e-428e-9063-7369cf6a3a7d/ipvs", "rel": "self"}, {"href": "http://192.168.204.1:6385/ihosts/f189eb43-715e-428e-9063-7369cf6a3a7d/ipvs", "rel": "bookmark"}], "ilvgs": [{"href": "http://192.168.204.1:6385/v1/ihosts/f189eb43-715e-428e-9063-7369cf6a3a7d/ilvgs", "rel": "self"}, {"href": "http://192.168.204.1:6385/ihosts/f189eb43-715e-428e-9063-7369cf6a3a7d/ilvgs", "rel": "bookmark"}], "host_fs": [{"href": "http://192.168.204.1:6385/v1/ihosts/f189eb43-715e-428e-9063-7369cf6a3a7d/host_fs", "rel": "self"}, {"href": "http://192.168.204.1:6385/ihosts/f189eb43-715e-428e-9063-7369cf6a3a7d/host_fs", "rel": "bookmark"}], "kube_update_ca": [{"href": "http://192.168.204.1:6385/v1/ihosts/f189eb43-715e-428e-9063-7369cf6a3a7d/kube_update_ca", "rel": "self"}, {"href": "http://192.168.204.1:6385/ihosts/f189eb43-715e-428e-9063-7369cf6a3a7d/kube_update_ca", "rel": "bookmark"}], "isensors": [{"href": "http://192.168.204.1:6385/v1/ihosts/f189eb43-715e-428e-9063-7369cf6a3a7d/isensors", "rel": "self"}, {"href": "http://192.168.204.1:6385/ihosts/f189eb43-715e-428e-9063-7369cf6a3a7d/isensors", "rel": "bookmark"}], "isensorgroups": [{"href": "http://192.168.204.1:6385/v1/ihosts/f189eb43-715e-428e-9063-7369cf6a3a7d/isensorgroups", "rel": "self"}, {"href": "http://192.168.204.1:6385/ihosts/f189eb43-715e-428e-9063-7369cf6a3a7d/isensorgroups", "rel": "bookmark"}], "pci_devices": [{"href": "http://192.168.204.1:6385/v1/ihosts/f189eb43-715e-428e-9063-7369cf6a3a7d/pci_devices", "rel": "self"}, {"href": "http://192.168.204.1:6385/ihosts/f189eb43-715e-428e-9063-7369cf6a3a7d/pci_devices", "rel": "bookmark"}], "lldp_agents": [{"href": "http://192.168.204.1:6385/v1/ihosts/f189eb43-715e-428e-9063-7369cf6a3a7d/lldp_agents", "rel": "self"}, {"href": "http://192.168.204.1:6385/ihosts/f189eb43-715e-428e-9063-7369cf6a3a7d/lldp_agents", "rel": "bookmark"}], "lldp_neighbours": [{"href": "http://192.168.204.1:6385/v1/ihosts/f189eb43-715e-428e-9063-7369cf6a3a7d/lldp_neighbours", "rel": "self"}, {"href": "http://192.168.204.1:6385/ihosts/f189eb43-715e-428e-9063-7369cf6a3a7d/lldp_neighbours", "rel": "bookmark"}], "labels": [{"href": "http://192.168.204.1:6385/v1/ihosts/f189eb43-715e-428e-9063-7369cf6a3a7d/labels", "rel": "self"}, {"href": "http://192.168.204.1:6385/ihosts/f189eb43-715e-428e-9063-7369cf6a3a7d/labels", "rel": "bookmark"}], "boot_device": "/dev/disk/by-path/pci-0000:00:01.1-ata-1.0", "rootfs_device": "/dev/disk/by-path/pci-0000:00:01.1-ata-1.0", "hw_settle": "0", "install_output": "graphical", "console": "tty1", "tboot": "", "ttys_dcd": false, "apparmor": "disabled", "software_load": "24.09", "target_load": "24.09", "install_state": null, "install_state_info": null, "max_cpu_mhz_configured": null, "min_cpu_mhz_allowed": null, "max_cpu_mhz_allowed": null, "cstates_available": null, "iscsi_initiator_name": null, "nvme_host_id": null, "nvme_host_nqn": null, "device_image_update": null, "reboot_needed": false, "sw_version": "24.09", "created_at": "2025-03-19T13:08:03.465234+00:00", "updated_at": "2025-03-19T14:22:33.325447+00:00"} DEBUG (session:520) REQ: curl -g -i -X PATCH http://192.168.204.1:6385/v1/ihosts/1 -H "Accept: application/json" -H "Content-Type: application/json" -H "User-Agent: cgtsclient" -H "X-Auth-Token: {SHA256}99fdaa0345df198e73f6b0d16a1333e21a7ef134cf47d383aa7aabd2f65c2b1f" -d '[{"op": "replace", "path": "/action", "value": "unlock"}]' DEBUG (connectionpool:452) http://192.168.204.1:6385 "PATCH /v1/ihosts/1 HTTP/1.1" 500 152 DEBUG (session:551) RESP: [500] Connection: keep-alive Content-Length: 152 Content-Type: application/json Date: Wed, 19 Mar 2025 14:26:14 GMT DEBUG (session:583) RESP BODY: {"error_message": "{\"faultcode\": \"Server\", \"faultstring\": \"unsupported operand type(s) for *: 'NoneType' and 'NoneType'\", \"debuginfo\": null}"} unsupported operand type(s) for *: 'NoneType' and 'NoneType'
Please let me know what you find here.
El mié, 19 mar 2025 a las 11:02, De Castro Loebens, Marcelo (<Marcelo.DeCastroLoebens@windriver.com>) escribió:
Hi,
It looks odd, can you inform what is the version? Do you see a backtrace of the error in '/var/log/sysinv.log'?
Also, can you try running the command like this, maybe the output gives a hint about the issue:
system --debug host-unlock 1
Regards,
Marcelo Loebens
From: Dario Menten <dariomenten@gmail.com>
Sent: Wednesday, March 19, 2025 9:48 AM
To: starlingx-discuss@lists.starlingx.io <starlingx-discuss@lists.starlingx.io>
Subject: StarlingX Simplex Installation (testing purposes)CAUTION: This email comes from a non Wind River email account!
Do not click links or open attachments unless you recognize the sender and know the content is safe.
Hello
As the subject says, I am trying to install StarlingX for testing purposes.
For this, I am using the Simplex installation. This is mylocalhost.yml
file:system_mode: simplex distributed_cloud_role: none region_name: 'RegionOne' timezone: UTC dns_servers: - 8.8.8.8 - 8.8.4.4 external_oam_subnet: 10.10.10.0/24 external_oam_gateway_address: 10.10.10.1 external_oam_floating_address: 10.10.10.111 admin_username: admin admin_password: St8rlingXCloud* wipe_ceph_osds: false enable_volume_snapshot_support: true add_docker_prefix: no kernel: standard
The bootstrap finishes ok:
PLAY RECAP ***************************************************************************************************************************** localhost : ok=674 changed=333 unreachable=0 failed=0 skipped=618 rescued=0 ignored=0 Wednesday 19 March 2025 13:25:51 +0000 (0:00:00.330) 0:23:46.761 ******* =============================================================================== common/push-docker-images : Download images and push to local registry -------------------------------------------------------- 566.39s bootstrap/bringup-bootstrap-applications : Wait until application is in the applied state -------------------------------------- 75.72s bootstrap/apply-manifest : Applying puppet bootstrap manifest ------------------------------------------------------------------ 75.26s bootstrap/bringup-bootstrap-applications : Wait until application is in the applied state -------------------------------------- 51.92s bootstrap/apply-manifest : Execute sysinv-dbsync ------------------------------------------------------------------------------- 49.87s bootstrap/apply-manifest : Exec keystone-manage db_sync ------------------------------------------------------------------------ 33.66s bootstrap/bringup-bootstrap-applications : pause ------------------------------------------------------------------------------- 30.02s bootstrap/persist-config : Saving config in sysinv database -------------------------------------------------------------------- 28.13s common/bringup-kubemaster : Initializing Kubernetes master --------------------------------------------------------------------- 27.49s bootstrap/bringup-essential-services : Check controller-0 is in online state --------------------------------------------------- 18.25s bootstrap/bringup-essential-services : Add loopback interface via system ------------------------------------------------------- 13.81s bootstrap/persist-config : Wait for sysinv inventory --------------------------------------------------------------------------- 13.45s common/bringup-kubemaster : Activate Calico Networking ------------------------------------------------------------------------- 12.39s bootstrap/apply-manifest : Exec barbican-manage upgrade ------------------------------------------------------------------------- 9.83s bootstrap/apply-manifest : Create sysinv endpoints ------------------------------------------------------------------------------ 7.32s common/fluxcd-controllers : Get wait tasks results ------------------------------------------------------------------------------ 6.96s common/fluxcd-controllers : Install flux helm and source controllers with no prior deployment ----------------------------------- 6.15s bootstrap/apply-manifest : Exec keystone boostrap ------------------------------------------------------------------------------- 6.06s bootstrap/apply-manifest : Create barbican endpoints ---------------------------------------------------------------------------- 5.87s bootstrap/apply-manifest : Configure keystone services, roles and users --------------------------------------------------------- 5.79s
And after this, I run these commands:
sysadmin@localhost:~$ source /etc/platform/openrc [sysadmin@localhost ~(keystone_admin)]$ system host-list +----+--------------+-------------+----------------+-------------+--------------+ | id | hostname | personality | administrative | operational | availability | +----+--------------+-------------+----------------+-------------+--------------+ | 1 | controller-0 | controller | locked | disabled | online | +----+--------------+-------------+----------------+-------------+--------------+ [sysadmin@localhost ~(keystone_admin)]$ OAM_IF=ens18 system host-if-modify controller-0 $OAM_IF -c platform system interface-network-assign controller-0 $OAM_IF oam +------------------+--------------------------------------+ | Property | Value | +------------------+--------------------------------------+ | ifname | ens18 | | iftype | ethernet | | ports | ['ens18'] | | imac | bc:24:11:50:9d:40 | | imtu | 1500 | | ifclass | platform | | ptp_role | none | | aemode | None | | schedpolicy | None | | txhashpolicy | None | | primary_reselect | None | | uuid | 35c243fa-adf7-4287-89e5-75124aaa608d | | ihost_uuid | f189eb43-715e-428e-9063-7369cf6a3a7d | | vlan_id | None | | uses | [] | | used_by | [] | | created_at | 2025-03-19T13:08:06.766359+00:00 | | updated_at | 2025-03-19T13:28:51.157826+00:00 | | sriov_numvfs | 0 | | sriov_vf_driver | None | | max_tx_rate | None | | ipv4_mode | None | | ipv6_mode | None | | accelerated | [True] | +------------------+--------------------------------------+ +--------------+--------------------------------------+ | Property | Value | +--------------+--------------------------------------+ | hostname | controller-0 | | uuid | 3f1b0ad3-d8e6-453f-98ac-29bf13527b5a | | ifname | ens18 | | network_name | oam | +--------------+--------------------------------------+ [sysadmin@localhost ~(keystone_admin)]$ system ntp-modify ntpservers=0.pool.ntp.org,1.pool.ntp.org +--------------+--------------------------------------+ | Property | Value | +--------------+--------------------------------------+ | uuid | a57ac0b5-f99b-486b-92eb-7b22f8dd8b1d | | ntpservers | 0.pool.ntp.org,1.pool.ntp.org | | isystem_uuid | 52e22828-376b-4956-b544-c05e252b8566 | | created_at | 2025-03-19T13:07:34.676701+00:00 | | updated_at | None | +--------------+--------------------------------------+
but when I try to unlock the controller-0 I get this error:
[sysadmin@localhost ~(keystone_admin)]$ system host-unlock controller-0 unsupported operand type(s) for *: 'NoneType' and 'NoneType'
Can you help me, I am very new on this and I do not know even where to look for these errors.
Thank you.