should depend on python-simplejson

Bug #243828 reported by Mark A. Hershberger
20
Affects Status Importance Assigned to Milestone
ganeti (Ubuntu)
Fix Released
Undecided
Unassigned
Hardy
Fix Released
Medium
Unassigned
Intrepid
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: ganeti

Without simplejson, it won't start.

Revision history for this message
Iustin Pop (iustin) wrote :

Hi,

The package does depend on python-simplejson. Can you reproduce the error with the latest version of the package?

If so, can you give what exact error message you get?

thanks,
iustin

Revision history for this message
Mark A. Hershberger (hexmode) wrote :

The hardy version does not depend on python-simplejson:

http://packages.ubuntu.com/hardy/ganeti

Revision history for this message
Iustin Pop (iustin) wrote :

Ah, I see. Unortunately I don't know if the package in hardy can be updated (I'm one of the Debian maintainers but I'm not familiar with Ubuntu's processes).

Revision history for this message
Iustin Pop (iustin) wrote :

Bug is confirmed, and per discussion in #ubuntu-bugs marking as fix released.

Changed in ganeti:
status: New → Fix Released
Revision history for this message
Parthan SR (parth-technofreak) wrote :

The bug is actually fixed in the latest Debian release as per lustin and also that version is available in Intrepid. So, we consider the bug's fix to have been released and available in Intrepid package. (explaining what was discussed in #ubuntu-bugs)

Revision history for this message
Vladimir Osintsev (osintsev) wrote :

Are you sure that this bug report processed correctly? Bugs must be corrected not only in the development branch of distribution, but in the current stable too, the more LTS distribution.

Status 'Fix Released' corresponds Intrepid, which has not yet been released.

For Hardy Heron this bug confirmed and still avaliable. Fix Released status will be when someone from MOTU make a new version of the ganeti ubuntu package corrected this bug. At this moment the bug not yet fixed.

On the other hand, if this bug specifically refers to the Intrepid, my bug report LP: # 256080 refers to Hardy, then he wrongly flagged as duplicate to this bug report.

Revision history for this message
Iustin Pop (iustin) wrote : Re: [Bug 243828] Re: should depend on python-simplejson

On Sat, Aug 09, 2008 at 08:19:23AM -0000, Vladimir Osintsev wrote:
> Are you sure that this bug report processed correctly? Bugs must be
> corrected not only in the development branch of distribution, but in the
> current stable too, the more LTS distribution.
>
> Status 'Fix Released' corresponds Intrepid, which has not yet been
> released.
>
> For Hardy Heron this bug confirmed and still avaliable. Fix Released
> status will be when someone from MOTU make a new version of the ganeti
> ubuntu package corrected this bug. At this moment the bug not yet fixed.
>
> On the other hand, if this bug specifically refers to the Intrepid, my
> bug report LP: # 256080 refers to Hardy, then he wrongly flagged as
> duplicate to this bug report.

Honestly, I don't know Ubuntu's practices regarding this - I asked on
IRC and people said if it's fixed in Intrepid version, the bug can be
closed with 'Fix Released'.

If this is wrong, then yes, the package should be fixed in Hardy too.
Fixing the dependency should be simple enough.

But again, 1.2.0 is old and buggy, it doesn't make much sense to use it.

regards,
iustin

Revision history for this message
Parthan SR (parth-technofreak) wrote :

I had a follow up discussion on this and the outcome was is it very important to fix this dependency in hardy? Like ganeti is totally unusable without python-simplejson? As lustin states v1.2.0 is old and might not make sense to fix it in Hardy when the latest version has been fixed in Intrepid. If so, please let us know as it then goes through a separate process of SRU (Stable Release Updates). Thanks in advance :)

Revision history for this message
Vladimir Osintsev (osintsev) wrote :

> I had a follow up discussion on this and the outcome was is it very important to fix this dependency in hardy?

Yes. I am very interested in full support ganeti of Ubuntu, at this moment I have a challenge to deploy a cluster using ganeti on 11 physical servers, as the operating system used Ubuntu Server 8.04.1

