charm-tools installs juju-0.7

Bug #1182905 reported by Jono Bacon
30
This bug affects 4 people
Affects Status Importance Assigned to Milestone
charm-tools (Ubuntu)
Fix Released
Undecided
Unassigned
Precise
Won't Fix
Medium
Marco Ceppi

Bug Description

This is what happened to me:

 * Configured environments.yaml for AWS.
 * I bootstrapped Juju, deployed wordpress and mysql and related them. I exposed wordpress and hit it in the browser. It worked. Woo!
 * While doing this I decided to install charm-tools
 * Now when I use Juju it errors requiring me to configure additional parts of environments.yaml

Now, at first it only required me to configure a default-series for each provider, which is a no-brainer, but then it asked for maas-oauth config.

This completely stopped me in my tracks. I don't care about the other providers as I have already got my AWS provider configured and up and running, and it put Juju in a position where it stopped working for me due to the missing configuration.

ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: charm-tools 0.3+151-0ubuntu1
ProcVersionSignature: Ubuntu 3.9.0-2.6-generic 3.9.2
Uname: Linux 3.9.0-2-generic i686
ApportVersion: 2.10.1-0ubuntu1
Architecture: i386
Date: Wed May 22 06:49:59 2013
InstallationDate: Installed on 2013-05-05 (17 days ago)
InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Alpha i386 (20130504)
MarkForUpload: True
PackageArchitecture: all
SourcePackage: charm-tools
UpgradeStatus: No upgrade log present (probably fresh install)

[Impact]

 * Users who install juju-core, then install charm-tools will have their installations broken in precise
 * This fix decouples juju from charm-tools as a Recommended package to a Suggested package. This also makes juju-core package a satisfactory Suggestion in addition to juju

[Test Case]

 * On precise, install juju-core and juju-local using the preferred installation method, from cloud-tools pocket archive.
 * Run `juju init` to create environments.yaml
 * Switch to local environment, `juju switch local`
 * Verify version of juju installed, `juju version`
 * Bootstrap with `sudo juju bootstrap`
 * Deploy a charm, `juju deploy ubuntu`
 * Install charm-tools package from precise archives
 * Run `juju version`, command should fail.
 * Run `juju --version`, command should succeed with a verion < 1.0.0
 * Attempt to connect to environment with `juju status`, should fail

[Regression Potential]

 * This simply changes the the control file to lower priority of "Recommended" packages.

[Other Info]

 * This has been patched and updated in Saucy and Trusty as of version 1.0.0 of charm-tools. However, 1.0.0 breaks backwards compatibility with 0.3 packaging wise. charm-helper-sh and charm-helper-python are no longer supported and subsequently dropped from 1.0.0 version of charm-tools and it's packaging. Otherwise I likely would have requested a backport of 1.0.0 to precise.

Related branches

Revision history for this message
Jono Bacon (jonobacon) wrote :
Revision history for this message
Jono Bacon (jonobacon) wrote :

Note: was using Juju 0.7 when this happened.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in charm-tools (Ubuntu):
status: New → Confirmed
Marco Ceppi (marcoceppi)
Changed in charm-tools (Ubuntu):
status: Confirmed → Fix Committed
Revision history for this message
Marco Ceppi (marcoceppi) wrote :

This is due to the package Recommending juju instead of either juju or juju-core. I have an updated recipe and hope to have this fixed in the PPA soon.

summary: - charm-tools requires extra environments.yaml config
+ charm-tools installs juju-0.7
Revision history for this message
Marco Ceppi (marcoceppi) wrote :

This only affects users who have juju-core installed and not juju-0.7, those with either juju-0.7 or juju-0.7 and juju-core are unaffected.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package charm-tools - 0.3+151-0ubuntu2

---------------
charm-tools (0.3+151-0ubuntu2) saucy; urgency=low

  * Build-Depend on pep8
  * charm-tools recommend juju-core OR juju (LP: #1182905)
  * charm-tools-sh suggest juju-core OR juju
 -- Marco Ceppi <email address hidden> Mon, 27 May 2013 12:50:13 +0200

Changed in charm-tools (Ubuntu):
status: Fix Committed → Fix Released
Jonathan Davies (jpds)
Changed in charm-tools (Ubuntu Precise):
status: New → Triaged
importance: Undecided → Critical
importance: Critical → Medium
Chris J Arges (arges)
tags: added: cts-cloud-review
Marco Ceppi (marcoceppi)
Changed in charm-tools (Ubuntu Precise):
status: Triaged → Fix Committed
assignee: nobody → Marco Ceppi (marcoceppi)
Marco Ceppi (marcoceppi)
description: updated
Revision history for this message
Robie Basak (racb) wrote :

For Precise, I've spoken to Marco and we came up with a minimal diff, that just drops the Recommends to a Suggests. Uploaded.

Revision history for this message
Brian Murray (brian-murray) wrote : Please test proposed package

Hello Jono, or anyone else affected,

Accepted charm-tools into precise-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/charm-tools/0.3+121-0ubuntu1.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

tags: added: verification-needed
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote : [charm-tools/precise] verification still needed

The fix for this bug has been awaiting testing feedback in the -proposed repository for precise for more than 90 days. Please test this fix and update the bug appropriately with the results. In the event that the fix for this bug is still not verified 15 days from now, the package will be removed from the -proposed repository.

tags: added: removal-candidate
Revision history for this message
Steve Langasek (vorlon) wrote : Proposed package removed from archive

The version of charm-tools in the proposed pocket of Precise that was purported to fix this bug report has been removed because the bugs that were to be fixed by the upload were not verified in a timely (105 days) fashion.

Changed in charm-tools (Ubuntu Precise):
status: Fix Committed → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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