Giter VIP home page Giter VIP logo

conjure-up's Introduction

NOTICE: conjure-up is EOL

Please note that conjure-up has reached end-of-life. Most of the features of this installer are now available natively with juju and snap.

For the latest recommended way to install and operate the following Canonical software, please see the linked documentation.

conjure-up Build Status

Installing big software like whoa.

what it is

Ever wanted to get started with Kubernetes, Deep Learning, Big Data but didn't want to go through pages and pages of "Getting Started" documentation?

Then conjure-up is for you!

This is the runtime application for processing spells to get those big software solutions up and going with as little hindrance as possible.

installation

Ubuntu and macOS

Ubuntu

$ sudo snap install conjure-up --classic

macOS

$ brew install conjure-up

how to use

Run the installer interactively

You may want to learn a little bit about what you're installing, right? This method provides you with a tutorial like approach without being overburdening.

You can read through descriptions of the software along with ability to set a few config options before deploying. Or, just hold down the enter button and it'll choose sensible defaults for you.

$ conjure-up

Run the installer non-interactively (headless mode)

Already been through the guided tour? Not keen on holding down the enter button on your keyboard? Not a problem, easily get your big software up and running with all the sensible defaults in place.

$ conjure-up canonical-kubernetes localhost

Note that some spells require sudo for certain steps. When running in headless mode, conjure-up should be run with a user with passwordless sudo enabled (or sudo should be pre-authorized before invoking conjure-up).

Destroying deployments

$ conjure-down

authors

license

The MIT License (MIT)

  • Copyright (c) 2015-2019 Canonical Ltd.

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

conjure-up's People

Contributors

adam-stokes avatar come-maiz avatar dependabot[bot] avatar gonfva avatar imichka avatar johnsca avatar kwmonroe avatar lourot avatar mikemccracken avatar mpontillo avatar pengale avatar remyleone avatar simonklb avatar techtonik avatar tvansteenburgh avatar tych0 avatar wwwtyro avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

conjure-up's Issues

PPA Install resulting in no spell found

Adding the /next ppa for conjure-up on 16.04 and installing the conjure-up results in [warning] Could not find spell in charmstore when running conjure-up openstack

relation setting failure

Jun  7 19:55:14 tupac conjure-up/bundle-observable-kubernetes: [ERROR] Showing dialog for exception:
Traceback (most recent call last):
  File "/usr/local/lib/python3.5/dist-packages/conjure_up-2.0.0-py3.5.egg/conjure/juju.py", line 300, in do_add_all
    params=params)
  File "/usr/local/lib/python3.5/dist-packages/conjure_up-2.0.0-py3.5.egg/macumba/v2.py", line 100, in _request
    'Params': params})
  File "/usr/local/lib/python3.5/dist-packages/conjure_up-2.0.0-py3.5.egg/macumba/v2.py", line 111, in call
    return self.receive(req_id, timeout)
  File "/usr/local/lib/python3.5/dist-packages/conjure_up-2.0.0-py3.5.egg/macumba/api.py", line 126, in receive
    raise ServerError(res['Error'], res)
macumba.errors.ServerError: (ServerError(...), 'cannot add relation "filebeat:elasticsearch elasticsearch:client": relation already exists')

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.5/concurrent/futures/thread.py", line 55, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/local/lib/python3.5/dist-packages/conjure_up-2.0.0-py3.5.egg/conjure/juju.py", line 30, in _decorator
    return f(*args, **kwargs)
  File "/usr/local/lib/python3.5/dist-packages/conjure_up-2.0.0-py3.5.egg/conjure/juju.py", line 303, in do_add_all
    exc_cb(e)
  File "/usr/local/lib/python3.5/dist-packages/conjure_up-2.0.0-py3.5.egg/conjure/controllers/deploy/gui.py", line 26, in __handle_exception
    app.ui.show_exception_message(exc)
  File "/usr/local/lib/python3.5/dist-packages/conjure_up-2.0.0-py3.5.egg/conjure/ui/__init__.py", line 17, in show_exception_message
    self.frame.body = ErrorView(ex.args[0])
  File "/usr/local/lib/python3.5/dist-packages/conjure_up-2.0.0-py3.5.egg/ubuntui/views/error.py", line 23, in __init__
    Padding.center_80(Color.error_major(Text(error))),
  File "/usr/lib/python3/dist-packages/urwid/widget.py", line 836, in __init__
    self.set_text(markup)
  File "/usr/lib/python3/dist-packages/urwid/widget.py", line 879, in set_text
    self._text, self._attrib = decompose_tagmarkup(markup)
  File "/usr/lib/python3/dist-packages/urwid/util.py", line 375, in decompose_tagmarkup
    tl, al = _tagmarkup_recurse(tm, None)
  File "/usr/lib/python3/dist-packages/urwid/util.py", line 416, in _tagmarkup_recurse
    raise TagMarkupException("Invalid markup element: %r" % tm)
urwid.util.TagMarkupException: Invalid markup element: ServerError(ServerError(...), 'cannot add relation "filebeat:elasticsearch elasticsearch:client": relation already exists')

With latest juju ops queue the relations seem to be duplicating and this error is not handled properly it looks like

add global queue for managing juju commands

Need to be able to continue to move forward in the UI without blocking on juju commands. However, we need to make sure some juju commands are done before issueing others, for example, you can't juju list-models while a juju bootstrap is happening.

cleanup service status view

The original service status view is being altered a bit to be more to the point about the applications being deployed. This view will also not be sticking around like it does in the 0.x series.

Openstack LXD Single installation failing

Hi,

When trying an OpenStack LXD single install on 16.04 it fails fatally on a pair of steps:

  • The first is easy to solve as it is only a missing id_rsa.pub in the .ssh home dir
  • The second, where I am stuck, complains about: No keypair with a name or ID of 'ubuntu-keypair' exists

I'm just starting so I have limited troubleshooting skills but any help to find at least a workaround will be greatly appreciated.

Best regards,

Kapde

non standard bridge juju failure

I am running lxd on br0 and not lxdbr0 - so I can ssh and connect via lan to my lab servers lxd containers

I can work with lxd containers from lxc command line and also the new Ansible cloud provisioner lxd containers (a PR I think still in 2.2)

conjure-up bigdata

fails

conjure.juju.JujuNotFoundException: Unable to list models: ['ERROR cannot find network interface "lxdbr0": route ip+net: no such network interface', 'ERROR cannot list models: constructing environ: invalid config: route ip+net: no such network interface']

when I run juju 2 lxd provider separately to conjure up I get similar errors

https://github.com/juju/juju/issues/5439#issuecomment-220808972

conjure-up openstack landscape deploy failure

I'm getting the following stacktrace when trying to deploy openstack using conjure-up on 16.04. I've replicated this on multiple environments both physical and virtual nodes.

image

Using MAAS Version 2.0.0 (beta3+bzr4941), getting the same issue with beta 5.

hang after pressing 'q' from deploy status screen

after waiting for a while in the deploy status screen after filing #72, I pressed 'q' to exit, and the urwid UI cleared back to the prompt, but the program hasn't exited.

if I ^C, I get this traceback:

^CError in atexit._run_exitfuncs:
Traceback (most recent call last):
  File "/usr/lib/python3.5/concurrent/futures/thread.py", line 39, in _python_exit
    t.join()
  File "/usr/lib/python3.5/threading.py", line 1054, in join
    self._wait_for_tstate_lock()
  File "/usr/lib/python3.5/threading.py", line 1070, in _wait_for_tstate_lock
    elif lock.acquire(block, timeout):
KeyboardInterrupt

conjure-up to install openstack autopilot failed on Ubuntu 16.04 LTS