Is it possible upgrade ganeti to version 1.2.5 in Hardy? It would be excellent to use native ubuntu package for ganeti in Hardy.

> Like ganeti is totally unusable without python-simplejson?

Yes. Without python-simplejson all utilities included in the package ganeti completely broken (see LP: #256080).

Is it possible to use ganeti 1.2.5 with Xen 3.2 and DRBD 8.x? On the ganeti wiki is that it is possible to use with DRBD 8.x, but in the installation instructions it is a question only of the support DRBD 7.x. A similar question about the version of Xen, in Hardy default Xen 3.2, whether to do downgrade to version 3.1?

Revision history for this message
Iustin Pop (iustin) wrote :

On Sat, Aug 09, 2008 at 05:08:22PM -0000, Vladimir Osintsev wrote:
> > I had a follow up discussion on this and the outcome was is it very
> > important to fix this dependency in hardy?
>
> Yes. I am very interested in full support ganeti of Ubuntu, at this
> moment I have a challenge to deploy a cluster using ganeti on 11
> physical servers, as the operating system used Ubuntu Server 8.04.1
>
> Is it possible upgrade ganeti to version 1.2.5 in Hardy? It would be
> excellent to use native ubuntu package for ganeti in Hardy.

Speaking as upstream, at one point there will be other 1.2.x releases
fixing some bugs or adding features. So long-term speaking, I'm not sure
if uploading right 1.2.5 to hardy will help much (with regard to bug
fixes).

But if you want to stay on one version for the lifetime of Hardy, please
don't use anything below 1.2.3 (and yes, ideally 1.2.5).

> > Like ganeti is totally unusable without python-simplejson?
>
> Yes. Without python-simplejson all utilities included in the package
> ganeti completely broken (see LP: #256080).

Indeed, the debian package for 1.2.0 was missing this critical
dependency.

> Is it possible to use ganeti 1.2.5 with Xen 3.2 and DRBD 8.x? On the
> ganeti wiki is that it is possible to use with DRBD 8.x, but in the
> installation instructions it is a question only of the support DRBD 7.x.

No, please don't use 7.x. It's deprecated and ganeti 2.0 will not
support it anymore. DRBD 8.0.7 and 8.0.12 are known to work good.

> A similar question about the version of Xen, in Hardy default Xen 3.2,
> whether to do downgrade to version 3.1?

Ganeti should work with 3.2 (although I personally haven't tested it).

regards,
iustin

Revision history for this message
Parthan SR (parth-technofreak) wrote :

Iustin,

Following Vladimir's reply I was to nominate this bug for SRU (Stable Release Update) of ganeti. As an upstream, it would be great if I could get your help in this process. But from your latest comment am little confused about what to go in for SRU, just the python-simplejson dependency? If am going for SRU, I would require to justify the need for fixing the bug and how critical it is to fix it in the current stable release. Also I need to know in which development branch version has this bug been fixed (which I can hopefully find from the change file). Looking for your comments on it, after which I will go in for the SRU.

Revision history for this message
Parthan SR (parth-technofreak) wrote :

Also are you sure that the package in the development release aka intrepid has got this bug fixed?

Revision history for this message
Iustin Pop (iustin) wrote :

On Sat, Aug 09, 2008 at 06:44:56PM -0000, Parthan wrote:
> Also are you sure that the package in the development release aka
> intrepid has got this bug fixed?

This bug (python-simplejson dependency) has been fixed in the debian
package in 1.2.2-1 (partial changelog shown here):

 ganeti (1.2.2-1) unstable; urgency=low
   [ Leonardo Rodrigues de Mello ]
   * Fix dependency on SimpleJSON
  -- Guido Trotter <email address hidden> Wed, 30 Jan 2008 15:21:13 +0100

So yes, 1.2.5-1, if taken from Debian, will have this fix included.

iustin

Revision history for this message
Iustin Pop (iustin) wrote :

On Sat, Aug 09, 2008 at 06:35:59PM -0000, Parthan wrote:
> Iustin,
>
> Following Vladimir's reply I was to nominate this bug for SRU (Stable
> Release Update) of ganeti. As an upstream, it would be great if I could
> get your help in this process. But from your latest comment am little
> confused about what to go in for SRU, just the python-simplejson
> dependency? If am going for SRU, I would require to justify the need for
> fixing the bug and how critical it is to fix it in the current stable
> release. Also I need to know in which development branch version has
> this bug been fixed (which I can hopefully find from the change file).
> Looking for your comments on it, after which I will go in for the SRU.

(Unfortunately, I'll go in vacation tomorrow, so I'll be offline for two
weeks).

The depedency on python-simplejson is a very annoying thing, but not
critical. In other words, the software doesn't work - it doesn't start,
you can't run any command, etc. - but it won't cause data-loss or
similar problems. So while it should be fixed, it has a simple
workaround (just install python-simplejson), which is why I originally
thought closing the bug with 'fix released' is reasonable. For the
record, the dependency on python-simplejson is a one line change
debian/control and it has gone in the debian version 1.2.2-1. You could
just make a 1.2.0-2ubuntu2 version, with just this new dependency added.

Now, from the 1.2.0 versus 1.2.5, I can definitely say that there has
been a lot of work between these, both in fixing bugs, and in adding new
features. If a friend of mine would be running 1.2.0, I would definitely
recommend 1.2.5, even if it brings new features (which can also have
bugs), because the number of bugs I know are closed between these two
versions.

I unfortunately don't know what's acceptable for an SRU (I think in
Debian this wouldn't be accepted), but if you can push for an SRU, I can
give my recommendation.

Let me know if I can help somehow, after my 2 weeks offline :)

regards,
iustin

Changed in ganeti:
status: New → Confirmed
Daniel T Chen (crimsun)
Changed in ganeti:
importance: Undecided → Medium
status: Confirmed → Triaged
Revision history for this message
Kurt Litsch (kurt.litsch) wrote :

Attached is a debdiff that adds a python-simplejson dependency to ganeti 1.2.0

Revision history for this message
Daniel Hahler (blueyed) wrote :

Kurt, while this bug is waiting to get approval from motu-sru, please fix the changelog entry: it should be hardy-proposed.
Of course, the sponsor could fix this, too, but it's good to learn that anyway.. ;)

I'm unsubscribing ubuntu-universe-sponsors for now, since there's nothing to sponsor yet.
Also setting the Hardy task back to New, to get confirmation from motu-sru.

Changed in ganeti:
status: Triaged → New
Revision history for this message
Devid Antonio Filoni (d.filoni) wrote :

motu-sru ACK. Package uploaded to hardy-proposed with the following changes:
 - maintainer changed to Ubuntu MOTU
 - version changed to 1.2.0-1ubuntu0.1
 - distribution changed to hardy-proposed
 - do not bump Standards-Version

Changed in ganeti (Ubuntu Hardy):
status: New → Confirmed
Revision history for this message
Jonathan Riddell (jr) wrote :

accepted into hardy-proposed, please test

Changed in ganeti (Ubuntu Hardy):
status: Confirmed → Fix Committed
Revision history for this message
Martin Pitt (pitti) wrote :

Anyone who can test the package in hardy-proposed and confirm that it still works and fixes the issue? Otherwise I'll remove it from -proposed again.

Revision history for this message
Paul Elliott (omahn) wrote :

I'm happy to confirm that ganeti 1.2.0-1ubuntu0.1 from hardy-proposed correctly pulls in python-simplejson as a dependency and then successfully allows gnt-cluster to be run.

Martin Pitt (pitti)
tags: added: verification-done
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ganeti - 1.2.0-1ubuntu0.1

---------------
ganeti (1.2.0-1ubuntu0.1) hardy-proposed; urgency=low

  * debian/control: Added python-simplejson to the Depends field
    (LP: #243828)

 -- Kurt Litsch <email address hidden> Wed, 03 Sep 2008 22:28:05 -0500

Changed in ganeti (Ubuntu Hardy):
status: Fix Committed → Fix Released
Revision history for this message
Vladimir Osintsev (osintsev) wrote :

Thank you guys for fixed this issue.

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.