[Starlingx-discuss] failing to deploy Simplex Starlingx AIO on VirtualBox

voipas voipas at gmail.com
Wed Mar 22 17:40:00 UTC 2023


Hello colleagues,

  I need your support here. Simplex Starlingx AIO installation fails on
first steps...

   - After installation and reboot I see that kubelet.service - Kubernetes
   Kubelet Server Failed. Not sure if it is normal or not at this phase... See
   more details below
   - Bootstrapping failed - Failed to provision initial system
   configuration.


I'm trying to install Starlingx on my Intel Nuc box (i5, 64 GB RAM, 2 TB
disk) with Ubuntu Desktop OS. VirtualBox version 6.1

VM configuration:

   - 8 vCPU (VT-X/AMD-V, Nested Paging, PAE/NX, KVM Paravirtualization)
   - 16 GB RAM
   - Storage:
      - Controller SATA 520 GB
      - Controller NVMe 20 GB
   - Network:
      - Intel Pro/1000 MT Desktop - OAM network (internet accessible)
      -
      - Intel Pro/1000 MT Desktop - Data network (internet accessible)


I used latest ISO image:
http://mirror.starlingx.cengn.ca/mirror/starlingx/release/8.0.0/debian/monolithic/outputs/iso/starlingx-intel-x86-64-cd.iso

So I wonder what is wrong with this deployment , am I missing something?


*Kubelet failure (*/var/log/daemon.log*):*















