Sahara Disk Image create Invocation Error

Bug #1734721 reported by Jai
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Sahara
Invalid
Undecided
Unassigned

Bug Description

Configuration: Openstack Pike using devStack on Ubuntu16.04 VM

Plugins enabled during installation:
Sahara, Heat, Trove, Sahara Dashboard, Trove Dashboard

The install was successful and was able to access horizon.

Now, trying to build images for Sahara by following these steps:
Clone repository “https://github.com/openstack/sahara-image-elements” locally.
Use tox to build images.
When I run the command in the folder /sahara-image-elements
stack@devstack:~/sahara-image-elements$ tox -e venv -- sahara-image-create -u

Getting the following error

dib-run-parts Thu Nov 23 16:29:59 EST 2017 0-check-hadoop completed
dib-run-parts Thu Nov 23 16:29:59 EST 2017 Running /tmp/dib_build.6egsQeuH/hooks/root.d/0-check-hive
dib-run-parts Thu Nov 23 16:29:59 EST 2017 0-check-hive completed
dib-run-parts Thu Nov 23 16:29:59 EST 2017 Running /tmp/dib_build.6egsQeuH/hooks/root.d/0-check-oozie
dib-run-parts Thu Nov 23 16:29:59 EST 2017 0-check-oozie completed
dib-run-parts Thu Nov 23 16:29:59 EST 2017 Running /tmp/dib_build.6egsQeuH/hooks/root.d/0-check-spark
/tmp/dib_build.6egsQeuH/hooks/root.d/0-check-spark: line 23: DIB_SPARK_VERSION: unbound variable
2017-11-23 16:29:59.868 INFO diskimage_builder.block_device.blockdevice [-] State already cleaned - no way to do anything here
ERROR: InvocationError: '/opt/stack/sahara-image-elements/.tox/venv/bin/sahara-image-create'
_______________________________________________________________________________________________________ summary ________________________________________________________________________________________________________
ERROR: venv: commands failed
Any help appreciated....

Jai (jaiparimi)
affects: openstack-community → sahara
Revision history for this message
Luigi Toscano (ltoscano) wrote :

Which image are you trying to build? With that command line the command should try to build all images for all distributions, which I'm not sure that we support properly. Can you please try to restrict the set of built images?

Revision history for this message
Jai (jaiparimi) wrote :

restricted to vanilla 2.7.1 and ubuntu, it worked. Thanks.

Changed in sahara:
status: New → Invalid
Luigi Toscano (ltoscano)
tags: added: dib
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.