ubuntu@ubuntu102:~$ conjure-up openstack
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
  docutils-common ieee-data libjbig0 libjpeg-turbo8 libjpeg8 liblcms2-2 libpaper-utils libpaper1 libtiff5 libwebp5
  libwebpmux1 libxslt1.1 python-babel-localedata python3-appdirs python3-babel python3-bs4 python3-cinderclient
  python3-cliff python3-cmd2 python3-crypto python3-debtcollector python3-docutils python3-funcsigs python3-glanceclient
  python3-html5lib python3-iso8601 python3-json-pointer python3-jsonpatch python3-jsonschema python3-keyring
  python3-keystoneauth1 python3-keystoneclient python3-lxml python3-monotonic python3-msgpack python3-netaddr
  python3-netifaces python3-neutronclient python3-novaclient python3-openstackclient python3-openstacksdk
  python3-os-client-config python3-oslo.config python3-oslo.i18n python3-oslo.serialization python3-oslo.utils
  python3-pbr python3-pil python3-positional python3-prettytable python3-pygments python3-pyparsing
  python3-requestsexceptions python3-roman python3-secretstorage python3-simplejson python3-stevedore python3-tz
  python3-unicodecsv python3-warlock python3-wrapt
Suggested packages:
  liblcms2-utils python-cliff-doc python3-crypto-dbg python-crypto-doc python-debtcollector-doc
  texlive-latex-recommended texlive-latex-base texlive-lang-french fonts-linuxlibertine | ttf-linux-libertine
  docutils-doc python-funcsigs-doc python-glanceclient-doc python3-genshi gir1.2-gnomekeyring-1.0 python3-pykde4
  python-keystoneauth1-doc python3-requests-kerberos python3-lxml-dbg python-lxml-doc ipython3 python-netaddr-docs
  python-openstacksdk-doc python-os-client-config-doc python-pil-doc python3-pil-dbg python-positional-doc
  ttf-bitstream-vera gnome-keyring python-secretstorage-doc
The following NEW packages will be installed:
  docutils-common ieee-data libjbig0 libjpeg-turbo8 libjpeg8 liblcms2-2 libpaper-utils libpaper1 libtiff5 libwebp5
  libwebpmux1 libxslt1.1 openstack python-babel-localedata python3-appdirs python3-babel python3-bs4
  python3-cinderclient python3-cliff python3-cmd2 python3-crypto python3-debtcollector python3-docutils python3-funcsigs
  python3-glanceclient python3-html5lib python3-iso8601 python3-json-pointer python3-jsonpatch python3-jsonschema
  python3-keyring python3-keystoneauth1 python3-keystoneclient python3-lxml python3-monotonic python3-msgpack
  python3-netaddr python3-netifaces python3-neutronclient python3-novaclient python3-openstackclient
  python3-openstacksdk python3-os-client-config python3-oslo.config python3-oslo.i18n python3-oslo.serialization
  python3-oslo.utils python3-pbr python3-pil python3-positional python3-prettytable python3-pygments python3-pyparsing
  python3-requestsexceptions python3-roman python3-secretstorage python3-simplejson python3-stevedore python3-tz
  python3-unicodecsv python3-warlock python3-wrapt