*2023-03-21T19:35:19.876 localhost systemd[1]: info Started StarlingX
Affine Tasks.2023-03-21T19:35:19.968 localhost iscsid: info iSCSI daemon
with pid=912 started!2023-03-21T19:35:20.057 localhost
affine-tasks.sh(1211): info : Starting.2023-03-21T19:35:20.058 localhost
affine-tasks.sh(1211): info : Affine all tasks, CPUS: 0-7; online=0-7
(0xff), isol=, nonisol=0-7 (0xff)2023-03-21T19:35:20.128 localhost
affine-tasks.sh(1211): info : Affined 58 processes to all
cores.2023-03-21T19:35:20.302 localhost systemd[1]: info kubelet.service:
Scheduled restart job, restart counter is at 5.2023-03-21T19:35:20.303
localhost systemd[1]: info Stopping Kubernetes Isolated CPU Plugin
Daemon...2023-03-21T19:35:20.304 localhost systemd[1]: info
isolcpu_plugin.service: Succeeded.2023-03-21T19:35:20.305 localhost
systemd[1]: info Stopped Kubernetes Isolated CPU Plugin
Daemon.2023-03-21T19:35:20.306 localhost systemd[1]: info Stopped
Kubernetes Kubelet Server.2023-03-21T19:35:20.306 localhost systemd[1]:
warning kubelet.service: Start request repeated too
quickly.2023-03-21T19:35:20.306 localhost systemd[1]: warning
kubelet.service: Failed with result 'exit-code'.2023-03-21T19:35:20.306
localhost systemd[1]: err Failed to start Kubernetes Kubelet
Server.2023-03-21T19:35:20.308 localhost systemd[1]: warning Dependency
failed for Kubernetes Isolated CPU Plugin Daemon.2023-03-21T19:35:20.309
localhost systemd[1]: notice isolcpu_plugin.service: Job
isolcpu_plugin.service/start failed with result
'dependency'.2023-03-21T19:35:20.514 localhost sysinv-agent[1012]: info
/etc/init.d/sysinv-agent: line 114: [: =: unary operator expected*


*Bootstrap failure:*







*TASK [bootstrap/persist-config : Fail if populate config script throws an
exception]
*********************************************************************************************************************************************************************************Wednesday
22 March 2023  17:29:05 +0000 (0:00:00.024)       0:01:40.002 *******fatal:
[localhost]: FAILED! => changed=false  msg: Failed to provision initial
system configuration.PLAY RECAP
***********************************************************************************************************************************************************************************************************************************************************localhost
                 : ok=180  changed=45   unreachable=0    failed=1
 skipped=235  rescued=0    ignored=0*































































*2023-03-22 17:29:05,960 p=323063 u=sysadmin n=ansible | TASK
[bootstrap/persist-config : debug]
******************************************************************************************************************************************************************************************************************************2023-03-22
17:29:05,960 p=323063 u=sysadmin n=ansible | Wednesday 22 March 2023
 17:29:05 +0000 (0:00:06.932)       0:01:39.978 *******2023-03-22
17:29:05,981 p=323063 u=sysadmin n=ansible | ok: [localhost] =>
populate_result:    changed: true    failed: false    failed_when_result:
false    msg: non-zero return code    rc: 1    stderr: |-      Traceback
(most recent call last):        File
"/tmp/.ansible-sysadmin/tmp/ansible-tmp-1679506139.0395112-327066-74144393708544/populate_initial_config.py",
line 1327, in <module>          populate_service_parameter_config(client)
      File
"/tmp/.ansible-sysadmin/tmp/ansible-tmp-1679506139.0395112-327066-74144393708544/populate_initial_config.py",
line 1046, in populate_service_parameter_config
populate_docker_kube_config(client)        File
"/tmp/.ansible-sysadmin/tmp/ansible-tmp-1679506139.0395112-327066-74144393708544/populate_initial_config.py",
line 838, in populate_docker_kube_config
client.sysinv.service_parameter.delete(parameter.uuid)        File
"/usr/lib/python3/dist-packages/cgtsclient/v1/service_parameter.py", line
45, in delete          return self._delete(self._path(parameter_id))
File "/usr/lib/python3/dist-packages/cgtsclient/common/base.py", line 95,
in _delete          self.api.raw_request('DELETE', url)        File
"/usr/lib/python3/dist-packages/cgtsclient/common/http.py", line 224, in
raw_request          return self._http_request(url, method, **kwargs)
  File "/usr/lib/python3/dist-packages/cgtsclient/common/http.py", line
186, in _http_request          raise exceptions.from_response(
cgtsclient.exc.HTTPInternalServerError: 'int' object is not callable
stderr_lines:    - 'Traceback (most recent call last):'    - '  File
"/tmp/.ansible-sysadmin/tmp/ansible-tmp-1679506139.0395112-327066-74144393708544/populate_initial_config.py",
line 1327, in <module>'    - '
 populate_service_parameter_config(client)'    - '  File
"/tmp/.ansible-sysadmin/tmp/ansible-tmp-1679506139.0395112-327066-74144393708544/populate_initial_config.py",
line 1046, in populate_service_parameter_config'    - '
 populate_docker_kube_config(client)'    - '  File
"/tmp/.ansible-sysadmin/tmp/ansible-tmp-1679506139.0395112-327066-74144393708544/populate_initial_config.py",
line 838, in populate_docker_kube_config'    - '
 client.sysinv.service_parameter.delete(parameter.uuid)'    - '  File
"/usr/lib/python3/dist-packages/cgtsclient/v1/service_parameter.py", line
45, in delete'    - '    return self._delete(self._path(parameter_id))'
- '  File "/usr/lib/python3/dist-packages/cgtsclient/common/base.py", line
95, in _delete'    - '    self.api.raw_request(''DELETE'', url)'    - '
 File "/usr/lib/python3/dist-packages/cgtsclient/common/http.py", line 224,
in raw_request'    - '    return self._http_request(url, method,
**kwargs)'    - '  File
"/usr/lib/python3/dist-packages/cgtsclient/common/http.py", line 186, in
_http_request'    - '    raise exceptions.from_response('    -
'cgtsclient.exc.HTTPInternalServerError: ''int'' object is not callable'
stdout: |-      Updating system config...      System config completed.
  Deleting network, routes, addresses, and address pool for network
mgmt...      Updating management network...      Deleting network, routes,
addresses, and address pool for network pxeboot...      Updating pxeboot
network...      Deleting network, routes, addresses, and address pool for
network oam...      Updating oam network...      Deleting network, routes,
addresses, and address pool for network multicast...      Updating
multicast network...      Deleting network, routes, addresses, and address
pool for network cluster-host...      Updating cluster host network...
Deleting network, routes, addresses, and address pool for network
cluster-pod...      Updating cluster pod network...      Deleting network,
routes, addresses, and address pool for network cluster-service...
Updating cluster service network...      Network config completed.
Populating/Updating DNS config...      DNS config completed.*

Thanks in advance

-- 
Best Regards,
Giedrius
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.starlingx.io/pipermail/starlingx-discuss/attachments/20230322/967fa755/attachment-0001.htm>


More information about the Starlingx-discuss mailing list