Missing model in vsphere causes problems

help-needed

#1

I’m experiencing a juju controller in vsphere having issues with a missing model which I could need some help removing.

Here are some log excerpts:

/workspace/_build/src/github.com/juju/juju/cmd/jujud/agent/engine/housing.go:93: 
2b379dd4-319a-40af-8a44-00eac24cfd25: machine-0 2019-09-09 06:53:57 DEBUG juju.worker.dependency engine.go:669 stack trace:
model "2b379dd4-319a-40af-8a44-00eac24cfd25" not found (not found)
/workspace/_build/src/github.com/juju/juju/rpc/client.go:178: 
/workspace/_build/src/github.com/juju/juju/api/apiclient.go:1187: 
/workspace/_build/src/github.com/juju/juju/api/instancemutater/instancemutater.go:55: 
/workspace/_build/src/github.com/juju/juju/worker/instancemutater/worker.go:111: 
/workspace/_build/src/github.com/juju/juju/worker/instancemutater/manifold.go:195: cannot start machine instancemutater worker
/workspace/_build/src/github.com/juju/juju/worker/fortress/occupy.go:63: 
/workspace/_build/src/github.com/juju/juju/cmd/jujud/agent/engine/housing.go:93: 
3e7dc158-dfce-4891-8281-0048ed83eb7f: machine-0 2019-09-09 07:07:37 DEBUG juju.apiserver request_notifier.go:178 <- [21] unit-telegraf-1 {"request-id":47038041,"type":"Logger","version":1,"request":"WatchLoggingConfig","params":"'params redacted'"}
ed19e97c-ea51-4f5e-8b8b-ced9cb822b75: machine-4 2019-09-09 06:54:22 DEBUG juju.worker.logger logger.go:64 initial log config: "<root>=DEBUG"
9d2d1864-a682-4fdb-8b61-8595052602ce: machine-1 2019-09-09 06:53:04 INFO juju.worker.logger logger.go:134 logger worker stopped
2b379dd4-319a-40af-8a44-00eac24cfd25: machine-1 2019-09-09 06:52:41 DEBUG juju.worker.dependency engine.go:594 "instance-mutater" manifold worker stopped: cannot start machine instancemutater worker: model "2b379dd4-319a-40af-8a44-00eac24cfd25" not found (not found)
584d8b31-b79a-4b37-8f72-78e50be2fc20: machine-0 2019-09-09 06:52:10 DEBUG juju.worker.dependency engine.go:669 stack trace:
model "584d8b31-b79a-4b37-8f72-78e50be2fc20" not found (not found)
/workspace/_build/src/github.com/juju/juju/rpc/client.go:178: 
/workspace/_build/src/github.com/juju/juju/api/apiclient.go:1187: 
/workspace/_build/src/github.com/juju/juju/api/instancemutater/instancemutater.go:55: 
/workspace/_build/src/github.com/juju/juju/worker/instancemutater/worker.go:111: 
/workspace/_build/src/github.com/juju/juju/worker/instancemutater/manifold.go:195: cannot start machine instancemutater worker
/workspace/_build/src/github.com/juju/juju/worker/fortress/occupy.go:63: 
/workspace/_build/src/github.com/juju/juju/cmd/jujud/agent/engine/housing.go:93: 
9d2d1864-a682-4fdb-8b61-8595052602ce: machine-0 2019-09-09 06:54:37 ERROR juju.worker.dependency engine.go:658 "instance-mutater" manifold worker returned unexpected error: cannot start machine instancemutater worker: model "9d2d1864-a682-4fdb-8b61-8595052602ce" not found (not found)
9d2d1864-a682-4fdb-8b61-8595052602ce: machine-2 2019-09-09 06:52:19 DEBUG juju.worker.dependency engine.go:594 "logging-config-updater" manifold worker stopped: model "9d2d1864-a682-4fdb-8b61-8595052602ce" not found (not found)
2b379dd4-319a-40af-8a44-00eac24cfd25: machine-0 2019-09-09 06:53:57 ERROR juju.worker.logger logger.go:85 model "2b379dd4-319a-40af-8a44-00eac24cfd25" not found (not found)
3e7dc158-dfce-4891-8281-0048ed83eb7f: machine-0 2019-09-09 07:07:37 DEBUG juju.apiserver request_notifier.go:195 -> [11] machine-5 155.14µs {"request-id":87762480,"error":"model \"248a9772-e959-47c8-8064-761348fb2b47\" not found","error-code":"not found","response":"'body redacted'"} InstanceMutater[""].Life
ed19e97c-ea51-4f5e-8b8b-ced9cb822b75: machine-4 2019-09-09 06:54:22 DEBUG juju.worker.dependency engine.go:560 "logging-config-updater" manifold worker started at 2019-09-09 06:54:22.97265292 +0000 UTC
9d2d1864-a682-4fdb-8b61-8595052602ce: machine-1 2019-09-09 06:53:04 DEBUG juju.worker.dependency engine.go:594 "logging-config-updater" manifold worker stopped: model "9d2d1864-a682-4fdb-8b61-8595052602ce" not found (not found)

Someone got some experience in cleaning up “lost models” in vsphere?


#2

I failed in this and bumped in to a new problem while trying to recreate a vsphere controller with juju 2.6.8: Vsphere bootstrap creates 2 nics with same mac