Conjure-up: Running conjure-down leads to an error that says "Reason: Unable to list models: ERROR cannot list models: try was stopped"

Created on 16 Aug 2017  路  3Comments  路  Source: conjure-up/conjure-up

After selecting any charm (i.e. Hadoop/Spark, Hadoop/Kafka, Spark, etc), choosing localhost and waiting for everything to be successfully initialized I will then attempt to run conjure-down. My terminal will hang for a period of time and an error will then show. The only way that I am able to end an instance is to sudo snap remove conjure-up.

Report

Thank you for trying conjure-up! Before reporting a bug please make sure you've gone through this checklist:

  • [ x] Is this problem already documented at https://docs.ubuntu.com/conjure-up/en/troubleshoot#common-spell-problems. Not that I have been able to find
  • [x ] Is conjure-up running inside a virtual machine? No
  • [ x] Is this problem reproducible with sudo snap refresh conjure-up --edge? No

Please provide the output of the following commands

which juju
**/usr/bin/juju**

which conjure-up
**/snap/bin/conjure-up**

which conjure-up.lxd
**/snap/bin/conjure-up.lxd**

juju version
**2.2.2-xenial-amd64**

conjure-up --version
**conjure-up 2.2.2**


conjure-up.lxd --version
**2.14**

conjure-up.lxc config show
**config: {}**

cat /etc/lsb-release
**DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=16.04
DISTRIB_CODENAME=xenial
DISTRIB_DESCRIPTION="Ubuntu 16.04.3 LTS"**

Please attach tarball of ~/.cache/conjure-up:
tar cvzf conjure-up.tar.gz ~/.cache/conjure-up

screenshot from 2017-08-15 17-05-44

[conjure-up.tar.gz](https://github.com/conjure-up/conjure-up/files/1226693/conjure-up.tar.gz)


## Sosreport

Please attach a sosreport:

sudo apt install sosreport
sosreport
```

The resulting output file can be attached to this issue.

What Spell was Selected?

Hadoop/Spark cluster

What provider (aws, maas, localhost, etc)?

aws and localhost

MAAS Users

Which version of MAAS?

Commands ran

conjure-up

Please outline what commands were run to install and execute conjure-up:
sudo snap install conjure-up --classic
conjure-up
Hadoop/Spark cluster

Additional Information

sosreport-checkler-20170815165037.tar.gz

bug

Most helpful comment

Determined the issue was due to user error. Conjure-up thought I had a bunch of controllers which in reality I did not. I ran rm -rf ~/.local/share/juju to remove them and reinstalled and set up etc. Thanks!

All 3 comments

Determined the issue was due to user error. Conjure-up thought I had a bunch of controllers which in reality I did not. I ran rm -rf ~/.local/share/juju to remove them and reinstalled and set up etc. Thanks!

We're going to look into better handling this

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Was this page helpful?
0 / 5 - 0 ratings