{"action":"closed","issue":{"url":"https://api.github.com/repos/openshift/installer/issues/566","repository_url":"https://api.github.com/repos/openshift/installer","labels_url":"https://api.github.com/repos/openshift/installer/issues/566/labels{/name}","comments_url":"https://api.github.com/repos/openshift/installer/issues/566/comments","events_url":"https://api.github.com/repos/openshift/installer/issues/566/events","html_url":"https://github.com/openshift/installer/issues/566","id":375220670,"node_id":"MDU6SXNzdWUzNzUyMjA2NzA=","number":566,"title":"The Installer fails when destroying a libvirt cluster","user":{"login":"imcsk8","id":84400,"node_id":"MDQ6VXNlcjg0NDAw","avatar_url":"https://avatars3.githubusercontent.com/u/84400?v=4","gravatar_id":"","url":"https://api.github.com/users/imcsk8","html_url":"https://github.com/imcsk8","followers_url":"https://api.github.com/users/imcsk8/followers","following_url":"https://api.github.com/users/imcsk8/following{/other_user}","gists_url":"https://api.github.com/users/imcsk8/gists{/gist_id}","starred_url":"https://api.github.com/users/imcsk8/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/imcsk8/subscriptions","organizations_url":"https://api.github.com/users/imcsk8/orgs","repos_url":"https://api.github.com/users/imcsk8/repos","events_url":"https://api.github.com/users/imcsk8/events{/privacy}","received_events_url":"https://api.github.com/users/imcsk8/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-10-29T21:17:38Z","updated_at":"2018-10-29T21:35:35Z","closed_at":"2018-10-29T21:35:35Z","author_association":"NONE","body":"# Version\r\n\r\n```console\r\n$ openshift-install version\r\nbin/openshift-install v0.3.0-60-g5ddb3b70e305ab2b91b84122535110123cd9b5f0-dirty\r\nTerraform v0.11.8\r\n\r\nYour version of Terraform is out of date! The latest version\r\nis 0.11.10. You can update by downloading from www.terraform.io/downloads.html\r\n\r\n```\r\n\r\n# Platform (aws|libvirt|openshift):\r\n\r\nlibvirt\r\n\r\n# What happened?\r\n\r\nI tried to destroy the cluster i got this error:\r\n```\r\nFATAL Error executing openshift-install: no destroyers registered for \"libvirt\"\r\n```\r\n\r\n\r\n# What you expected to happen?\r\n\r\nSuccesful deletion of cluster and libvirt assets\r\n\r\n# How to reproduce it (as minimally and precisely as possible)?\r\n\r\n<!--\r\nPlease list the full steps required to reproduce the issue.\r\n-->\r\n\r\nSetup a libvirt environment:\r\n\r\n```\r\nexport OPENSHIFT_INSTALLER_PATH=\"${HOME}/Go/src/github.com/openshift/installer\"\r\nexport OPENSHIFT_INSTALL_PLATFORM=libvirt\r\nexport OPENSHIFT_INSTALL_BASE_DOMAIN=tt.testing\r\nexport OPENSHIFT_INSTALL_CLUSTER_NAME=test1\r\nexport OPENSHIFT_INSTALL_PULL_SECRET_PATH=${OPENSHIFT_INSTALLER_PATH}/secrets\r\nexport OPENSHIFT_INSTALL_LIBVIRT_URI=qemu+tcp://192.168.1.68/system\r\nexport OPENSHIFT_INSTALL_EMAIL_ADDRESS=\"me@example.com\"\r\nexport OPENSHIFT_INSTALL_PASSWORD=\"mypass\"\r\nexport OPENSHIFT_INSTALL_SSH_PUB_KEY=\"$(<~/.ssh/id_rsa.pub)\"\r\n\r\n```\r\n\r\nRun the installer:\r\n\r\n```console\r\n$ bin/openshift-install create cluster --dir $OPENSHIFT_INSTALL_CLUSTER_NAME\r\n```\r\n\r\nDestroy cluster\r\n\r\n```console\r\n$ bin/openshift-install destroy cluster --dir $OPENSHIFT_INSTALL_CLUSTER_NAME\r\nFATAL Error executing openshift-install: no destroyers registered for \"libvirt\"\r\n```\r\n\r\n# Anything else we need to know?\r\n\r\nI checked the code: https://github.com/openshift/installer/blob/master/pkg/destroy/destroyer.go#L35\r\nAnd when i run the destroy cluster command the registry map only has aws.\r\n```\r\nRegistry: map[aws:0xc55020]\r\n```\r\n\r\n"}}
{"actor":{"display_login":"imcsk8"}}