Conjure-up: Guard against running headless conjure-up against localhost on macOS

Created on 28 Jun 2017  路  4Comments  路  Source: conjure-up/conjure-up

conjure-up.tar.gz

Report

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

I'm on:

ProductName:    Mac OS X
ProductVersion: 10.12.3
BuildVersion:   16D32
  • [ ] Is this problem reproducible with sudo snap refresh conjure-up --edge?

Please provide the output of the following commands

which juju
/usr/local/bin/juju

which conjure-up
/usr/local/bin/conjure-up

which conjure-up.lxd
conjure-up.lxd not found

juju version
2.2.1-sierra-amd64

conjure-up --version
conjure-up 2.3-alpha1

conjure-up.lxd --version
command not found: conjure-up.lxd

conjure-up.lxc config show
command not found: conjure-up.lxc

cat /etc/lsb-release
[conjure-up.tar.gz](https://github.com/conjure-up/conjure-up/files/1108900/conjure-up.tar.gz)

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

tar cvzf conjure-up.tar.gz ~/.cache/conjure-up

Sosreport

Please attach a sosreport:

sudo apt install sosreport
sosreport

The resulting output file can be attached to this issue.

What Spell was Selected?

canonical-kubernetes

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

localhost

MAAS Users

Which version of MAAS?

Commands ran

Please outline what commands were run to install and execute conjure-up:

鉂澂鉂澂 conjure-up canonical-kubernetes localhost -d
[info] Summoning canonical-kubernetes to localhost
[error] '>=' not supported between instances of 'NoneType' and 'SetuptoolsVersion'
[warning] Shutting down
Sentry is attempting to send 1 pending error messages
Waiting up to 10 seconds

Additional Information

Since localhost is missing from Choose a cloud page, I tried to run it from the command line and got the above error.

bug help wanted macOS

Most helpful comment

Localhost doesn't work on macOS as LXD is not supported there. In the future we may add support for local deployments on macOS using one of the virtualization tools available on that platform.

All 4 comments

Localhost doesn't work on macOS as LXD is not supported there. In the future we may add support for local deployments on macOS using one of the virtualization tools available on that platform.

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.

given that this usecase is specifically mentioned in the global README, I suggest either editing the readme, or adding a more descriptive error message. The current error hints LXD is "not found", and might run on macOS, which isn't the case. (Although that would be _so cool_)

https://github.com/conjure-up/conjure-up#run-the-installer-non-interactively-headless-mode

Right now the command and error on macOS is:

$ conjure-up canonical-kubernetes localhost
[info] Summoning canonical-kubernetes to localhost
[error] LXD not found.  To install, see https://docs.conjure-up.io/devel/en/#users-of-lxd
[warning] Shutting down
Was this page helpful?
0 / 5 - 0 ratings