Skip to content

Unclear how to restart a fresh "bin/openshift-install install cluster" #845

@rwsu

Description

@rwsu

Version

$ openshift-install version
bin/openshift-install v0.5.0-master-47-gf7d6d2923a7979344fcac33293084051cecc8aab-dirty
Terraform v0.11.10
$ ~/.terraform.d/plugins/terraform-provider-libvirt -version  # only needed if you're using libvirt
Compiled against library: libvirt 4.1.0
Using library: libvirt 4.1.0
Running hypervisor: QEMU 2.11.2
Running against daemon: 4.1.0

Platform (aws|libvirt|openstack):

libvirt

What happened?

My first install failed with:

WARNING Failed to connect events watcher: Get https://demo-api.localdomain:6443/api/v1/namespaces/kube-system/events?watch=true: dial tcp: lookup demo-api.localdomain on 127.0.0.1:53: no such host 
WARNING Failed to connect events watcher: Get https://demo-api.localdomain:6443/api/v1/namespaces/kube-system/events?watch=true: dial tcp: lookup demo-api.localdomain on 127.0.0.1:53: no such host 
WARNING Failed to connect events watcher: Get https://demo-api.localdomain:6443/api/v1/namespaces/kube-system/events?watch=true: dial tcp: lookup demo-api.localdomain on 127.0.0.1:53: no such host 
WARNING Failed to connect events watcher: Get https://demo-api.localdomain:6443/api/v1/namespaces/kube-system/events?watch=true: dial tcp: lookup demo-api.localdomain on 127.0.0.1:53: no such host 
FATAL Error executing openshift-install: waiting for bootstrap-complete: timed out waiting for the condition 

Then I destroyed the cluster:

[root@puppy installer]# bin/openshift-install destroy cluster
INFO Deleted domain                                domain=demo-master-0
INFO Deleted domain                                domain=demo-bootstrap
INFO Deleted network                               network=demo
INFO Deleted volume                                volume=demo-bootstrap
INFO Deleted volume                                volume=demo-master.ign
INFO Deleted volume                                volume=demo-bootstrap.ign
INFO Deleted volume                                volume=demo-base
INFO Deleted volume                                volume=demo-master-0

When try to rerun the installer to create the cluster, it doesn't prompt me and reuses what I had entered before. It is not clear how to reset the installer so that it prompts me for domain, install type, etc..

What you expected to happen?

There should be an option or instructions on how to reset the installer or its state so it starts fresh.

How to reproduce it (as minimally and precisely as possible)?

bin/openshift-install create cluster
bin/openshift-install destroy cluster
bin/openshift-install create cluster

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