deploy.py fails to build

Bug #1376904 reported by Max Brustkern
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Ubuntu CI Engine
New
Undecided
Unassigned

Bug Description

I'm trying to do a deployment of nfss, and I start with:
./deploy.py nf-stats-service.yaml.tmpl --working-dir ../tmp/ --build
in the juju-deployer directory, but I get:
Private PPAs: disabled
Preparing local branch upload...
Reusing local branch, fingerprint 5439fd39d0cfcd0db895852a57fe0238647183cd
Building charm: system-image-server
make: Nothing to be done for 'all'.
Building charm: key-secret-subordinate
make: Nothing to be done for 'all'.
Building charm: chroot-builder
make: Nothing to be done for 'all'.
Building charm: wsgi-app
make: Nothing to be done for 'all'.
Building charm: lander
make: Nothing to be done for 'all'.
Building charm: webui
uploading webui-content.tgz to swift
ERROR:root:Collect static files requires access to the "webui" module. Please run this script inside the project venv.
Makefile:17: recipe for target 'upload-content' failed
make: *** [upload-content] Error 1
Traceback (most recent call last):
  File "./juju-deployer/deploy.py", line 997, in <module>
    sys.exit(main())
  File "./juju-deployer/deploy.py", line 975, in main
    build_charms(working_dir)
  File "./juju-deployer/deploy.py", line 640, in build_charms
    subprocess.check_call(['make'], cwd=charm_path, env=os.environ)
  File "/usr/lib/python2.7/subprocess.py", line 540, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['make']' returned non-zero exit status 2

I tried doing
. .venv/bin/activate
first, but that doesn't seem to help.

Revision history for this message
Allan LeSage (allanlesage) wrote :

I was able to get around this by creating a fresh virtualenv, however I don't think that a virtualenv should be a requirement?

Revision history for this message
Max Brustkern (nuclearbob) wrote :

In particular, this failure seems to be related to webui, which is not used by nfss.

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.