0 upgraded, 62 newly installed, 0 to remove and 0 not upgraded.
Need to get 8,023 kB of archives.
After this operation, 42.9 MB of additional disk space will be used.
Get:1 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 libjpeg-turbo8 amd64 1.4.2-0ubuntu3 [111 kB]
Get:2 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 liblcms2-2 amd64 2.6-3ubuntu2 [137 kB]
Get:3 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 python3-pyparsing all 2.0.3+dfsg1-1 [35.4 kB]
Get:4 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 python3-cmd2 all 0.6.8-1 [22.5 kB]
Get:5 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 python3-wrapt amd64 1.8.0-5build2 [25.5 kB]
Get:6 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 libjbig0 amd64 2.1-3.1 [26.6 kB]
Get:7 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 docutils-common all 0.12+dfsg-1 [141 kB]
Get:8 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 ieee-data all 20150531.1 [830 kB]
Get:9 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 libjpeg8 amd64 8c-2ubuntu8 [2,194 B]
Get:10 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 libpaper1 amd64 1.1.24+nmu4ubuntu1 [13.7 kB]
Get:11 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 libpaper-utils amd64 1.1.24+nmu4ubuntu1 [8,276 B]
Get:12 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 libtiff5 amd64 4.0.6-1 [144 kB]
Get:13 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 libxslt1.1 amd64 1.1.28-2.1 [145 kB]
Get:14 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 python-babel-localedata all 1.3+dfsg.1-6 [1,931 kB]
Get:15 http://us.archive.ubuntu.com/ubuntu xenial/universe amd64 python3-appdirs all 1.4.0-2 [9,750 B]
Get:16 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 python3-tz all 2014.10~dfsg1-0ubuntu2 [24.6 kB]
Get:17 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 python3-babel all 1.3+dfsg.1-6 [67.5 kB]
Get:18 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 python3-bs4 all 4.4.1-1 [64.1 kB]
Get:19 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 python3-pbr all 1.8.0-4ubuntu1 [33.4 kB]
Get:20 http://us.archive.ubuntu.com/ubuntu xenial/universe amd64 python3-debtcollector all 1.3.0-2 [12.9 kB]
Get:21 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 python3-iso8601 all 0.1.11-1 [9,876 B]
Get:22 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 python3-keyring all 7.3-1ubuntu1 [40.2 kB]
Get:23 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 python3-lxml amd64 3.5.0-1build1 [811 kB]
Get:24 http://us.archive.ubuntu.com/ubuntu xenial/universe amd64 python3-positional all 1.0.1-2 [5,784 B]
Get:25 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 python3-stevedore all 1.12.0-1 [17.8 kB]
Get:26 http://us.archive.ubuntu.com/ubuntu xenial/universe amd64 python3-keystoneauth1 all 2.4.0-1ubuntu2 [92.6 kB]
Get:27 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 python3-roman all 2.0.0-2 [8,140 B]
Get:28 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 python3-docutils all 0.12+dfsg-1 [346 kB]
Get:29 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 python3-netaddr all 0.7.18-1 [173 kB]
Get:30 http://us.archive.ubuntu.com/ubuntu xenial/universe amd64 python3-oslo.config all 1:3.9.0-3 [64.7 kB]
Get:31 http://us.archive.ubuntu.com/ubuntu xenial/universe amd64 python3-oslo.i18n all 3.5.0-2 [19.1 kB]
Get:32 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 python3-msgpack amd64 0.4.6-1build1 [57.3 kB]
Get:33 http://us.archive.ubuntu.com/ubuntu xenial/universe amd64 python3-funcsigs all 0.4-2 [12.6 kB]
Get:34 http://us.archive.ubuntu.com/ubuntu xenial/universe amd64 python3-monotonic all 0.6-2 [5,052 B]
Get:35 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 python3-netifaces amd64 0.10.4-0.1build2 [12.9 kB]
Get:36 http://us.archive.ubuntu.com/ubuntu xenial/universe amd64 python3-oslo.utils all 3.8.0-2 [46.7 kB]
Get:37 http://us.archive.ubuntu.com/ubuntu xenial/universe amd64 python3-oslo.serialization all 2.4.0-2 [11.5 kB]
Get:38 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 python3-prettytable all 0.7.2-3 [19.7 kB]
Get:39 http://us.archive.ubuntu.com/ubuntu xenial/universe amd64 python3-keystoneclient all 1:2.3.1-2 [181 kB]
Get:40 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 python3-simplejson amd64 3.8.1-1ubuntu2 [48.6 kB]
Get:41 http://us.archive.ubuntu.com/ubuntu xenial/universe amd64 python3-cinderclient all 1:1.6.0-2 [106 kB]
Get:42 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 python3-unicodecsv all 0.14.1-1 [11.4 kB]
Get:43 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 python3-cliff all 1.15.0-2ubuntu2 [23.4 kB]
Get:44 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 python3-crypto amd64 2.6.1-6build1 [246 kB]
Get:45 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 python3-html5lib all 0.999-4 [79.3 kB]
Get:46 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 python3-json-pointer all 1.9-3 [7,262 B]
Get:47 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 python3-jsonpatch all 1.19-3 [12.4 kB]
Get:48 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 python3-jsonschema all 2.5.1-4 [30.3 kB]
Get:49 http://us.archive.ubuntu.com/ubuntu xenial/universe amd64 python3-requestsexceptions all 1.1.2-0ubuntu1 [3,656 B]
Get:50 http://us.archive.ubuntu.com/ubuntu xenial/universe amd64 python3-os-client-config all 1.16.0-0ubuntu1 [32.6 kB]
Get:51 http://us.archive.ubuntu.com/ubuntu xenial/universe amd64 python3-neutronclient all 1:4.1.1-2 [117 kB]
Get:52 http://us.archive.ubuntu.com/ubuntu xenial/universe amd64 python3-novaclient all 2:3.3.1-2 [169 kB]
Get:53 http://us.archive.ubuntu.com/ubuntu xenial/universe amd64 python3-warlock all 1.1.0-1 [5,168 B]
Get:54 http://us.archive.ubuntu.com/ubuntu xenial/universe amd64 python3-glanceclient all 1:2.0.0-2 [91.6 kB]
Get:55 http://us.archive.ubuntu.com/ubuntu xenial/universe amd64 python3-openstacksdk all 0.8.1-2 [130 kB]
Get:56 http://us.archive.ubuntu.com/ubuntu xenial/universe amd64 python3-openstackclient all 2.3.0-2 [156 kB]
Get:57 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 libwebp5 amd64 0.4.4-1 [165 kB]
Get:58 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 libwebpmux1 amd64 0.4.4-1 [14.2 kB]
Get:59 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 python3-pil amd64 3.1.2-0ubuntu1 [312 kB]
Get:60 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 python3-pygments all 2.1+dfsg-1 [520 kB]
Get:61 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 python3-secretstorage all 2.1.3-1 [12.6 kB]
Get:62 http://us.archive.ubuntu.com/ubuntu xenial/universe amd64 openstack all 1.0.6 [10.4 kB]
Fetched 8,023 kB in 0s (8,728 kB/s)
Extracting templates from packages: 100%
Preconfiguring packages ...
Selecting previously unselected package libjpeg-turbo8:amd64.
(Reading database ... 60084 files and directories currently installed.)
Preparing to unpack .../libjpeg-turbo8_1.4.2-0ubuntu3_amd64.deb ...
Unpacking libjpeg-turbo8:amd64 (1.4.2-0ubuntu3) ...
Selecting previously unselected package liblcms2-2:amd64.
Preparing to unpack .../liblcms2-2_2.6-3ubuntu2_amd64.deb ...
Unpacking liblcms2-2:amd64 (2.6-3ubuntu2) ...
Selecting previously unselected package python3-pyparsing.
Preparing to unpack .../python3-pyparsing_2.0.3+dfsg1-1_all.deb ...
Unpacking python3-pyparsing (2.0.3+dfsg1-1) ...
Selecting previously unselected package python3-cmd2.
Preparing to unpack .../python3-cmd2_0.6.8-1_all.deb ...
Unpacking python3-cmd2 (0.6.8-1) ...
Selecting previously unselected package python3-wrapt.
Preparing to unpack .../python3-wrapt_1.8.0-5build2_amd64.deb ...
Unpacking python3-wrapt (1.8.0-5build2) ...
Selecting previously unselected package libjbig0:amd64.
Preparing to unpack .../libjbig0_2.1-3.1_amd64.deb ...
Unpacking libjbig0:amd64 (2.1-3.1) ...
Selecting previously unselected package docutils-common.
Preparing to unpack .../docutils-common_0.12+dfsg-1_all.deb ...
Unpacking docutils-common (0.12+dfsg-1) ...
Selecting previously unselected package ieee-data.
Preparing to unpack .../ieee-data_20150531.1_all.deb ...
Unpacking ieee-data (20150531.1) ...
Selecting previously unselected package libjpeg8:amd64.
Preparing to unpack .../libjpeg8_8c-2ubuntu8_amd64.deb ...
Unpacking libjpeg8:amd64 (8c-2ubuntu8) ...
Selecting previously unselected package libpaper1:amd64.
Preparing to unpack .../libpaper1_1.1.24+nmu4ubuntu1_amd64.deb ...
Unpacking libpaper1:amd64 (1.1.24+nmu4ubuntu1) ...
Selecting previously unselected package libpaper-utils.
Preparing to unpack .../libpaper-utils_1.1.24+nmu4ubuntu1_amd64.deb ...
Unpacking libpaper-utils (1.1.24+nmu4ubuntu1) ...
Selecting previously unselected package libtiff5:amd64.
Preparing to unpack .../libtiff5_4.0.6-1_amd64.deb ...
Unpacking libtiff5:amd64 (4.0.6-1) ...
Selecting previously unselected package libxslt1.1:amd64.
Preparing to unpack .../libxslt1.1_1.1.28-2.1_amd64.deb ...
Unpacking libxslt1.1:amd64 (1.1.28-2.1) ...
Selecting previously unselected package python-babel-localedata.
Preparing to unpack .../python-babel-localedata_1.3+dfsg.1-6_all.deb ...
Unpacking python-babel-localedata (1.3+dfsg.1-6) ...
Selecting previously unselected package python3-appdirs.
Preparing to unpack .../python3-appdirs_1.4.0-2_all.deb ...
Unpacking python3-appdirs (1.4.0-2) ...
Selecting previously unselected package python3-tz.
Preparing to unpack .../python3-tz_2014.10~dfsg1-0ubuntu2_all.deb ...
Unpacking python3-tz (2014.10~dfsg1-0ubuntu2) ...
Selecting previously unselected package python3-babel.
Preparing to unpack .../python3-babel_1.3+dfsg.1-6_all.deb ...
Unpacking python3-babel (1.3+dfsg.1-6) ...
Selecting previously unselected package python3-bs4.
Preparing to unpack .../python3-bs4_4.4.1-1_all.deb ...
Unpacking python3-bs4 (4.4.1-1) ...
Selecting previously unselected package python3-pbr.
Preparing to unpack .../python3-pbr_1.8.0-4ubuntu1_all.deb ...
Unpacking python3-pbr (1.8.0-4ubuntu1) ...
Selecting previously unselected package python3-debtcollector.
Preparing to unpack .../python3-debtcollector_1.3.0-2_all.deb ...
Unpacking python3-debtcollector (1.3.0-2) ...
Selecting previously unselected package python3-iso8601.
Preparing to unpack .../python3-iso8601_0.1.11-1_all.deb ...
Unpacking python3-iso8601 (0.1.11-1) ...
Selecting previously unselected package python3-keyring.
Preparing to unpack .../python3-keyring_7.3-1ubuntu1_all.deb ...
Unpacking python3-keyring (7.3-1ubuntu1) ...
Selecting previously unselected package python3-lxml.
Preparing to unpack .../python3-lxml_3.5.0-1build1_amd64.deb ...
Unpacking python3-lxml (3.5.0-1build1) ...
Selecting previously unselected package python3-positional.
Preparing to unpack .../python3-positional_1.0.1-2_all.deb ...
Unpacking python3-positional (1.0.1-2) ...
Selecting previously unselected package python3-stevedore.
Preparing to unpack .../python3-stevedore_1.12.0-1_all.deb ...
Unpacking python3-stevedore (1.12.0-1) ...
Selecting previously unselected package python3-keystoneauth1.
Preparing to unpack .../python3-keystoneauth1_2.4.0-1ubuntu2_all.deb ...
Unpacking python3-keystoneauth1 (2.4.0-1ubuntu2) ...
Selecting previously unselected package python3-roman.
Preparing to unpack .../python3-roman_2.0.0-2_all.deb ...
Unpacking python3-roman (2.0.0-2) ...
Selecting previously unselected package python3-docutils.
Preparing to unpack .../python3-docutils_0.12+dfsg-1_all.deb ...
Unpacking python3-docutils (0.12+dfsg-1) ...
Selecting previously unselected package python3-netaddr.
Preparing to unpack .../python3-netaddr_0.7.18-1_all.deb ...
Unpacking python3-netaddr (0.7.18-1) ...
Selecting previously unselected package python3-oslo.config.
Preparing to unpack .../python3-oslo.config_1%3a3.9.0-3_all.deb ...
Unpacking python3-oslo.config (1:3.9.0-3) ...
Selecting previously unselected package python3-oslo.i18n.
Preparing to unpack .../python3-oslo.i18n_3.5.0-2_all.deb ...
Unpacking python3-oslo.i18n (3.5.0-2) ...
Selecting previously unselected package python3-msgpack.
Preparing to unpack .../python3-msgpack_0.4.6-1build1_amd64.deb ...
Unpacking python3-msgpack (0.4.6-1build1) ...
Selecting previously unselected package python3-funcsigs.
Preparing to unpack .../python3-funcsigs_0.4-2_all.deb ...
Unpacking python3-funcsigs (0.4-2) ...
Selecting previously unselected package python3-monotonic.
Preparing to unpack .../python3-monotonic_0.6-2_all.deb ...
Unpacking python3-monotonic (0.6-2) ...
Selecting previously unselected package python3-netifaces.
Preparing to unpack .../python3-netifaces_0.10.4-0.1build2_amd64.deb ...
Unpacking python3-netifaces (0.10.4-0.1build2) ...
Selecting previously unselected package python3-oslo.utils.
Preparing to unpack .../python3-oslo.utils_3.8.0-2_all.deb ...
Unpacking python3-oslo.utils (3.8.0-2) ...
Selecting previously unselected package python3-oslo.serialization.
Preparing to unpack .../python3-oslo.serialization_2.4.0-2_all.deb ...
Unpacking python3-oslo.serialization (2.4.0-2) ...
Selecting previously unselected package python3-prettytable.
Preparing to unpack .../python3-prettytable_0.7.2-3_all.deb ...
Unpacking python3-prettytable (0.7.2-3) ...
Selecting previously unselected package python3-keystoneclient.
Preparing to unpack .../python3-keystoneclient_1%3a2.3.1-2_all.deb ...
Unpacking python3-keystoneclient (1:2.3.1-2) ...
Selecting previously unselected package python3-simplejson.
Preparing to unpack .../python3-simplejson_3.8.1-1ubuntu2_amd64.deb ...
Unpacking python3-simplejson (3.8.1-1ubuntu2) ...
Selecting previously unselected package python3-cinderclient.
Preparing to unpack .../python3-cinderclient_1%3a1.6.0-2_all.deb ...
Unpacking python3-cinderclient (1:1.6.0-2) ...
Selecting previously unselected package python3-unicodecsv.
Preparing to unpack .../python3-unicodecsv_0.14.1-1_all.deb ...
Unpacking python3-unicodecsv (0.14.1-1) ...
Selecting previously unselected package python3-cliff.
Preparing to unpack .../python3-cliff_1.15.0-2ubuntu2_all.deb ...
Unpacking python3-cliff (1.15.0-2ubuntu2) ...
Selecting previously unselected package python3-crypto.
Preparing to unpack .../python3-crypto_2.6.1-6build1_amd64.deb ...
Unpacking python3-crypto (2.6.1-6build1) ...
Selecting previously unselected package python3-html5lib.
Preparing to unpack .../python3-html5lib_0.999-4_all.deb ...
Unpacking python3-html5lib (0.999-4) ...
Selecting previously unselected package python3-json-pointer.
Preparing to unpack .../python3-json-pointer_1.9-3_all.deb ...
Unpacking python3-json-pointer (1.9-3) ...
Selecting previously unselected package python3-jsonpatch.
Preparing to unpack .../python3-jsonpatch_1.19-3_all.deb ...
Unpacking python3-jsonpatch (1.19-3) ...
Selecting previously unselected package python3-jsonschema.
Preparing to unpack .../python3-jsonschema_2.5.1-4_all.deb ...
Unpacking python3-jsonschema (2.5.1-4) ...
Selecting previously unselected package python3-requestsexceptions.
Preparing to unpack .../python3-requestsexceptions_1.1.2-0ubuntu1_all.deb ...
Unpacking python3-requestsexceptions (1.1.2-0ubuntu1) ...
Selecting previously unselected package python3-os-client-config.
Preparing to unpack .../python3-os-client-config_1.16.0-0ubuntu1_all.deb ...
Unpacking python3-os-client-config (1.16.0-0ubuntu1) ...
Selecting previously unselected package python3-neutronclient.
Preparing to unpack .../python3-neutronclient_1%3a4.1.1-2_all.deb ...
Unpacking python3-neutronclient (1:4.1.1-2) ...
Selecting previously unselected package python3-novaclient.
Preparing to unpack .../python3-novaclient_2%3a3.3.1-2_all.deb ...
Unpacking python3-novaclient (2:3.3.1-2) ...
Selecting previously unselected package python3-warlock.
Preparing to unpack .../python3-warlock_1.1.0-1_all.deb ...
Unpacking python3-warlock (1.1.0-1) ...
Selecting previously unselected package python3-glanceclient.
Preparing to unpack .../python3-glanceclient_1%3a2.0.0-2_all.deb ...
Unpacking python3-glanceclient (1:2.0.0-2) ...
Selecting previously unselected package python3-openstacksdk.
Preparing to unpack .../python3-openstacksdk_0.8.1-2_all.deb ...
Unpacking python3-openstacksdk (0.8.1-2) ...
Selecting previously unselected package python3-openstackclient.
Preparing to unpack .../python3-openstackclient_2.3.0-2_all.deb ...
Unpacking python3-openstackclient (2.3.0-2) ...
Selecting previously unselected package libwebp5:amd64.
Preparing to unpack .../libwebp5_0.4.4-1_amd64.deb ...
Unpacking libwebp5:amd64 (0.4.4-1) ...
Selecting previously unselected package libwebpmux1:amd64.
Preparing to unpack .../libwebpmux1_0.4.4-1_amd64.deb ...
Unpacking libwebpmux1:amd64 (0.4.4-1) ...
Selecting previously unselected package python3-pil:amd64.
Preparing to unpack .../python3-pil_3.1.2-0ubuntu1_amd64.deb ...
Unpacking python3-pil:amd64 (3.1.2-0ubuntu1) ...
Selecting previously unselected package python3-pygments.
Preparing to unpack .../python3-pygments_2.1+dfsg-1_all.deb ...
Unpacking python3-pygments (2.1+dfsg-1) ...
Selecting previously unselected package python3-secretstorage.
Preparing to unpack .../python3-secretstorage_2.1.3-1_all.deb ...
Unpacking python3-secretstorage (2.1.3-1) ...
Selecting previously unselected package openstack.
Preparing to unpack .../openstack_1.0.6_all.deb ...
Unpacking openstack (1.0.6) ...
Processing triggers for libc-bin (2.23-0ubuntu3) ...
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for shared-mime-info (1.5-2) ...
Processing triggers for sgml-base (1.26+nmu4ubuntu1) ...
Setting up libjpeg-turbo8:amd64 (1.4.2-0ubuntu3) ...
Setting up liblcms2-2:amd64 (2.6-3ubuntu2) ...
Setting up python3-pyparsing (2.0.3+dfsg1-1) ...
Setting up python3-cmd2 (0.6.8-1) ...
Setting up python3-wrapt (1.8.0-5build2) ...
Setting up libjbig0:amd64 (2.1-3.1) ...
Setting up docutils-common (0.12+dfsg-1) ...
Setting up ieee-data (20150531.1) ...
Setting up libjpeg8:amd64 (8c-2ubuntu8) ...
Setting up libpaper1:amd64 (1.1.24+nmu4ubuntu1) ...

