Closed lcarva closed 2 years ago
Hello @lcarva
What method are you using to install MicroShift? Is it RPM or containerized version?
I'd like to replicate your environment locally.
Thanks
@oglok, the containerized version with podman. Thanks!
Issues go stale after 90d of inactivity.
Mark the issue as fresh by commenting /remove-lifecycle stale
.
Stale issues rot after an additional 30d of inactivity and eventually close.
Exclude this issue from closing by commenting /lifecycle frozen
.
If this issue is safe to close now please do so with /close
.
/lifecycle stale
Fixed by #794
/close
@ggiguash: Closing this issue.
Hi Team,
I am trying to install microshift on RHEL-8.7 and I am following Red Hat documentation
Everything went well, but while I am starting the microshift service not starting. I see below issue.
[root@microshift ~]# systemctl start microshift Job for microshift.service failed because the service did not take the steps required by its unit configuration. See "systemctl status microshift.service" and "journalctl -xe" for details. [root@microshift ~]#
Is any one can help on this issue? thanks in advance.
@skylabreddy can you share the output of journalctl -u microshift
? It might be large, so you may want to use a separate gist or pastebin.
It would also be useful to know more about the environment where you are running. What sort of host (laptop, VM, etc.)? What networking do you have enabled?
@dhellmann Here is the inputs
[root@microshift ~]# journalctl -u microshift -- Logs begin at Fri 2023-03-17 20:54:09 IST, end at Fri 2023-03-17 21:09:48 IST. -- Mar 17 20:54:09 microshift systemd[1]: Starting MicroShift... Mar 17 20:54:09 microshift microshift[649415]: ??? I0317 20:54:09.958519 649415 run.go:116] Starting MicroShift Mar 17 20:54:09 microshift microshift[649415]: ??? E0317 20:54:09.958634 649415 certchains.go:122] [admin-kubeconfig-signer] rotate at: 2032-03-19 10:01:> Mar 17 20:54:09 microshift microshift[649415]: ??? E0317 20:54:09.958659 649415 certchains.go:122] [admin-kubeconfig-signer admin-kubeconfig-client] rota> Mar 17 20:54:09 microshift microshift[649415]: ??? E0317 20:54:09.958677 649415 certchains.go:122] [aggregator-signer] rotate at: 2023-11-17 10:01:49 +00> Mar 17 20:54:09 microshift microshift[649415]: ??? E0317 20:54:09.958693 649415 certchains.go:122] [aggregator-signer aggregator-client] rotate at: 2023-> Mar 17 20:54:09 microshift microshift[649415]: ??? E0317 20:54:09.958707 649415 certchains.go:122] [etcd-signer] rotate at: 2032-03-19 10:01:52 +0000 UTC Mar 17 20:54:09 microshift microshift[649415]: ??? E0317 20:54:09.958721 649415 certchains.go:122] [etcd-signer apiserver-etcd-client] rotate at: 2032-03> Mar 17 20:54:09 microshift microshift[649415]: ??? E0317 20:54:09.958734 649415 certchains.go:122] [ingress-ca] rotate at: 2032-03-19 10:01:50 +0000 UTC Mar 17 20:54:09 microshift microshift[649415]: ??? E0317 20:54:09.958748 649415 certchains.go:122] [ingress-ca router-default-serving] rotate at: 2023-11> Mar 17 20:54:09 microshift microshift[649415]: ??? E0317 20:54:09.958760 649415 certchains.go:122] [kube-apiserver-external-signer] rotate at: 2032-03-19> Mar 17 20:54:09 microshift microshift[649415]: ??? E0317 20:54:09.958775 649415 certchains.go:122] [kube-apiserver-external-signer kube-external-serving]> Mar 17 20:54:09 microshift microshift[649415]: ??? E0317 20:54:09.958788 649415 certchains.go:122] [kube-apiserver-localhost-signer] rotate at: 2032-03-1> Mar 17 20:54:09 microshift microshift[649415]: ??? E0317 20:54:09.958800 649415 certchains.go:122] [kube-apiserver-localhost-signer kube-apiserver-localh> Mar 17 20:54:09 microshift microshift[649415]: ??? E0317 20:54:09.958813 649415 certchains.go:122] [kube-apiserver-service-network-signer] rotate at: 203> Mar 17 20:54:09 microshift microshift[649415]: ??? E0317 20:54:09.958827 649415 certchains.go:122] [kube-apiserver-service-network-signer kube-apiserver-> Mar 17 20:54:09 microshift microshift[649415]: ??? E0317 20:54:09.958840 649415 certchains.go:122] [kube-apiserver-to-kubelet-signer] rotate at: 2023-11-> Mar 17 20:54:09 microshift microshift[649415]: ??? E0317 20:54:09.958853 649415 certchains.go:122] [kube-apiserver-to-kubelet-signer kube-apiserver-to-ku> Mar 17 20:54:09 microshift microshift[649415]: ??? E0317 20:54:09.958867 649415 certchains.go:122] [kube-control-plane-signer] rotate at: 2023-11-17 10:0> Mar 17 20:54:09 microshift microshift[649415]: ??? E0317 20:54:09.958883 649415 certchains.go:122] [kube-control-plane-signer cluster-policy-controller] > Mar 17 20:54:09 microshift microshift[649415]: ??? E0317 20:54:09.958896 649415 certchains.go:122] [kube-control-plane-signer kube-controller-manager] ro> Mar 17 20:54:09 microshift microshift[649415]: ??? E0317 20:54:09.958909 649415 certchains.go:122] [kube-control-plane-signer kube-scheduler] rotate at: > Mar 17 20:54:09 microshift microshift[649415]: ??? E0317 20:54:09.958921 649415 certchains.go:122] [kube-control-plane-signer route-controller-manager] r> Mar 17 20:54:09 microshift microshift[649415]: ??? E0317 20:54:09.958934 649415 certchains.go:122] [kubelet-signer] rotate at: 2023-11-17 10:01:48 +0000 > Mar 17 20:54:09 microshift microshift[649415]: ??? E0317 20:54:09.958948 649415 certchains.go:122] [kubelet-signer kube-csr-signer] rotate at: 2023-11-17> Mar 17 20:54:09 microshift microshift[649415]: ??? E0317 20:54:09.958963 649415 certchains.go:122] [kubelet-signer kube-csr-signer kubelet-client] rotate> Mar 17 20:54:09 microshift microshift[649415]: ??? E0317 20:54:09.958978 649415 certchains.go:122] [kubelet-signer kube-csr-signer kubelet-server] rotate> Mar 17 20:54:09 microshift microshift[649415]: ??? E0317 20:54:09.958990 649415 certchains.go:122] [service-ca] rotate at: 2032-03-19 10:01:49 +0000 UTC Mar 17 20:54:09 microshift microshift[649415]: ??? E0317 20:54:09.959003 649415 certchains.go:122] [service-ca route-controller-manager-serving] rotate a> Mar 17 20:54:09 microshift microshift[649415]: ??? I0317 20:54:09.959205 649415 run.go:127] Started service-manager Mar 17 20:54:09 microshift microshift[649415]: network-configuration I0317 20:54:09.959290 649415 manager.go:114] Starting network-configuration Mar 17 20:54:09 microshift microshift[649415]: etcd I0317 20:54:09.959326 649415 manager.go:114] Starting etcd Mar 17 20:54:09 microshift microshift[649415]: {"level":"info","ts":"2023-03-17T20:54:09.959+0530","caller":"embed/etcd.go:131","msg":"configuring peer li> Mar 17 20:54:09 microshift microshift[649415]: {"level":"info","ts":"2023-03-17T20:54:09.959+0530","caller":"embed/etcd.go:481","msg":"starting with peer > Mar 17 20:54:09 microshift microshift[649415]: network-configuration I0317 20:54:09.959751 649415 netconfig.go:74] "network-configuration" is ready Mar 17 20:54:09 microshift microshift[649415]: sysconfwatch-controller I0317 20:54:09.959787 649415 manager.go:114] Starting sysconfwatch-controller Mar 17 20:54:09 microshift microshift[649415]: sysconfwatch-controller I0317 20:54:09.959811 649415 sysconfwatch_linux.go:89] starting sysconfwatch-contr> Mar 17 20:54:09 microshift microshift[649415]: sysconfwatch-controller I0317 20:54:09.959827 649415 sysconfwatch_linux.go:95] sysconfwatch-controller is > Mar 17 20:54:09 microshift microshift[649415]: {"level":"info","ts":"2023-03-17T20:54:09.960+0530","caller":"embed/etcd.go:139","msg":"configuring client > Mar 17 20:54:09 microshift microshift[649415]: {"level":"info","ts":"2023-03-17T20:54:09.960+0530","caller":"embed/etcd.go:309","msg":"starting an etcd se> Mar 17 20:54:09 microshift microshift[649415]: {"level":"info","ts":"2023-03-17T20:54:09.961+0530","caller":"etcdserver/backend.go:81","msg":"opened backe> Mar 17 20:54:09 microshift microshift[649415]: {"level":"info","ts":"2023-03-17T20:54:09.982+0530","caller":"etcdserver/server.go:532","msg":"No snapshot > Mar 17 20:54:09 microshift microshift[649415]: {"level":"info","ts":"2023-03-17T20:54:09.998+0530","caller":"etcdserver/raft.go:483","msg":"restarting loc> Mar 17 20:54:10 microshift microshift[649415]: {"level":"info","ts":"2023-03-17T20:54:10.000+0530","logger":"raft","caller":"etcdserver/zap_raft.go:77","m> Mar 17 20:54:10 microshift microshift[649415]: {"level":"info","ts":"2023-03-17T20:54:10.000+0530","logger":"raft","caller":"etcdserver/zap_raft.go:77","m> Mar 17 20:54:10 microshift microshift[649415]: {"level":"info","ts":"2023-03-17T20:54:10.000+0530","logger":"raft","caller":"etcdserver/zap_raft.go:77","m> lines 1-47
You should not need a dedicated network, but we know the CNI plugin does not work with wifi interfaces, yet. As long as your VM has a default route, you should be fine.
I do not see any obvious errors in the log, but it does not look complete, either.
How is the VM configured? How much RAM and CPU, for example?
@dhellmann CPU=4 and RAM=4 and HDD is 200GB .
That should be plenty. It would be useful to capture more log output. Could you try running microshift outside of systemd to see if we get more information that way?
sudo /usr/bin/microshift run 2>&1 | tee /tmp/microshift.log
@dhellmann Here is the log output,
[root@microshift ~]# sudo /usr/bin/microshift run 2>&1 | tee /tmp/microshift.log
??? I0318 01:18:58.624860 1154438 run.go:116] Starting MicroShift
??? E0318 01:18:58.625050 1154438 certchains.go:122] [admin-kubeconfig-signer] rotate at: 2032-03-19 10:01:47 +0000 UTC
??? E0318 01:18:58.625062 1154438 certchains.go:122] [admin-kubeconfig-signer admin-kubeconfig-client] rotate at: 2032-03-19 10:01:48 +0000 UTC
??? E0318 01:18:58.625070 1154438 certchains.go:122] [aggregator-signer] rotate at: 2023-11-17 10:01:49 +0000 UTC
??? E0318 01:18:58.625075 1154438 certchains.go:122] [aggregator-signer aggregator-client] rotate at: 2023-11-17 10:01:49 +0000 UTC
??? E0318 01:18:58.625080 1154438 certchains.go:122] [etcd-signer] rotate at: 2032-03-19 10:01:52 +0000 UTC
??? E0318 01:18:58.625084 1154438 certchains.go:122] [etcd-signer apiserver-etcd-client] rotate at: 2032-03-19 10:01:52 +0000 UTC
??? E0318 01:18:58.625089 1154438 certchains.go:122] [ingress-ca] rotate at: 2032-03-19 10:01:50 +0000 UTC
??? E0318 01:18:58.625094 1154438 certchains.go:122] [ingress-ca router-default-serving] rotate at: 2023-11-17 10:01:50 +0000 UTC
??? E0318 01:18:58.625098 1154438 certchains.go:122] [kube-apiserver-external-signer] rotate at: 2032-03-19 10:01:51 +0000 UTC
??? E0318 01:18:58.625103 1154438 certchains.go:122] [kube-apiserver-external-signer kube-external-serving] rotate at: 2023-11-17 10:01:51 +0000 UTC
??? E0318 01:18:58.625107 1154438 certchains.go:122] [kube-apiserver-localhost-signer] rotate at: 2032-03-19 10:01:51 +0000 UTC
??? E0318 01:18:58.625112 1154438 certchains.go:122] [kube-apiserver-localhost-signer kube-apiserver-localhost-serving] rotate at: 2023-11-17 10:01:51 +0000 UTC
??? E0318 01:18:58.625116 1154438 certchains.go:122] [kube-apiserver-service-network-signer] rotate at: 2032-03-19 10:01:52 +0000 UTC
??? E0318 01:18:58.625121 1154438 certchains.go:122] [kube-apiserver-service-network-signer kube-apiserver-service-network-serving] rotate at: 2023-11-17 10:01:52 +0000 UTC
??? E0318 01:18:58.625125 1154438 certchains.go:122] [kube-apiserver-to-kubelet-signer] rotate at: 2023-11-17 10:01:47 +0000 UTC
??? E0318 01:18:58.625131 1154438 certchains.go:122] [kube-apiserver-to-kubelet-signer kube-apiserver-to-kubelet-client] rotate at: 2023-11-17 10:01:47 +0000 UTC
??? E0318 01:18:58.625135 1154438 certchains.go:122] [kube-control-plane-signer] rotate at: 2023-11-17 10:01:46 +0000 UTC
??? E0318 01:18:58.625140 1154438 certchains.go:122] [kube-control-plane-signer cluster-policy-controller] rotate at: 2023-11-17 10:01:47 +0000 UTC
??? E0318 01:18:58.625145 1154438 certchains.go:122] [kube-control-plane-signer kube-controller-manager] rotate at: 2023-11-17 10:01:46 +0000 UTC
??? E0318 01:18:58.625149 1154438 certchains.go:122] [kube-control-plane-signer kube-scheduler] rotate at: 2023-11-17 10:01:46 +0000 UTC
??? E0318 01:18:58.625154 1154438 certchains.go:122] [kube-control-plane-signer route-controller-manager] rotate at: 2023-11-17 10:01:47 +0000 UTC
??? E0318 01:18:58.625158 1154438 certchains.go:122] [kubelet-signer] rotate at: 2023-11-17 10:01:48 +0000 UTC
??? E0318 01:18:58.625162 1154438 certchains.go:122] [kubelet-signer kube-csr-signer] rotate at: 2023-11-17 10:01:48 +0000 UTC
??? E0318 01:18:58.625168 1154438 certchains.go:122] [kubelet-signer kube-csr-signer kubelet-client] rotate at: 2023-11-17 10:01:48 +0000 UTC
??? E0318 01:18:58.625173 1154438 certchains.go:122] [kubelet-signer kube-csr-signer kubelet-server] rotate at: 2023-11-17 10:01:49 +0000 UTC
??? E0318 01:18:58.625178 1154438 certchains.go:122] [service-ca] rotate at: 2032-03-19 10:01:49 +0000 UTC
??? E0318 01:18:58.625183 1154438 certchains.go:122] [service-ca route-controller-manager-serving] rotate at: 2023-11-17 10:01:50 +0000 UTC
??? I0318 01:18:58.625352 1154438 run.go:127] Started service-manager
network-configuration I0318 01:18:58.625490 1154438 manager.go:114] Starting network-configuration
network-configuration I0318 01:18:58.625828 1154438 netconfig.go:74] "network-configuration" is ready
etcd I0318 01:18:58.625866 1154438 manager.go:114] Starting etcd
sysconfwatch-controller I0318 01:18:58.625886 1154438 manager.go:114] Starting sysconfwatch-controller
sysconfwatch-controller I0318 01:18:58.625906 1154438 sysconfwatch_linux.go:89] starting sysconfwatch-controller with IP address "173.16.11.20"
sysconfwatch-controller I0318 01:18:58.625916 1154438 sysconfwatch_linux.go:95] sysconfwatch-controller is ready
{"level":"info","ts":"2023-03-18T01:18:58.626+0530","caller":"embed/etcd.go:131","msg":"configuring peer listeners","listen-peer-urls":["https://173.16.11.20:2380"]}
{"level":"info","ts":"2023-03-18T01:18:58.626+0530","caller":"embed/etcd.go:481","msg":"starting with peer TLS","tls-info":"cert = /var/lib/microshift/certs/etcd-signer/etcd-peer/peer.crt, key = /var/lib/microshift/certs/etcd-signer/etcd-peer/peer.key, client-cert=, client-key=, trusted-ca = /var/lib/microshift/certs/etcd-signer/ca.crt, client-cert-auth = false, crl-file = ","cipher-suites":["TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384","TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384","TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256","TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256","TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305","TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305"]}
{"level":"info","ts":"2023-03-18T01:18:58.627+0530","caller":"embed/etcd.go:139","msg":"configuring client listeners","listen-client-urls":["https://127.0.0.1:2379","https://173.16.11.20:2379"]}
{"level":"info","ts":"2023-03-18T01:18:58.627+0530","caller":"embed/etcd.go:309","msg":"starting an etcd server","etcd-version":"3.5.3","git-sha":"Not provided (use ./build instead of go build)","go-version":"go1.19.4","go-os":"linux","go-arch":"amd64","max-cpu-set":4,"max-cpu-available":4,"member-initialized":true,"name":"microshift","data-dir":"/var/lib/microshift/etcd","wal-dir":"","wal-dir-dedicated":"","member-dir":"/var/lib/microshift/etcd/member","force-new-cluster":false,"heartbeat-interval":"100ms","election-timeout":"1s","initial-election-tick-advance":true,"snapshot-count":100000,"snapshot-catchup-entries":5000,"initial-advertise-peer-urls":["https://173.16.11.20:2380"],"listen-peer-urls":["https://173.16.11.20:2380"],"advertise-client-urls":["https://173.16.11.20:2379"],"listen-client-urls":["https://127.0.0.1:2379","https://173.16.11.20:2379"],"listen-metrics-urls":["https://127.0.0.1:2381"],"cors":["*"],"host-whitelist":["*"],"initial-cluster":"","initial-cluster-state":"new","initial-cluster-token":"","quota-size-bytes":2147483648,"pre-vote":true,"initial-corrupt-check":false,"corrupt-check-time-interval":"0s","auto-compaction-mode":"","auto-compaction-retention":"0s","auto-compaction-interval":"0s","discovery-url":"","discovery-proxy":"","downgrade-check-interval":"5s","max-learners":1}
{"level":"info","ts":"2023-03-18T01:18:58.628+0530","caller":"etcdserver/backend.go:81","msg":"opened backend db","path":"/var/lib/microshift/etcd/member/snap/db","took":"257.01µs"}
{"level":"info","ts":"2023-03-18T01:18:58.656+0530","caller":"etcdserver/server.go:532","msg":"No snapshot found. Recovering WAL from scratch!"}
{"level":"info","ts":"2023-03-18T01:18:58.688+0530","caller":"etcdserver/raft.go:483","msg":"restarting local member","cluster-id":"69a5be14589482e1","local-member-id":"8c1bff2098e6483a","commit-index":21898}
{"level":"info","ts":"2023-03-18T01:18:58.689+0530","logger":"raft","caller":"etcdserver/zap_raft.go:77","msg":"8c1bff2098e6483a switched to configuration voters=()"}
{"level":"info","ts":"2023-03-18T01:18:58.689+0530","logger":"raft","caller":"etcdserver/zap_raft.go:77","msg":"8c1bff2098e6483a became follower at term 10949"}
{"level":"info","ts":"2023-03-18T01:18:58.689+0530","logger":"raft","caller":"etcdserver/zap_raft.go:77","msg":"newRaft 8c1bff2098e6483a [peers: [], term: 10949, commit: 21898, applied: 0, lastindex: 21898, lastterm: 10949]"}
{"level":"warn","ts":"2023-03-18T01:18:58.690+0530","caller":"auth/store.go:1220","msg":"simple token is not cryptographically signed"}
{"level":"info","ts":"2023-03-18T01:18:58.690+0530","caller":"mvcc/kvstore.go:415","msg":"kvstore restored","current-rev":1}
{"level":"info","ts":"2023-03-18T01:18:58.691+0530","caller":"etcdserver/quota.go:94","msg":"enabled backend quota with default value","quota-name":"v3-applier","quota-size-bytes":2147483648,"quota-size":"2.1 GB"}
{"level":"info","ts":"2023-03-18T01:18:58.691+0530","caller":"etcdserver/server.go:860","msg":"starting etcd server","local-member-id":"8c1bff2098e6483a","local-server-version":"3.5.3","cluster-version":"to_be_decided"}
{"level":"info","ts":"2023-03-18T01:18:58.693+0530","caller":"etcdserver/server.go:761","msg":"starting initial election tick advance","election-ticks":10}
{"level":"info","ts":"2023-03-18T01:18:58.693+0530","logger":"raft","caller":"etcdserver/zap_raft.go:77","msg":"8c1bff2098e6483a switched to configuration voters=(10095943505150363706)"}
{"level":"info","ts":"2023-03-18T01:18:58.693+0530","caller":"membership/cluster.go:421","msg":"added member","cluster-id":"69a5be14589482e1","local-member-id":"8c1bff2098e6483a","added-peer-id":"8c1bff2098e6483a","added-peer-peer-urls":["https://173.16.11.20:2380"],"added-peer-is-learner":false}
{"level":"info","ts":"2023-03-18T01:18:58.693+0530","caller":"membership/cluster.go:587","msg":"set initial cluster version","cluster-id":"69a5be14589482e1","local-member-id":"8c1bff2098e6483a","cluster-version":"3.5"}
{"level":"info","ts":"2023-03-18T01:18:58.693+0530","caller":"api/capability.go:75","msg":"enabled capabilities for version","cluster-version":"3.5"}
{"level":"info","ts":"2023-03-18T01:18:58.695+0530","caller":"embed/etcd.go:690","msg":"starting with client TLS","tls-info":"cert = /var/lib/microshift/certs/etcd-signer/etcd-serving/peer.crt, key = /var/lib/microshift/certs/etcd-signer/etcd-serving/peer.key, client-cert=, client-key=, trusted-ca = /var/lib/microshift/certs/etcd-signer/ca.crt, client-cert-auth = false, crl-file = ","cipher-suites":["TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384","TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384","TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256","TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256","TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305","TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305"]}
{"level":"info","ts":"2023-03-18T01:18:58.695+0530","caller":"embed/etcd.go:278","msg":"now serving peer/client/metrics","local-member-id":"8c1bff2098e6483a","initial-advertise-peer-urls":["https://173.16.11.20:2380"],"listen-peer-urls":["https://173.16.11.20:2380"],"advertise-client-urls":["https://173.16.11.20:2379"],"listen-client-urls":["https://127.0.0.1:2379","https://173.16.11.20:2379"],"listen-metrics-urls":["https://127.0.0.1:2381"]}
{"level":"info","ts":"2023-03-18T01:18:58.695+0530","caller":"embed/etcd.go:583","msg":"serving peer traffic","address":"173.16.11.20:2380"}
{"level":"info","ts":"2023-03-18T01:18:58.695+0530","caller":"embed/etcd.go:555","msg":"cmux::serve","address":"173.16.11.20:2380"}
{"level":"info","ts":"2023-03-18T01:18:58.695+0530","caller":"embed/etcd.go:765","msg":"serving metrics","address":"https://127.0.0.1:2381"}
{"level":"info","ts":"2023-03-18T01:19:00.290+0530","logger":"raft","caller":"etcdserver/zap_raft.go:77","msg":"8c1bff2098e6483a is starting a new election at term 10949"}
{"level":"info","ts":"2023-03-18T01:19:00.291+0530","logger":"raft","caller":"etcdserver/zap_raft.go:77","msg":"8c1bff2098e6483a became pre-candidate at term 10949"}
{"level":"info","ts":"2023-03-18T01:19:00.291+0530","logger":"raft","caller":"etcdserver/zap_raft.go:77","msg":"8c1bff2098e6483a received MsgPreVoteResp from 8c1bff2098e6483a at term 10949"}
{"level":"info","ts":"2023-03-18T01:19:00.291+0530","logger":"raft","caller":"etcdserver/zap_raft.go:77","msg":"8c1bff2098e6483a became candidate at term 10950"}
{"level":"info","ts":"2023-03-18T01:19:00.291+0530","logger":"raft","caller":"etcdserver/zap_raft.go:77","msg":"8c1bff2098e6483a received MsgVoteResp from 8c1bff2098e6483a at term 10950"}
{"level":"info","ts":"2023-03-18T01:19:00.291+0530","logger":"raft","caller":"etcdserver/zap_raft.go:77","msg":"8c1bff2098e6483a became leader at term 10950"}
{"level":"info","ts":"2023-03-18T01:19:00.291+0530","logger":"raft","caller":"etcdserver/zap_raft.go:77","msg":"raft.node: 8c1bff2098e6483a elected leader 8c1bff2098e6483a at term 10950"}
{"level":"info","ts":"2023-03-18T01:19:00.293+0530","caller":"embed/serve.go:98","msg":"ready to serve client requests"}
{"level":"info","ts":"2023-03-18T01:19:00.293+0530","caller":"etcdserver/server.go:2051","msg":"published local member to cluster through raft","local-member-id":"8c1bff2098e6483a","local-member-attributes":"{Name:microshift ClientURLs:[https://173.16.11.20:2379]}","request-path":"/0/members/8c1bff2098e6483a/attributes","cluster-id":"69a5be14589482e1","publish-timeout":"7s"}
etcd I0318 01:19:00.293736 1154438 etcd.go:103] etcd is ready
{"level":"info","ts":"2023-03-18T01:19:00.293+0530","caller":"embed/serve.go:98","msg":"ready to serve client requests"}
{"level":"info","ts":"2023-03-18T01:19:00.296+0530","caller":"embed/serve.go:188","msg":"serving client traffic securely","address":"127.0.0.1:2379"}
{"level":"info","ts":"2023-03-18T01:19:00.296+0530","caller":"embed/serve.go:188","msg":"serving client traffic securely","address":"173.16.11.20:2379"}
kube-apiserver I0318 01:19:00.296302 1154438 manager.go:114] Starting kube-apiserver
Flag --openshift-config has been deprecated, to be removed
kube-apiserver I0318 01:19:00.298286 1154438 flags.go:64] FLAG: --add_dir_header="false"
kube-apiserver I0318 01:19:00.298303 1154438 flags.go:64] FLAG: --admission-control="[]"
kube-apiserver I0318 01:19:00.298317 1154438 flags.go:64] FLAG: --admission-control-config-file=""
kube-apiserver I0318 01:19:00.298326 1154438 flags.go:64] FLAG: --advertise-address="
@skylabreddy , your issue should be fixed by https://github.com/openshift/microshift/pull/1505 which will be in a z-stream release soon (I don't know if it made the deadline for this week, so it might be in next week's build).
@dhellmann Is there any Tentative dates to fix the issue? is there any option to install old version of MicroShift?
@dhellmann I see still same issue with current release also, microshift-4.1.2.8.
Service start issue.
Thanks Skylab
Mar 21 19:41:20 microshift microshift[3888540]: kube-apiserver E0321 19:41:20.616357 3888540 manager.go:116] service kube-apiserver exited with error: failed to initialize admission: failed to initialize admission plugin "PodSecurity": PodSecurity configuration error: [enforce: must be one of privileged, baseline, restricted, enforce-version: must be "latest" or "v1.x", audit: must be one of privileged, baseline, restricted, audit-version: must be "latest" or "v1.x", warn: must be one of privileged, baseline, restricted, warn-version: must be "latest" or "v1.x"], stopping MicroShift Mar 21 19:41:23 microshift microshift[3888643]: Error: failed to initialize admission: failed to initialize admission plugin "PodSecurity": PodSecurity configuration error: [enforce: must be one of privileged, baseline, restricted, enforce-version: must be "latest" or "v1.x", audit: must be one of privileged, baseline, restricted, audit-version: must be "latest" or "v1.x", warn: must be one of privileged, baseline, restricted, warn-version: must be "latest" or "v1.x"]
I think we missed the build pipeline this week by a couple of hours, so it should be in the next build.
NOTE: we suspect this is because initialization is half way done sometimes, and on next boot the generation of files is not completed
What happened:
Unable to start microshift via systemd. It panics with the following error:
What you expected to happen:
Expected microshift to start successfully.
How to reproduce it (as minimally and precisely as possible):
sudo systemctl enable microshift --now
Anything else we need to know?:
A few of these warnings early in start process:
It's unclear if these are related to the issue.
Environment:
microshift version
):quay.io/microshift/microshift:latest
with digestsha256:efea2a587594be185554ea399f532e4d0b6b483ea9b4842c161098b554f9e54f
cat /etc/os-release
): Fedora 35uname -a
):Linux localhost.localdomain 5.16.12-200.fc35.x86_64 #1 SMP PREEMPT Wed Mar 2 19:06:17 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
Relevant Logs