Skip to content

Installer does not work with pre-provisioned vms #649

Description

@yrobla

Platform (aws|libvirt|openstack): libvirt

I am using the installer with libvirt, but not in the traditional way. Instead, i'm generating the ignition and manifests files first, and then i'm pre-creating the vms. I am passing those ignition files to the pre-created vms.
This procedure was working fine, until there was a major change on how etcd cluster is created. Since then it's failing for me, even if i use the latest images.
Issue seems to be with etcd cluster on master, it's never reaching to a healthy point. In bootstrap, i always can see :
043548de8fd5 quay.io/coreos/etcd:v3.2.14 /usr/local/bin/etcd... 3 minutes ago Up 2 minutes ago etcdctl
f49c5993cfec quay.io/coreos/kube-etcd-signer-server:678cc8e6841e2121ebfdb6e2db568fce290b67d6 kube-etcd-signer-se... 13 minutes ago Up 13 minutes ago etcd-signer

In etcd-signer i can see some errors:

2018/11/09 16:32:19 [INFO] POST/apis/certificates.k8s.io/v1beta1/certificatesigningrequests
ERROR: logging before flag.Parse: E1109 16:32:19.354366 1 signer.go:292] Error signing CSR provided in request from agent: error parsing profile: invalid organization

master just iterates, is not able to be registered, as it cannot contact the cluster.

I can show how am i working, it's a compose of different jobs:

http://10.8.125.26:8080/job/build-openshift-installer -> installs latest code, generates manifests and ignition files
http://10.8.125.26:8080/job/build-openshift-cluster -> creates the vms, embeds ignition files on bootstrap and master

Also logs with the failures:
http://10.8.125.26/logs/

bootstrap.log and master.log are the logs provided by the full openshift installer
bootstrap_custom.log and master_custom.logs are the logs provided by my installer with custom workflow

Also you can see how all the code is glued together on:
https://github.com/redhat-nfvpe/edge-poc-netlab

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions