[opensuse-kubic] 20200401: kubicd disabled by accident?
Hi all, after I recently setup a kubic instance on my APU without any issue, I encounter some errors when using the 20200401 snaphost, see below. If it is intended to have kubicd disabled by default, then this should be added to the Readme (both https://en.opensuse.org/Kubic:kubeadm, https://en.opensuse.org/Kubic:KubicD_and_kubicctl and https://github.com/thkukuk/kubic-control). Or is this a undesired fallout? Kind Regards, Johannes
kubic-master01:~ # kubicctl certificates initialize Created /etc/kubicd/pki/Kubic-Control-CA.key Created /etc/kubicd/pki/Kubic-Control-CA.crt Created /etc/kubicd/pki/Kubic-Control-CA.crl Created /etc/kubicd/pki/KubicD.key Created /etc/kubicd/pki/KubicD.csr Created /etc/kubicd/pki/KubicD.crt from /etc/kubicd/pki/KubicD.csr signed by /etc/kubicd/pki/Kubic-Control-CA.key Created /etc/kubicd/pki/admin.key Created /etc/kubicd/pki/admin.csr Created /etc/kubicd/pki/admin.crt from /etc/kubicd/pki/admin.csr signed by /etc/kubicd/pki/Kubic-Control-CA.key All certificates and the CA are created and can be found in '/etc/kubicd/pki' kubic-master01:~ # kubicctl init Initializing kubernetes master can take several minutes, please be patient. Could not initialize: rpc error: code = Unavailable desc = all SubConns are in TransientFailure, latest connection error: connection error: desc = "transport: Error while dialing dial tcp [::1]:7148: connect: connection refused" kubic-master01:~ # systemctl status kubicd ● kubicd.service - Kubic Daemon to setup Kubernetes Loaded: loaded (/usr/lib/systemd/system/kubicd.service; disabled; vendor preset: disabled) Active: inactive (dead) kubic-master01:~ # systemctl start kubicd kubic-master01:~ # kubicctl init Initializing kubernetes master can take several minutes, please be patient. Setting up single-master kubernetes node with weave [...] kubic-master01:~ # cat /etc/os-release NAME="openSUSE MicroOS" # VERSION="20200401" ID="opensuse-microos" ID_LIKE="suse opensuse opensuse-tumbleweed" VERSION_ID="20200401" PRETTY_NAME="openSUSE MicroOS" ANSI_COLOR="0;32" CPE_NAME="cpe:/o:opensuse:microos:20200401" BUG_REPORT_URL="https://bugs.opensuse.org" HOME_URL="https://www.opensuse.org/" LOGO="distributor-logo" kubic-master01:~ #
-- Johannes Kastl Linux Consultant & Trainer Tel.: +49 (0) 151 2372 5802 Mail: kastl@b1-systems.de B1 Systems GmbH Osterfeldstraße 7 / 85088 Vohburg http://www.b1-systems.de GF: Ralph Dehner Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537
Hi, On Sun, Apr 05, Johannes Kastl wrote:
Hi all,
after I recently setup a kubic instance on my APU without any issue, I encounter some errors when using the 20200401 snaphost, see below.
If it is intended to have kubicd disabled by default, then this should be added to the Readme (both https://en.opensuse.org/Kubic:kubeadm, https://en.opensuse.org/Kubic:KubicD_and_kubicctl and https://github.com/thkukuk/kubic-control).
Or is this a undesired fallout?
If you did install the Kubic Admin Node system role, kubicd-init and kubicd should be enabled by default. If you use one of the images, you need to enable them, as they contain several system roles. Thorsten -- Thorsten Kukuk, Distinguished Engineer, Senior Architect SLES & MicroOS SUSE Software Solutions Germany GmbH, Maxfeldstr. 5, 90409 Nuernberg, Germany Managing Director: Felix Imendoerffer (HRB 36809, AG Nürnberg) -- To unsubscribe, e-mail: opensuse-kubic+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kubic+owner@opensuse.org
Hi Thorsten, On 05.04.20 at 10:20 Thorsten Kukuk wrote:
If you did install the Kubic Admin Node system role, kubicd-init and kubicd should be enabled by default. If you use one of the images, you need to enable them, as they contain several system roles.
That makes sense and explains the difference. I'll update the wiki page and prepare a PR for kubic-control Readme. Johannes -- Johannes Kastl Linux Consultant & Trainer Tel.: +49 (0) 151 2372 5802 Mail: kastl@b1-systems.de B1 Systems GmbH Osterfeldstraße 7 / 85088 Vohburg http://www.b1-systems.de GF: Ralph Dehner Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537
participants (2)
-
Johannes Kastl
-
Thorsten Kukuk