Creating config file /etc/papersize with new version
Setting up libpaper-utils (1.1.24+nmu4ubuntu1) ...
Setting up libtiff5:amd64 (4.0.6-1) ...
Setting up libxslt1.1:amd64 (1.1.28-2.1) ...
Setting up python-babel-localedata (1.3+dfsg.1-6) ...
Setting up python3-appdirs (1.4.0-2) ...
Setting up python3-tz (2014.10~dfsg1-0ubuntu2) ...
Setting up python3-babel (1.3+dfsg.1-6) ...
update-alternatives: using /usr/bin/pybabel-python3 to provide /usr/bin/pybabel (pybabel) in auto mode
Setting up python3-bs4 (4.4.1-1) ...
Setting up python3-pbr (1.8.0-4ubuntu1) ...
update-alternatives: using /usr/bin/python3-pbr to provide /usr/bin/pbr (pbr) in auto mode
Setting up python3-debtcollector (1.3.0-2) ...
Setting up python3-iso8601 (0.1.11-1) ...
Setting up python3-keyring (7.3-1ubuntu1) ...
Setting up python3-lxml (3.5.0-1build1) ...
Setting up python3-positional (1.0.1-2) ...
Setting up python3-stevedore (1.12.0-1) ...
Setting up python3-keystoneauth1 (2.4.0-1ubuntu2) ...
Setting up python3-roman (2.0.0-2) ...
Setting up python3-netaddr (0.7.18-1) ...
Setting up python3-oslo.i18n (3.5.0-2) ...
Setting up python3-msgpack (0.4.6-1build1) ...
Setting up python3-funcsigs (0.4-2) ...
Setting up python3-monotonic (0.6-2) ...
Setting up python3-netifaces (0.10.4-0.1build2) ...
Setting up python3-oslo.utils (3.8.0-2) ...
Setting up python3-oslo.serialization (2.4.0-2) ...
Setting up python3-prettytable (0.7.2-3) ...
Setting up python3-simplejson (3.8.1-1ubuntu2) ...
Setting up python3-unicodecsv (0.14.1-1) ...
Setting up python3-cliff (1.15.0-2ubuntu2) ...
Setting up python3-crypto (2.6.1-6build1) ...
Setting up python3-html5lib (0.999-4) ...
Setting up python3-json-pointer (1.9-3) ...
update-alternatives: using /usr/bin/python3-jsonpointer to provide /usr/bin/jsonpointer (jsonpointer) in auto mode
Setting up python3-jsonpatch (1.19-3) ...
update-alternatives: using /usr/bin/python3-jsondiff to provide /usr/bin/jsondiff (jsondiff) in auto mode
update-alternatives: using /usr/bin/python3-jsonpatch to provide /usr/bin/jsonpatch (jsonpatch) in auto mode
Setting up python3-jsonschema (2.5.1-4) ...
update-alternatives: using /usr/bin/python3-jsonschema to provide /usr/bin/jsonschema (jsonschema) in auto mode
Setting up python3-requestsexceptions (1.1.2-0ubuntu1) ...
Setting up python3-os-client-config (1.16.0-0ubuntu1) ...
Setting up python3-neutronclient (1:4.1.1-2) ...
update-alternatives: using /usr/bin/python3-neutron to provide /usr/bin/neutron (neutron) in auto mode
Setting up python3-novaclient (2:3.3.1-2) ...
update-alternatives: using /usr/bin/python3-nova to provide /usr/bin/nova (nova) in auto mode
Setting up python3-warlock (1.1.0-1) ...
Setting up python3-openstacksdk (0.8.1-2) ...
Setting up libwebp5:amd64 (0.4.4-1) ...
Setting up libwebpmux1:amd64 (0.4.4-1) ...
Setting up python3-pil:amd64 (3.1.2-0ubuntu1) ...
Setting up python3-pygments (2.1+dfsg-1) ...
Setting up python3-secretstorage (2.1.3-1) ...
Processing triggers for sgml-base (1.26+nmu4ubuntu1) ...
Setting up python3-docutils (0.12+dfsg-1) ...
update-alternatives: using /usr/share/docutils/scripts/python3/rst-buildhtml to provide /usr/bin/rst-buildhtml (rst-buildhtml) in auto mode
update-alternatives: using /usr/share/docutils/scripts/python3/rst2html to provide /usr/bin/rst2html (rst2html) in auto mode
update-alternatives: using /usr/share/docutils/scripts/python3/rst2latex to provide /usr/bin/rst2latex (rst2latex) in auto mode
update-alternatives: using /usr/share/docutils/scripts/python3/rst2man to provide /usr/bin/rst2man (rst2man) in auto mode
update-alternatives: using /usr/share/docutils/scripts/python3/rst2odt to provide /usr/bin/rst2odt (rst2odt) in auto mode
update-alternatives: using /usr/share/docutils/scripts/python3/rst2odt_prepstyles to provide /usr/bin/rst2odt_prepstyles (rst2odt_prepstyles) in auto mode
update-alternatives: using /usr/share/docutils/scripts/python3/rst2pseudoxml to provide /usr/bin/rst2pseudoxml (rst2pseudoxml) in auto mode
update-alternatives: using /usr/share/docutils/scripts/python3/rst2s5 to provide /usr/bin/rst2s5 (rst2s5) in auto mode
update-alternatives: using /usr/share/docutils/scripts/python3/rst2xetex to provide /usr/bin/rst2xetex (rst2xetex) in auto mode
update-alternatives: using /usr/share/docutils/scripts/python3/rst2xml to provide /usr/bin/rst2xml (rst2xml) in auto mode
update-alternatives: using /usr/share/docutils/scripts/python3/rstpep2html to provide /usr/bin/rstpep2html (rstpep2html) in auto mode
Setting up python3-oslo.config (1:3.9.0-3) ...
update-alternatives: using /usr/bin/python3-oslo-config-generator to provide /usr/bin/oslo-config-generator (oslo-config-generator) in auto mode
Setting up python3-keystoneclient (1:2.3.1-2) ...
update-alternatives: using /usr/bin/python3-keystone to provide /usr/bin/keystone (keystone) in auto mode
Setting up python3-cinderclient (1:1.6.0-2) ...
update-alternatives: using /usr/bin/python3-cinder to provide /usr/bin/cinder (cinder) in auto mode
Setting up python3-glanceclient (1:2.0.0-2) ...
update-alternatives: using /usr/bin/python3-glance to provide /usr/bin/glance (glance) in auto mode
Setting up python3-openstackclient (2.3.0-2) ...
update-alternatives: using /usr/bin/python3-openstack to provide /usr/bin/openstack (openstack) in auto mode
Setting up openstack (1.0.6) ...
Processing triggers for libc-bin (2.23-0ubuntu3) ...
Exception in ev.run():
Traceback (most recent call last):
  File "/usr/share/conjure-up/ubuntui/ev.py", line 83, in run
    cls.loop.run()
  File "/usr/lib/python3/dist-packages/urwid/main_loop.py", line 278, in run
    self._run()
  File "/usr/lib/python3/dist-packages/urwid/main_loop.py", line 376, in _run
    self.event_loop.run()
  File "/usr/lib/python3/dist-packages/urwid/main_loop.py", line 1326, in run
    self._loop.run_forever()
  File "/usr/lib/python3.5/asyncio/base_events.py", line 331, in run_forever
    self._run_once()
  File "/usr/lib/python3.5/asyncio/base_events.py", line 1298, in _run_once
    handle._run()
  File "/usr/lib/python3.5/asyncio/events.py", line 125, in _run
    self._callback(*self._args)
  File "/usr/lib/python3/dist-packages/urwid/raw_display.py", line 393, in <lambda>
    event_loop, callback, self.get_available_raw_input())
  File "/usr/lib/python3/dist-packages/urwid/raw_display.py", line 493, in parse_input
    callback(processed, processed_codes)
  File "/usr/lib/python3/dist-packages/urwid/main_loop.py", line 403, in _update
    self.process_input(keys)
  File "/usr/lib/python3/dist-packages/urwid/main_loop.py", line 503, in process_input
    k = self._topmost_widget.keypress(self.screen_size, k)
  File "/usr/lib/python3/dist-packages/urwid/wimp.py", line 643, in keypress
    return self._current_widget.keypress(size, key)
  File "/usr/lib/python3/dist-packages/urwid/container.py", line 1128, in keypress
    return self.body.keypress( (maxcol, remaining), key )
  File "/usr/lib/python3/dist-packages/urwid/decoration.py", line 836, in keypress
    return self._original_widget.keypress((maxcol,), key)
  File "/usr/lib/python3/dist-packages/urwid/container.py", line 1587, in keypress
    key = self.focus.keypress(tsize, key)
  File "/usr/lib/python3/dist-packages/urwid/decoration.py", line 621, in keypress
    return self._original_widget.keypress(maxvals, key)
  File "/usr/lib/python3/dist-packages/urwid/container.py", line 1587, in keypress
    key = self.focus.keypress(tsize, key)
  File "/usr/lib/python3/dist-packages/urwid/wimp.py", line 535, in keypress
    self._emit('click')
  File "/usr/lib/python3/dist-packages/urwid/widget.py", line 463, in _emit
    signals.emit_signal(self, name, self, *args)
  File "/usr/lib/python3/dist-packages/urwid/signals.py", line 264, in emit
    result |= self._call_callback(callback, user_arg, user_args, args)
  File "/usr/lib/python3/dist-packages/urwid/signals.py", line 294, in _call_callback
    return bool(callback(*args_to_pass))
  File "/usr/share/conjure-up/ubuntui/views/error.py", line 41, in cancel
    raise SystemExit("Install exited because of error.")
