Kubectl replies with nodes and such but I’m not able to start or stop pods. What I really want to do is to blow it away and build a new cluster with better components. But before that I would like to pull data off the PX volumes. Is there any way to mount them to host without using Kubernetes?
here is what I get:
**dgrekov@node3** **/ $** sudo /opt/pwx/bin/pxctl status
PX is starting (pid1185763), please see alerts below
for kubernetes
kubectl get no
NAME STATUS ROLES AGE VERSION
node0.dimagre.com Ready <none> 225d v1.18.3
node1.dimagre.com Ready <none> 224d v1.18.3
node2.dimagre.com NotReady <none> 225d v1.18.3
node3.dimagre.com Ready <none> 200d v1.18.3
nodev.dimagre.com Ready <none> 218d v1.18.3
As for the journal log entries:
**dgrekov@node3** **/ $** sudo journalctl -lu portworx* | tail -n 25
Jan 11 15:48:58 node3.dimagre.com portworx[47700]: 2021-01-11 15:48:58,437 INFO success: pxdaemon entered RUNNING state, process has stayed up for > than 5 seconds (startsecs)
Jan 11 15:48:59 node3.dimagre.com portworx[47700]: time="2021-01-11T15:48:59Z" level=info msg="Alerts initialized successfully for this cluster"
Jan 11 15:49:03 node3.dimagre.com portworx[47700]: 2021-01-11 15:49:03,758 INFO reaped unknown pid 401499
Jan 11 15:49:06 node3.dimagre.com portworx[47700]: time="2021-01-11T15:49:06Z" level=error msg="Failed to initialize k8s bootstrap: Failed to create configmap px-bootstrap-pxcluster19235250e7384df6b6e3be7a12a535b7: etcdserver: request timed out" func=InitAndBoot package=boot
Jan 11 15:49:06 node3.dimagre.com portworx[47700]: time="2021-01-11T15:49:06Z" level=error msg="Could not init boot manager" error="Failed to initialize k8s bootstrap: Failed to create configmap px-bootstrap-pxcluster19235250e7384df6b6e3be7a12a535b7: etcdserver: request timed out"
Jan 11 15:49:07 node3.dimagre.com portworx[47700]: PXPROCS[INFO]: px daemon exited with code: 1
Jan 11 15:49:07 node3.dimagre.com portworx[47700]: 2021-01-11 15:49:07,570 INFO exited: pxdaemon (exit status 1; not expected)
Jan 11 15:49:07 node3.dimagre.com portworx[47700]: 2021-01-11 15:49:07,591 INFO spawned: 'pxdaemon' with pid 401845
Jan 11 15:49:07 node3.dimagre.com portworx[47700]: 2021-01-11 15:49:07,592 INFO reaped unknown pid 401800
Jan 11 15:49:07 node3.dimagre.com portworx[47700]: PXPROCS[INFO]: Started px-storage with pid 401884
Jan 11 15:49:07 node3.dimagre.com portworx[47700]: bash: connect: Connection refused
Jan 11 15:49:07 node3.dimagre.com portworx[47700]: bash: /dev/tcp/localhost/9009: Connection refused
Jan 11 15:49:07 node3.dimagre.com portworx[47700]: PXPROCS[INFO]: px-storage not started yet...sleeping
Jan 11 15:49:10 node3.dimagre.com portworx[47700]: PXPROCS[INFO]: Started px with pid 401895
Jan 11 15:49:10 node3.dimagre.com portworx[47700]: PXPROCS[INFO]: Started watchdog with pid 401896
Jan 11 15:49:10 node3.dimagre.com portworx[47700]: 2021-01-11_15:49:10: PX-Watchdog: Starting watcher
Jan 11 15:49:10 node3.dimagre.com portworx[47700]: 2021-01-11_15:49:10: PX-Watchdog: Waiting for px process to start
Jan 11 15:49:10 node3.dimagre.com portworx[47700]: 2021-01-11_15:49:10: PX-Watchdog: (pid 401895): Begin monitoring
Jan 11 15:49:11 node3.dimagre.com portworx[47700]: time="2021-01-11T15:49:11Z" level=info msg="Registering [kernel] as a volume driver"
Jan 11 15:49:11 node3.dimagre.com portworx[47700]: time="2021-01-11T15:49:11Z" level=info msg="Registered the Usage based Metering Agent...."
Jan 11 15:49:11 node3.dimagre.com portworx[47700]: time="2021-01-11T15:49:11Z" level=info msg="Setting log level to info(4)"
Jan 11 15:49:11 node3.dimagre.com portworx[47700]: time="2021-01-11T15:49:11Z" level=info msg="read config from env var" func=init package=boot
Jan 11 15:49:11 node3.dimagre.com portworx[47700]: time="2021-01-11T15:49:11Z" level=info msg="read config from config.json" func=init package=boot
Jan 11 15:49:11 node3.dimagre.com portworx[47700]: time="2021-01-11T15:49:11Z" level=info msg="Alerts initialized successfully for this cluster"
Jan 11 15:49:13 node3.dimagre.com portworx[47700]: 2021-01-11 15:49:13,081 INFO success: pxdaemon entered RUNNING state, process has stayed up for > than 5 seconds (startsecs)
also:
**dgrekov@node1** **~ $** sudo journalctl -lu portworx* | tail -n 25
Jan 11 15:51:13 node1.dimagre.com portworx[418677]: time="2021-01-11T15:51:13Z" level=info msg="Alerts initialized successfully for this cluster"
Jan 11 15:51:15 node1.dimagre.com portworx[418677]: 2021-01-11 15:51:15,067 INFO success: pxdaemon entered RUNNING state, process has stayed up for > than 5 seconds (startsecs)
Jan 11 15:51:18 node1.dimagre.com portworx[418677]: 2021-01-11 15:51:18,575 INFO reaped unknown pid 3108787
Jan 11 15:51:20 node1.dimagre.com portworx[418677]: time="2021-01-11T15:51:20Z" level=error msg="Failed to initialize k8s bootstrap: Failed to create configmap px-bootstrap-pxcluster19235250e7384df6b6e3be7a12a535b7: etcdserver: request timed out" func=InitAndBoot package=boot
Jan 11 15:51:20 node1.dimagre.com portworx[418677]: time="2021-01-11T15:51:20Z" level=error msg="Could not init boot manager" error="Failed to initialize k8s bootstrap: Failed to create configmap px-bootstrap-pxcluster19235250e7384df6b6e3be7a12a535b7: etcdserver: request timed out"
Jan 11 15:51:21 node1.dimagre.com portworx[418677]: PXPROCS[INFO]: px daemon exited with code: 1
Jan 11 15:51:21 node1.dimagre.com portworx[418677]: 2021-01-11 15:51:21,099 INFO exited: pxdaemon (exit status 1; not expected)
Jan 11 15:51:21 node1.dimagre.com portworx[418677]: 2021-01-11 15:51:21,127 INFO spawned: 'pxdaemon' with pid 3109285
Jan 11 15:51:21 node1.dimagre.com portworx[418677]: 2021-01-11 15:51:21,129 INFO reaped unknown pid 3109225
Jan 11 15:51:21 node1.dimagre.com portworx[418677]: PXPROCS[INFO]: Started px-storage with pid 3109323
Jan 11 15:51:21 node1.dimagre.com portworx[418677]: bash: connect: Connection refused
Jan 11 15:51:21 node1.dimagre.com portworx[418677]: bash: /dev/tcp/localhost/9009: Connection refused
Jan 11 15:51:21 node1.dimagre.com portworx[418677]: PXPROCS[INFO]: px-storage not started yet...sleeping
Jan 11 15:51:24 node1.dimagre.com portworx[418677]: PXPROCS[INFO]: Started px with pid 3109335
Jan 11 15:51:24 node1.dimagre.com portworx[418677]: PXPROCS[INFO]: Started watchdog with pid 3109336
Jan 11 15:51:24 node1.dimagre.com portworx[418677]: 2021-01-11_15:51:24: PX-Watchdog: Starting watcher
Jan 11 15:51:24 node1.dimagre.com portworx[418677]: 2021-01-11_15:51:24: PX-Watchdog: Waiting for px process to start
Jan 11 15:51:24 node1.dimagre.com portworx[418677]: 2021-01-11_15:51:24: PX-Watchdog: (pid 3109335): Begin monitoring
Jan 11 15:51:24 node1.dimagre.com portworx[418677]: time="2021-01-11T15:51:24Z" level=info msg="Registering [kernel] as a volume driver"
Jan 11 15:51:24 node1.dimagre.com portworx[418677]: time="2021-01-11T15:51:24Z" level=info msg="Registered the Usage based Metering Agent...."
Jan 11 15:51:24 node1.dimagre.com portworx[418677]: time="2021-01-11T15:51:24Z" level=info msg="Setting log level to info(4)"
Jan 11 15:51:24 node1.dimagre.com portworx[418677]: time="2021-01-11T15:51:24Z" level=info msg="read config from env var" func=init package=boot
Jan 11 15:51:24 node1.dimagre.com portworx[418677]: time="2021-01-11T15:51:24Z" level=info msg="read config from config.json" func=init package=boot
Jan 11 15:51:24 node1.dimagre.com portworx[418677]: time="2021-01-11T15:51:24Z" level=info msg="Alerts initialized successfully for this cluster"
Jan 11 15:51:26 node1.dimagre.com portworx[418677]: 2021-01-11 15:51:26,551 INFO success: pxdaemon entered RUNNING state, process has stayed up for > than 5 seconds (startsecs)
and finally:
**dgrekov@node0** **~ $** sudo journalctl -lu portworx* | tail -n 25
Jan 11 15:51:53 node0.dimagre.com portworx[800]: 2021-01-11 15:51:53,614 INFO reaped unknown pid 192821
Jan 11 15:52:03 node0.dimagre.com portworx[800]: time="2021-01-11T15:52:03Z" level=info msg="Alerts initialized successfully for this cluster"
Jan 11 15:52:33 node0.dimagre.com portworx[800]: time="2021-01-11T15:52:33Z" level=error msg="Failed to initialize k8s bootstrap: Failed to create configmap px-bootstrap-pxcluster19235250e7384df6b6e3be7a12a535b7: Post https://10.3.0.1:443/api/v1/namespaces/kube-system/configmaps: dial tcp 10.3.0.1:443: i/o timeout" func=InitAndBoot package=boot
Jan 11 15:52:33 node0.dimagre.com portworx[800]: time="2021-01-11T15:52:33Z" level=error msg="Could not init boot manager" error="Failed to initialize k8s bootstrap: Failed to create configmap px-bootstrap-pxcluster19235250e7384df6b6e3be7a12a535b7: Post https://10.3.0.1:443/api/v1/namespaces/kube-system/configmaps: dial tcp 10.3.0.1:443: i/o timeout"
Jan 11 15:52:36 node0.dimagre.com portworx[800]: 2021-01-11_15:52:36: PX-Watchdog: (pid 192878): PX REST server died or did not started. return code 7. Timeout 60
Jan 11 15:52:43 node0.dimagre.com portworx[800]: time="2021-01-11T15:52:43Z" level=error msg="Failed to flush alerts: timed out in flushing alerts, 6 alerts still in queue"
Jan 11 15:52:43 node0.dimagre.com portworx[800]: PXPROCS[INFO]: px daemon exited with code: 1
Jan 11 15:52:43 node0.dimagre.com portworx[800]: 2021-01-11 15:52:43,442 INFO exited: pxdaemon (exit status 1; not expected)
Jan 11 15:52:43 node0.dimagre.com portworx[800]: 2021-01-11 15:52:43,471 INFO spawned: 'pxdaemon' with pid 192920
Jan 11 15:52:43 node0.dimagre.com portworx[800]: 2021-01-11 15:52:43,472 INFO reaped unknown pid 192867
Jan 11 15:52:43 node0.dimagre.com portworx[800]: PXPROCS[INFO]: Started px-storage with pid 192959
Jan 11 15:52:43 node0.dimagre.com portworx[800]: bash: connect: Connection refused
Jan 11 15:52:43 node0.dimagre.com portworx[800]: bash: /dev/tcp/localhost/9009: Connection refused
Jan 11 15:52:43 node0.dimagre.com portworx[800]: PXPROCS[INFO]: px-storage not started yet...sleeping
Jan 11 15:52:46 node0.dimagre.com portworx[800]: PXPROCS[INFO]: Started px with pid 192970
Jan 11 15:52:46 node0.dimagre.com portworx[800]: PXPROCS[INFO]: Started watchdog with pid 192971
Jan 11 15:52:46 node0.dimagre.com portworx[800]: 2021-01-11_15:52:46: PX-Watchdog: Starting watcher
Jan 11 15:52:46 node0.dimagre.com portworx[800]: 2021-01-11_15:52:46: PX-Watchdog: Waiting for px process to start
Jan 11 15:52:46 node0.dimagre.com portworx[800]: 2021-01-11_15:52:46: PX-Watchdog: (pid 192970): Begin monitoring
Jan 11 15:52:46 node0.dimagre.com portworx[800]: time="2021-01-11T15:52:46Z" level=info msg="Registering [kernel] as a volume driver"
Jan 11 15:52:46 node0.dimagre.com portworx[800]: time="2021-01-11T15:52:46Z" level=info msg="Registered the Usage based Metering Agent...."
Jan 11 15:52:46 node0.dimagre.com portworx[800]: time="2021-01-11T15:52:46Z" level=info msg="Setting log level to info(4)"
Jan 11 15:52:46 node0.dimagre.com portworx[800]: time="2021-01-11T15:52:46Z" level=info msg="read config from env var" func=init package=boot
Jan 11 15:52:46 node0.dimagre.com portworx[800]: time="2021-01-11T15:52:46Z" level=info msg="read config from config.json" func=init package=boot
Jan 11 15:52:48 node0.dimagre.com portworx[800]: 2021-01-11 15:52:48,892 INFO success: pxdaemon entered RUNNING state, process has stayed up for > than 5 seconds (startsecs)