With juju-core 1.17+, the wrong version of django gets installed

Bug #1283595 reported by Chris Johnston
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu CI Engine
Fix Released
Critical
Evan
Ubuntu CI Services
Fix Released
Critical
Evan

Bug Description

When using 1.17+ you get python-django installed at 1.3.1 (the precise version).. When using juju-core 1.16.x you get the proper 1.5.x version of python-django. This causes us problems... The reasoning is explained below by hazmat..

2014-02-22 18:54:58 The following units had errors:
   unit: ts-django/0: machine: 12 agent-state: error details: hook failed: "pgsql-relation-changed"
unit: ppa-django/0: machine: 7 agent-state: error details: hook failed: "pgsql-relation-changed"
2014-02-22 18:54:58 Deployment stopped. run time: 579.01
Problem deploying "ci-airline-staging": Command '['juju-deployer', '-v', '-c', '/tmp/tmprRm4Lm/deployer/juju-gui.yaml', '-c', '/tmp/tmprRm4Lm/deployer/test-runner.yaml', '-c', '/tmp/tmprRm4Lm/deployer/ticket-system.yaml', '-c', '/tmp/tmprRm4Lm/deployer/production-only.yaml', '-c', '/tmp/tmprRm4Lm/deployer/ppa-assigner.yaml', '-c', '/tmp/tmprRm4Lm/deployer/relations.yaml', '-c', '/tmp/tmprRm4Lm/deployer/branch-source-builder.yaml', '-c', '/tmp/tmprRm4Lm/deployer/image-builder.yaml', '-c', '/tmp/tmprRm4Lm/deployer/lander.yaml', 'ci-airline-staging']' returned non-zero exit status 1

18:22:36 cjohnston | hazmat: question for you... I haven't investigated much with this yet... when using core 1.17+ to deploy our
                      | stuff, I have an issue... we deploy the python-django charm.. for some reason, django stays on 1.3.1 (the
                      | precise version) which causes an error when running the postgres changed hook. If I downgrade to core 1.16.6,
                      | python-django is the correct version and works.. have you seen/heard of anything like
18:22:36 cjohnston | that
18:23:24 cjohnston | when deployed with 1.17+ if I juju ssh into the instance, and do apt-cache policy python-django I do see
                      | 1.5.x available, but 1.3.1 is what's installed
18:24:35 hazmat | cjohnston, on precise.. juju need cloud archive tools pocket for mongodb.. on 1.16 it installed mongodb from
                      | cloud archive.. 1.17 it added cloud-archive but only installed mongodb explicitly from it.
18:24:58 hazmat | and cloud-archive... happens to hold openstack.. of which horizon/dashboard uses djanog
18:25:37 hazmat | ie. 1.17 tries to be explicit about just mongo from cloud archive.. 1.16 picked up django from there.

Tags: airline

Related branches

Changed in ubuntu-ci-services-itself:
status: New → Fix Committed
tags: added: airline
Changed in ubuntu-ci-services-itself:
status: Fix Committed → Fix Released
importance: Undecided → Critical
assignee: nobody → Evan Dandrea (ev)
milestone: none → phase-0
Ursula Junque (ursinha)
Changed in uci-engine:
status: New → Fix Released
importance: Undecided → Critical
assignee: nobody → Evan Dandrea (ev)
milestone: none → phase-0
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.