SystemExit: Install exited because of error.
Install exited because of error.
ubuntu@ubuntu102:~$

openstack1

Stack Trace on conjure-up bigdata

I did the following:

apt install conjure-up #per instructions
conjure-up bigdata
In the menu

  • choose Apache Flume/Spark/Zeppelin
  • choose local host

get:

arosales@x230:~$ conjure-up bigdata
Exception in ev.run():
Traceback (most recent call last):
  File "/usr/share/conjure-up/ubuntui/ev.py", line 83, in run
    cls.loop.run()
  File "/usr/lib/python3/dist-packages/urwid/main_loop.py", line 278, in run
    self._run()
  File "/usr/lib/python3/dist-packages/urwid/main_loop.py", line 376, in _run
    self.event_loop.run()
  File "/usr/lib/python3/dist-packages/urwid/main_loop.py", line 1328, in run
    raise self._exc_info[0](self._exc_info[1]).with_traceback(self._exc_info[2])
  File "/usr/lib/python3.5/asyncio/events.py", line 125, in _run
    self._callback(*self._args)
  File "/usr/lib/python3/dist-packages/urwid/raw_display.py", line 393, in <lambda>
    event_loop, callback, self.get_available_raw_input())
  File "/usr/lib/python3/dist-packages/urwid/raw_display.py", line 493, in parse_input
    callback(processed, processed_codes)
  File "/usr/lib/python3/dist-packages/urwid/main_loop.py", line 403, in _update
    self.process_input(keys)
  File "/usr/lib/python3/dist-packages/urwid/main_loop.py", line 503, in process_input
    k = self._topmost_widget.keypress(self.screen_size, k)
  File "/usr/lib/python3/dist-packages/urwid/wimp.py", line 643, in keypress
    return self._current_widget.keypress(size, key)
  File "/usr/lib/python3/dist-packages/urwid/container.py", line 1128, in keypress
    return self.body.keypress( (maxcol, remaining), key )
  File "/usr/share/conjure-up/conjure/ui/views/cloud.py", line 21, in keypress
    return super().keypress(size, key)
  File "/usr/lib/python3/dist-packages/urwid/decoration.py", line 836, in keypress
    return self._original_widget.keypress((maxcol,), key)
  File "/usr/lib/python3/dist-packages/urwid/container.py", line 1587, in keypress
    key = self.focus.keypress(tsize, key)
  File "/usr/lib/python3/dist-packages/urwid/decoration.py", line 621, in keypress
    return self._original_widget.keypress(maxvals, key)
  File "/usr/lib/python3/dist-packages/urwid/wimp.py", line 535, in keypress
    self._emit('click')
  File "/usr/lib/python3/dist-packages/urwid/widget.py", line 463, in _emit
    signals.emit_signal(self, name, self, *args)
  File "/usr/lib/python3/dist-packages/urwid/signals.py", line 264, in emit
    result |= self._call_callback(callback, user_arg, user_args, args)
  File "/usr/lib/python3/dist-packages/urwid/signals.py", line 294, in _call_callback
    return bool(callback(*args_to_pass))
  File "/usr/share/conjure-up/conjure/ui/views/cloud.py", line 72, in submit
    self.cb(result.label, create_cloud=True)
  File "/usr/share/conjure-up/conjure/controllers/cloud.py", line 39, in finish
    return self.app.controllers['newcloud'].render(cloud)
  File "/usr/share/conjure-up/conjure/controllers/newcloud.py", line 118, in render
    creds,
