Troubleshoot boostrap
more /var/log/128T-bootstrap/128T-bootstrap.log ERROR - cannot write defaults from encrypted quickstart file issue [root@sn9103210032 ~]# more /var/log/128T-bootstrap/128T-bootstrap.log 2022-06-23 13:03:38,153 - root - INFO - Begin 128T bootstrapping 2022-06-23 13:03:38,159 - root - INFO - Found an identifier of: 9103210032 2022-06-23 13:03:38,160 - root - INFO - Found a hostname of: SN9103210032 2022-06-23 13:03:38,226 - root - INFO - Attempting to use usb device: /dev/sdb1 2022-06-23 13:03:38,405 - root - INFO - Mounted to: /media/bootstrap-usb 2022-06-23 13:03:38,405 - lib128.task - INFO - Executing task: Pre-Scriptlet 2022-06-23 13:03:38,406 - lib128.task - INFO - Executing task: Hostname 2022-06-23 13:03:38,423 - lib128.task - INFO - Executing task: Clock Sync 2022-06-23 13:10:56,501 - lib128.task - INFO - Executing task: Factory defaults 2022-06-23 13:10:56,503 - root - ERROR - cannot write defaults from encrypted qu ickstart file 2022-06-23 13:10:56,503 - root - INFO - Attempting quickstart url: http://192.16 8.128.128/quickstart | |
Solution | Use a none-encrypted file |
remove the password | |
run again | bootstrap |
bootstrap run bootstrap [root@sn9103210032 ~]# bootstrap128t run Begin 128T bootstrapping Found an identifier of: 9103210032 Found a hostname of: SN9103210032 Attempting to use usb device: /dev/sdb1 Mounted to: /media/bootstrap-usb Executing task: Pre-Scriptlet Executing task: Hostname Executing task: Clock Sync 23 Jun 13:54:42 ntpdate[7573]: the NTP socket is in use, exiting Command '['ntpdate', 'pool.ntp.org']' returned non-zero exit status 1. Traceback (most recent call last): File "/tmp/tmpxepjsf4p/com_128technology_i95/packaging/apps/bootstrap/bootstrap/bootstrap/linux.py", line 31, in _raised_check_call subprocess.check_call(command) File "/usr/lib64/python3.6/subprocess.py", line 311, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['ntpdate', 'pool.ntp.org']' returned non-zero exit status 1. error: Task error: Command '['ntpdate', 'pool.ntp.org']' returned non-zero exit status 1. Executing task: Factory defaults Received quickstart data from file: /media/bootstrap-usb/bootstrap.quickstart Executing task: Ifcfg files Modifying ifcfg file: ifcfg-enp2s0f1 Modifying ifcfg file: ifcfg-quickstart Modifying ifcfg file: ifcfg-enp4s0f0 Modifying ifcfg file: ifcfg-enp2s0f0 Modifying ifcfg file: ifcfg-enp3s0f0 Modifying ifcfg file: ifcfg-kni254 Modifying ifcfg file: ifcfg-enp3s0f1 Modifying ifcfg file: ifcfg-enp4s0f1 Executing task: Initialize 128T updating: /etc/128technology/bootstrap.quickstart executing quickstarter Executing task: Minion ID Executing task: Enable 128T Executing task: Enable salt-minion Executing task: Post-Scriptlet Executing task: Sync OS Writing bootstrap results to: /var/log/128T-bootstrap minion id contents 2713b9cd-5d80-49ee-a5fa-d06f717f5eed Exiting with [root@sn9103210032 ~]# cat /root/128T-bootstrap.txt cat: /root/128T-bootstrap.txt: No such file or directory | |
minion [root@sn9103210032 ~]# more /etc/salt/minion auth_safemode: true autoload_dynamic_modules: false enable_legacy_startup_events: false include: /usr/lib/128technology/python/salt/file_roots/_beacons/*.conf master: - 192.168.0.209 master_alive_interval: 30 master_tries: -1 ping_interval: 0 random_reauth_delay: 120 recon_default: 5000 recon_max: 30000 recon_randomize: true tcp_authentication_retries: -1 tcp_keepalive_cnt: 3 tcp_keepalive_idle: 5 tcp_keepalive_intvl: 10 transport: tcp [root@sn9103210032 ~]# [root@sn9103210032 ~]# more /etc/salt/minion_id 2713b9cd-5d80-49ee-a5fa-d06f717f5eed |
No IP address | |
---|---|
connect to the console port and unplug the calble and plug it back | |
ip a | 16: enp2s0f0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000 ip a [root@sn9103210032 ~]# ip a 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: wwp0s21u1i8: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000 link/ether 2a:99:55:8b:1f:a7 brd ff:ff:ff:ff:ff:ff 11: enp4s0f1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN group default qlen 1000 link/ether 00:e0:ed:db:5a:11 brd ff:ff:ff:ff:ff:ff 12: enp4s0f0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN group default qlen 1000 link/ether 00:e0:ed:db:5a:12 brd ff:ff:ff:ff:ff:ff 13: enp3s0f1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN group default qlen 1000 link/ether 00:e0:ed:db:5a:0f brd ff:ff:ff:ff:ff:ff 14: enp3s0f0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN group default qlen 1000 link/ether 00:e0:ed:db:5a:10 brd ff:ff:ff:ff:ff:ff 15: enp2s0f1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN group default qlen 1000 link/ether 00:e0:ed:db:5a:0d brd ff:ff:ff:ff:ff:ff inet6 fe80::2e0:edff:fedb:5a0d/64 scope link valid_lft forever preferred_lft forever 16: enp2s0f0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000 link/ether 00:e0:ed:db:5a:0e brd ff:ff:ff:ff:ff:ff inet 192.168.0.115/24 brd 192.168.0.255 scope global noprefixroute dynamic enp2s0f0 valid_lft 86190sec preferred_lft 86190sec inet6 fe80::5b39:73b6:1455:dfd0/64 scope link noprefixroute valid_lft forever preferred_lft forever [root@sn9103210032 ~]# |
ifcfg-enp2s0f0 ifcfg-enp2s0f1 | more /etc/sysconfig/network-scripts/ifcfg-enp2s0f0 ( port label 2Â on Madrid )Â Â <<<<<<<<< This one more /etc/sysconfig/network-scripts/ifcfg-enp2s0f1Â Â ( port label 1Â on Madrid )Â ip a [root@sn9103210032 ~]# more /etc/sysconfig/network-scripts/ifcfg-enp2s0f1 TYPE=Ethernet PROXY_METHOD=none BROWSER_ONLY=no DEFROUTE=yes IPV4_FAILURE_FATAL=no IPV6INIT=yes IPV6_AUTOCONF=yes IPV6_DEFROUTE=yes IPV6_FAILURE_FATAL=no IPV6_ADDR_GEN_MODE=stable-privacy NAME=enp2s0f1 UUID=3cc12cbe-6a40-44bd-8b98-f7ad34b7bbf0 DEVICE=enp2s0f1 BOOTPROTO=none ONBOOT=no NM_CONTROLLED=no USERCTL=no |