UnboundLocalError: local variable 'creds' referenced before assignment
Traceback (most recent call last):
  File "/usr/bin/conjure-up", line 9, in <module>
    load_entry_point('conjure-up==0.1.0', 'console_scripts', 'conjure-up')()
  File "/usr/share/conjure-up/conjure/app.py", line 222, in main
    app.start()
  File "/usr/share/conjure-up/conjure/app.py", line 171, in start
    EventLoop.run()
  File "/usr/share/conjure-up/ubuntui/ev.py", line 83, in run
    cls.loop.run()
  File "/usr/lib/python3/dist-packages/urwid/main_loop.py", line 278, in run
    self._run()
  File "/usr/lib/python3/dist-packages/urwid/main_loop.py", line 376, in _run
    self.event_loop.run()
  File "/usr/lib/python3/dist-packages/urwid/main_loop.py", line 1328, in run
    raise self._exc_info[0](self._exc_info[1]).with_traceback(self._exc_info[2])
  File "/usr/lib/python3.5/asyncio/events.py", line 125, in _run
    self._callback(*self._args)
  File "/usr/lib/python3/dist-packages/urwid/raw_display.py", line 393, in <lambda>
    event_loop, callback, self.get_available_raw_input())
  File "/usr/lib/python3/dist-packages/urwid/raw_display.py", line 493, in parse_input
    callback(processed, processed_codes)
  File "/usr/lib/python3/dist-packages/urwid/main_loop.py", line 403, in _update
    self.process_input(keys)
  File "/usr/lib/python3/dist-packages/urwid/main_loop.py", line 503, in process_input
    k = self._topmost_widget.keypress(self.screen_size, k)
  File "/usr/lib/python3/dist-packages/urwid/wimp.py", line 643, in keypress
    return self._current_widget.keypress(size, key)
  File "/usr/lib/python3/dist-packages/urwid/container.py", line 1128, in keypress
    return self.body.keypress( (maxcol, remaining), key )
  File "/usr/share/conjure-up/conjure/ui/views/cloud.py", line 21, in keypress
    return super().keypress(size, key)
  File "/usr/lib/python3/dist-packages/urwid/decoration.py", line 836, in keypress
    return self._original_widget.keypress((maxcol,), key)
  File "/usr/lib/python3/dist-packages/urwid/container.py", line 1587, in keypress
    key = self.focus.keypress(tsize, key)
  File "/usr/lib/python3/dist-packages/urwid/decoration.py", line 621, in keypress
    return self._original_widget.keypress(maxvals, key)
  File "/usr/lib/python3/dist-packages/urwid/wimp.py", line 535, in keypress
    self._emit('click')
  File "/usr/lib/python3/dist-packages/urwid/widget.py", line 463, in _emit
    signals.emit_signal(self, name, self, *args)
  File "/usr/lib/python3/dist-packages/urwid/signals.py", line 264, in emit
    result |= self._call_callback(callback, user_arg, user_args, args)
  File "/usr/lib/python3/dist-packages/urwid/signals.py", line 294, in _call_callback
    return bool(callback(*args_to_pass))
  File "/usr/share/conjure-up/conjure/ui/views/cloud.py", line 72, in submit
    self.cb(result.label, create_cloud=True)
  File "/usr/share/conjure-up/conjure/controllers/cloud.py", line 39, in finish
    return self.app.controllers['newcloud'].render(cloud)
  File "/usr/share/conjure-up/conjure/controllers/newcloud.py", line 118, in render
    creds,
UnboundLocalError: local variable 'creds' referenced before assignment
arosales@x230:~$ conjure-up --version
conjure-up 0.1.0
arosales@x230:~$ uname -a
Linux x230 4.4.0-22-generic #40-Ubuntu SMP Thu May 12 22:03:46 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
arosales@x230:~$ cat /etc/lsb-release 
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=16.04
DISTRIB_CODENAME=xenial
DISTRIB_DESCRIPTION="Ubuntu 16.04 LTS"
arosales@x230:~$ 

ui tweaks

  • make continue button use action, for instance: say 'add credential'
  • spell description might be more visible lower in the screen
  • "Clouds" list header should say 'choose a public cloud'
  • move 'clouds' list up to top like list in variants
  • make 'cancel' buttons either 'back' or 'quit'
  • expand header to have a gray line above to make orange more visible
  • search and replace 'service' with 'application'

ERROR loading credentials: credentials.maas.ryker.maas-oauth: expected string, got nothing

Xenial 16.04
Regardless of install method I get the same error.

➜ / conjure-up openstack -d
Exception in ev.run():
Traceback (most recent call last):
File "/usr/share/conjure-up/ubuntui/ev.py", line 83, in run
cls.loop.run()
File "/usr/lib/python3/dist-packages/urwid/main_loop.py", line 278, in run
self._run()
File "/usr/lib/python3/dist-packages/urwid/main_loop.py", line 376, in _run
self.event_loop.run()
File "/usr/lib/python3/dist-packages/urwid/main_loop.py", line 1326, in run
self._loop.run_forever()
File "/usr/lib/python3.5/asyncio/base_events.py", line 331, in run_forever
self._run_once()
File "/usr/lib/python3.5/asyncio/base_events.py", line 1298, in _run_once
handle._run()
File "/usr/lib/python3.5/asyncio/events.py", line 125, in _run
self._callback(_self._args)
File "/usr/lib/python3/dist-packages/urwid/raw_display.py", line 393, in
event_loop, callback, self.get_available_raw_input())
File "/usr/lib/python3/dist-packages/urwid/raw_display.py", line 493, in parse_input
callback(processed, processed_codes)
File "/usr/lib/python3/dist-packages/urwid/main_loop.py", line 403, in _update
self.process_input(keys)
File "/usr/lib/python3/dist-packages/urwid/main_loop.py", line 503, in process_input
k = self._topmost_widget.keypress(self.screen_size, k)
File "/usr/lib/python3/dist-packages/urwid/wimp.py", line 643, in keypress
return self._current_widget.keypress(size, key)
File "/usr/lib/python3/dist-packages/urwid/container.py", line 1128, in keypress
return self.body.keypress( (maxcol, remaining), key )
File "/usr/lib/python3/dist-packages/urwid/decoration.py", line 836, in keypress
return self._original_widget.keypress((maxcol,), key)
File "/usr/lib/python3/dist-packages/urwid/container.py", line 1587, in keypress
key = self.focus.keypress(tsize, key)
File "/usr/lib/python3/dist-packages/urwid/decoration.py", line 621, in keypress
return self._original_widget.keypress(maxvals, key)
File "/usr/lib/python3/dist-packages/urwid/container.py", line 1587, in keypress
key = self.focus.keypress(tsize, key)
File "/usr/lib/python3/dist-packages/urwid/wimp.py", line 535, in keypress
self._emit('click')
File "/usr/lib/python3/dist-packages/urwid/widget.py", line 463, in _emit
signals.emit_signal(self, name, self, *args)
File "/usr/lib/python3/dist-packages/urwid/signals.py", line 264, in emit
result |= self._call_callback(callback, user_arg, user_args, args)
File "/usr/lib/python3/dist-packages/urwid/signals.py", line 294, in _call_callback
return bool(callback(_args_to_pass))
File "/usr/share/conjure-up/ubuntui/views/error.py", line 41, in cancel
raise SystemExit("Install exited because of error.")
SystemExit: Install exited because of error.
Install exited because of error.

crash when choosing 'lxd' cloud

It's not in the Schema in providers.py

looking at newcloud/gui.py, It looks like I should've picked 'localhost' ?

do we need to filter out 'lxd' somehow, or does it need to get added?

need friendlier error messages when using -s on a non-bootstrapped or non-deployed system

I accidentally ran with -s when I had a controller with no models.
I meant to run without -s, but we should still have a better error message when we bail in this case.

here's my current model setup because I killed the 'default' one:

juju list-models --format=yaml
models:
- name: controller
  model-uuid: 55cf69e6-460b-445e-8949-85ea8e441925
  controller-uuid: 55cf69e6-460b-445e-8949-85ea8e441925
  owner: admin@local
  type: lxd
  life: alive
  status:
    current: available
    since: 38 minutes ago
  users:
    admin@local:
      display-name: admin
      access: write
      last-connection: 38 minutes ago

so then I get this:

(conjure-dev) mmccrack@blackbox:~/conjure-up⟫ conjure-up -d -s mikemccracken/bundle-observable-kubernetes
Exception in ev.run():
Traceback (most recent call last):
  File "/home/mmccrack/conjure-up/ubuntui/ev.py", line 83, in run
    cls.loop.run()
  File "/home/mmccrack/conjure-up/conjure-dev/lib/python3.5/site-packages/urwid/main_loop.py", line 278, in run
    self._run()
  File "/home/mmccrack/conjure-up/conjure-dev/lib/python3.5/site-packages/urwid/main_loop.py", line 376, in _run
    self.event_loop.run()
  File "/home/mmccrack/conjure-up/conjure-dev/lib/python3.5/site-packages/urwid/main_loop.py", line 1328, in run
    raise self._exc_info[0](self._exc_info[1]).with_traceback(self._exc_info[2])
  File "/usr/lib/python3.5/asyncio/events.py", line 125, in _run
    self._callback(*self._args)
  File "/home/mmccrack/conjure-up/conjure-dev/lib/python3.5/site-packages/urwid/main_loop.py", line 164, in cb
    callback(self, user_data)
  File "/home/mmccrack/conjure-up/conjure/app.py", line 55, in _start
    controllers.use('deploystatus').render()
  File "/home/mmccrack/conjure-up/conjure/controllers/deploystatus/gui.py", line 134, in render
    this.view = DeployStatusView(app)
  File "/home/mmccrack/conjure-up/conjure/ui/views/deploystatus.py", line 17, in __init__
    self.refresh_nodes()
  File "/home/mmccrack/conjure-up/conjure/ui/views/deploystatus.py", line 22, in refresh_nodes
    status = model_status()
  File "/home/mmccrack/conjure-up/conjure/juju.py", line 29, in _decorator
    login()
  File "/home/mmccrack/conjure-up/conjure/juju.py", line 74, in login
    raise Exception("Tried to login to a non bootstrapped environment.")
Exception: Tried to login to a non bootstrapped environment.
Traceback (most recent call last):
  File "/home/mmccrack/conjure-up/conjure-dev/bin/conjure-up", line 9, in <module>
    load_entry_point('conjure-up', 'console_scripts', 'conjure-up')()
  File "/home/mmccrack/conjure-up/conjure/app.py", line 214, in main
    EventLoop.run()
  File "/home/mmccrack/conjure-up/ubuntui/ev.py", line 83, in run
    cls.loop.run()
  File "/home/mmccrack/conjure-up/conjure-dev/lib/python3.5/site-packages/urwid/main_loop.py", line 278, in run
    self._run()
  File "/home/mmccrack/conjure-up/conjure-dev/lib/python3.5/site-packages/urwid/main_loop.py", line 376, in _run
    self.event_loop.run()
  File "/home/mmccrack/conjure-up/conjure-dev/lib/python3.5/site-packages/urwid/main_loop.py", line 1328, in run
    raise self._exc_info[0](self._exc_info[1]).with_traceback(self._exc_info[2])
  File "/usr/lib/python3.5/asyncio/events.py", line 125, in _run
    self._callback(*self._args)
  File "/home/mmccrack/conjure-up/conjure-dev/lib/python3.5/site-packages/urwid/main_loop.py", line 164, in cb
    callback(self, user_data)
  File "/home/mmccrack/conjure-up/conjure/app.py", line 55, in _start
    controllers.use('deploystatus').render()
  File "/home/mmccrack/conjure-up/conjure/controllers/deploystatus/gui.py", line 134, in render
    this.view = DeployStatusView(app)
  File "/home/mmccrack/conjure-up/conjure/ui/views/deploystatus.py", line 17, in __init__
    self.refresh_nodes()
  File "/home/mmccrack/conjure-up/conjure/ui/views/deploystatus.py", line 22, in refresh_nodes
    status = model_status()
  File "/home/mmccrack/conjure-up/conjure/juju.py", line 29, in _decorator
    login()
  File "/home/mmccrack/conjure-up/conjure/juju.py", line 74, in login
    raise Exception("Tried to login to a non bootstrapped environment.")
Exception: Tried to login to a non bootstrapped environment.

can not access horizon dashboard

Since @battlemidget decided to closed this issue #14

I can un-hijack the issue to access horizon dashboard here

VLAN 10.247.0.0/16

LXD network 10.247.10.0/24

host machine 10.247.0.101

horizon dashboard IP 10.247.10.228

I have ran the sshuttle command from my computer

sshuttle -r [email protected] 10.247.10.0/24
Warning: Permanently added '10.247.0.101' (ECDSA) to the list of known hosts.
[email protected]'s password:
client: Connected.

and after tried to ping the horizon host
and no luck still

ping 10.247.10.228
PING 10.247.10.228 (10.247.10.228): 56 data bytes
Request timeout for icmp_seq 0
Request timeout for icmp_seq 1
Request timeout for icmp_seq 2
Request timeout for icmp_seq 3
Request timeout for icmp_seq 4
Request timeout for icmp_seq 5
Request timeout for icmp_seq 6
Request timeout for icmp_seq 7
Request timeout for icmp_seq 8
Request timeout for icmp_seq 9
^C
--- 10.247.10.228 ping statistics ---
11 packets transmitted, 0 packets received, 100.0% packet loss

and then tried to access horizon dashboard again and still no luck

screen shot 2016-05-09 at 10 13 39 am

traceback when getting spell from charm store

conjure-up cs:~conjure/openstack-novalxd
Traceback (most recent call last):
  File "/home/mmccrack/conjure-up/conjure-dev/bin/conjure-up", line 9, in <module>
    load_entry_point('conjure-up', 'console_scripts', 'conjure-up')()
  File "/home/mmccrack/conjure-up/conjure/app.py", line 178, in main
    with open(metadata_path) as fp:
FileNotFoundError: [Errno 2] No such file or directory: '/home/mmccrack/.cache/conjure-up/openstack-novalxd/conjure/metadata.json'

it looks like it's unzipping the conjure/ directory into the cache, but as per above, something else in conjure is expecting the whole bundle directory there, not just conjure/

(conjure-dev) 2 mmccrack@blackbox:~/conjure-up⟫ ll ~/.cache/conjure-up/openstack-novalxd/
~/.cache/conjure-up//openstack-novalxd/:
total 28
drwxrwxr-x 3 mmccrack mmccrack 4096 May 27 14:02 ./
drwxrwxr-x 3 mmccrack mmccrack 4096 May 27 13:52 ../
-rw-r--r-- 1 mmccrack mmccrack 4003 Nov 30  1979 bundle.yaml
-rw-r--r-- 1 mmccrack mmccrack 1103 Nov 30  1979 LICENSE
-rw-r--r-- 1 mmccrack mmccrack  118 Nov 30  1979 metadata.json
-rw-r--r-- 1 mmccrack mmccrack  138 Nov 30  1979 README.md
drwxr-xr-x 2 mmccrack mmccrack 4096 Nov 30  1979 steps/

bsdtar is required but not installed by install-dependencies

(conjure-dev) 1 mmccrack@blackbox:~/conjure-up⟫ conjure-up cs:~conjure/openstack-novalxd
/bin/sh: 1: bsdtar: not found
Traceback (most recent call last):
  File "/home/mmccrack/conjure-up/conjure/download.py", line 65, in download
    run(bsdtar_cmd, shell=True, check=True)
  File "/usr/lib/python3.5/subprocess.py", line 708, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command 'bsdtar -xf /tmp/tmp5mg78u5l/temp.zip -s'|[^/]*/||' -C /home/mmccrack/.cache/conjure-up/openstack-novalxd' returned non-zero exit status 127

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/mmccrack/conjure-up/conjure-dev/bin/conjure-up", line 9, in <module>
    load_entry_point('conjure-up', 'console_scripts', 'conjure-up')()
  File "/home/mmccrack/conjure-up/conjure/app.py", line 173, in main
    download(remote, spell_dir, purge_top_level)
  File "/home/mmccrack/conjure-up/conjure/download.py", line 67, in download
    raise Exception("Unable to download {}: {}".format(src, e))
Exception: Unable to download https://api.jujucharms.com/charmstore/v5/~conjure/openstack-novalxd/archive: Command 'bsdtar -xf /tmp/tmp5mg78u5l/temp.zip -s'|[^/]*/||' -C /home/mmccrack/.cache/conjure-up/openstack-novalxd' returned non-zero exit status 127

conjure-up still not working

I have reinstalled another Ubuntu 16.04 LTS and my MAAS server is MAAS Version 1.9.1+bzr4543-0ubuntu2 (trusty1)

After running conjure-up openstack
here is what i get

ubuntu@ubuntu102:~$ conjure-up openstack
Exception in ev.run():
Traceback (most recent call last):
  File "/usr/share/conjure-up/ubuntui/ev.py", line 83, in run
    cls.loop.run()
  File "/usr/lib/python3/dist-packages/urwid/main_loop.py", line 278, in run
    self._run()
  File "/usr/lib/python3/dist-packages/urwid/main_loop.py", line 376, in _run
    self.event_loop.run()
  File "/usr/lib/python3/dist-packages/urwid/main_loop.py", line 1326, in run
    self._loop.run_forever()
  File "/usr/lib/python3.5/asyncio/base_events.py", line 331, in run_forever
    self._run_once()
  File "/usr/lib/python3.5/asyncio/base_events.py", line 1298, in _run_once
    handle._run()
  File "/usr/lib/python3.5/asyncio/events.py", line 125, in _run
    self._callback(*self._args)
  File "/usr/lib/python3/dist-packages/urwid/raw_display.py", line 393, in <lambda>
    event_loop, callback, self.get_available_raw_input())
  File "/usr/lib/python3/dist-packages/urwid/raw_display.py", line 493, in parse_input
    callback(processed, processed_codes)
  File "/usr/lib/python3/dist-packages/urwid/main_loop.py", line 403, in _update
    self.process_input(keys)
  File "/usr/lib/python3/dist-packages/urwid/main_loop.py", line 503, in process_input
    k = self._topmost_widget.keypress(self.screen_size, k)
  File "/usr/lib/python3/dist-packages/urwid/wimp.py", line 643, in keypress
    return self._current_widget.keypress(size, key)
  File "/usr/lib/python3/dist-packages/urwid/container.py", line 1128, in keypress
    return self.body.keypress( (maxcol, remaining), key )
  File "/usr/lib/python3/dist-packages/urwid/decoration.py", line 836, in keypress
    return self._original_widget.keypress((maxcol,), key)
  File "/usr/lib/python3/dist-packages/urwid/container.py", line 1587, in keypress
    key = self.focus.keypress(tsize, key)
  File "/usr/lib/python3/dist-packages/urwid/decoration.py", line 621, in keypress
    return self._original_widget.keypress(maxvals, key)
  File "/usr/lib/python3/dist-packages/urwid/container.py", line 1587, in keypress
    key = self.focus.keypress(tsize, key)
  File "/usr/lib/python3/dist-packages/urwid/wimp.py", line 535, in keypress
    self._emit('click')
  File "/usr/lib/python3/dist-packages/urwid/widget.py", line 463, in _emit
    signals.emit_signal(self, name, self, *args)
  File "/usr/lib/python3/dist-packages/urwid/signals.py", line 264, in emit
    result |= self._call_callback(callback, user_arg, user_args, args)
  File "/usr/lib/python3/dist-packages/urwid/signals.py", line 294, in _call_callback
    return bool(callback(*args_to_pass))
  File "/usr/share/conjure-up/ubuntui/views/error.py", line 41, in cancel
    raise SystemExit("Install exited because of error.")
SystemExit: Install exited because of error.
Install exited because of error.
ubuntu@ubuntu102:~$ juju list-controllers
CONTROLLER  MODEL  USER  SERVER

ubuntu@ubuntu102:~$

while the command conjure-up openstack is running, took screenshot of top processes

screen shot 2016-05-07 at 3 33 58 am

when the error occurred, took another screenshot of top processes

screen shot 2016-05-07 at 3 37 04 am

and the screenshot of the error message

screen shot 2016-05-07 at 3 37 54 am

add --verify for running tests after a deployment/post process complete

Would be nice to allow someone to do a full end to end deployment/post process/testing with their big software.

Thinking along the lines of

conjure-up openstack --verify

This will deploy openstack, do all necessary configuration via post processing (steps) scripts, and run whatever is in the tests directory for validating the deployment.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.