Problem with pycurl dependency during upgrade from hardy to lucid

Bug #563063 reported by Andreas Hasenack
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Landscape Client
Fix Released
High
Free Ekanayaka
landscape-client (Ubuntu)
Fix Released
Undecided
Unassigned
Jaunty
Fix Released
Undecided
Unassigned
Karmic
Fix Released
Undecided
Unassigned
Lucid
Fix Released
Undecided
Unassigned

Bug Description

Preparing to replace landscape-client 1.3.2.3-0ubuntu0.8.04.1~landscape1 (using .../landscape-client_1.5.0-0ubuntu0.10.04.0_i386.deb) ...
Traceback (most recent call last):
  File "/usr/bin/landscape-is-cloud-managed", line 9, in <module>
    from landscape.broker.registration import is_cloud_managed
  File "/usr/lib/python2.6/dist-packages/landscape/broker/registration.py", line 11, in <module>
    from landscape.lib.fetch import fetch, FetchError
  File "/usr/lib/python2.6/dist-packages/landscape/lib/fetch.py", line 7, in <module>
    import pycurl
ImportError: No module named pycurl
landscape-client is not configured, please run landscape-config.
Unpacking replacement landscape-client ...
Preparing to replace python-pycurl 7.16.4-1 (using .../python-pycurl_7.19.0-3_i386.deb) ...
Unpacking replacement python-pycurl ...

The version of pycurl that was available when landscape-is-cloud-managed ran was the one from python 2.5, but the new landscape-client needs the one for python 2.6.

Revision history for this message
Andreas Hasenack (ahasenack) wrote :

Attached are the full logs of such an upgrade.

Changed in landscape-client:
assignee: nobody → Free Ekanayaka (free.ekanayaka)
status: New → In Progress
Changed in landscape-client:
status: In Progress → Fix Committed
Revision history for this message
Andreas Hasenack (ahasenack) wrote :

Didn't work:
(...)

Selecting previously deselected package libgssapi-krb5-2.
Unpacking libgssapi-krb5-2 (from .../libgssapi-krb5-2_1.8.1+dfsg-2_i386.deb) ...
Replacing files in old package libkrb53 ...
Preparing to replace libidn11 1.1-1 (using .../libidn11_1.15-2_i386.deb) ...
Unpacking replacement libidn11 ...
Preparing to replace libcurl3-gnutls 7.18.0-1ubuntu2.2 (using .../libcurl3-gnutls_7.19.7-1ubuntu1_i386.deb) ...
Unpacking replacement libcurl3-gnutls ...
Preparing to replace python-dbus 0.82.4-1ubuntu1 (using .../python-dbus_0.83.0-1ubuntu3_i386.deb) ...
Unpacking replacement python-dbus ...
Preparing to replace landscape-common 1.5.2~bzr235-0ubuntu0.8.04 (using .../landscape-common_1.5.2~bzr235-0ubuntu0.10.04_i386.deb) ...
Unpacking replacement landscape-common ...
Preparing to replace landscape-client 1.5.2~bzr235-0ubuntu0.8.04 (using .../landscape-client_1.5.2~bzr235-0ubuntu0.10.04_i386.deb) ...
Traceback (most recent call last):
  File "/usr/bin/landscape-is-cloud-managed", line 9, in <module>
    from landscape.broker.registration import is_cloud_managed
  File "/usr/lib/python2.6/dist-packages/landscape/broker/registration.py", line 11, in <module>
    from landscape.lib.fetch import fetch, FetchError
  File "/usr/lib/python2.6/dist-packages/landscape/lib/fetch.py", line 7, in <module>
    import pycurl
ImportError: No module named pycurl
landscape-client is not configured, please run landscape-config.
Unpacking replacement landscape-client ...
Preparing to replace python-pycurl 7.16.4-1 (using .../python-pycurl_7.19.0-3_i386.deb) ...
Unpacking replacement python-pycurl ...
Preparing to replace update-manager-core 1:0.87.31 (using .../update-manager-core_1%3a0.134.6_i386.deb) ...
(...)

Changed in landscape-client:
status: Fix Committed → Confirmed
Revision history for this message
Andreas Hasenack (ahasenack) wrote :

<mup> landscape-client/trunk r236 committed by <email address hidden>
<mup> Run landscape-is-cloud-managed only on service startup [trivial]

Packages building in the landscape trunk ppa, will test once they are ready

Revision history for this message
Andreas Hasenack (ahasenack) wrote :

Worked:

Preparing to replace libidn11 1.1-1 (using .../libidn11_1.15-2_i386.deb) ...
Unpacking replacement libidn11 ...
Preparing to replace libcurl3-gnutls 7.18.0-1ubuntu2.2 (using .../libcurl3-gnutls_7.19.7-1ubuntu1_i386.deb) ...
Unpacking replacement libcurl3-gnutls ...
Preparing to replace python-dbus 0.82.4-1ubuntu1 (using .../python-dbus_0.83.0-1ubuntu3_i386.deb) ...
Unpacking replacement python-dbus ...
Preparing to replace landscape-common 1.5.2~bzr236-0ubuntu0.8.04 (using .../landscape-common_1.5.2~bzr236-0ubuntu0.10.04_i386.deb) ...
Unpacking replacement landscape-common ...
Preparing to replace landscape-client 1.5.2~bzr236-0ubuntu0.8.04 (using .../landscape-client_1.5.2~bzr236-0ubuntu0.10.04_i386.deb) ...
 * Stopping landscape-client daemon ESC[204G ^MESC[198G[ESC[31mfailESC[39;49m]
Unpacking replacement landscape-client ...
Preparing to replace python-pycurl 7.16.4-1 (using .../python-pycurl_7.19.0-3_i386.deb) ...
Unpacking replacement python-pycurl ...
Preparing to replace update-manager-core 1:0.87.31 (using .../update-manager-core_1%3a0.134.6_i386.deb) ...
Unpacking replacement update-manager-core ...

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

This bug was fixed in the package landscape-client - 1.5.0.1-0ubuntu0.10.04.0

---------------
landscape-client (1.5.0.1-0ubuntu0.10.04.0) lucid; urgency=low

  * New upstream version
    - Fix smart-update failing its very first run (LP: #562496)
    - Depend on pythonX.Y-dbus and pythonX.Y-pycurl (LP: #563063)
    - Make only one request at a time to retrieve EC2 instances (LP: #567515)
 -- Free Ekanayaka <email address hidden> Wed, 21 Apr 2010 12:31:28 +0200

Changed in landscape-client (Ubuntu Lucid):
status: New → Fix Released
Revision history for this message
Martin Pitt (pitti) wrote : Please test proposed package

Accepted landscape-client into karmic-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

Changed in landscape-client (Ubuntu Karmic):
status: New → Fix Committed
tags: added: verification-needed
Changed in landscape-client (Ubuntu Jaunty):
status: New → Fix Committed
Revision history for this message
Martin Pitt (pitti) wrote :

Accepted landscape-client into jaunty-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

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

This bug was fixed in the package landscape-client - 1.5.0.1-0ubuntu0.9.04.0

---------------
landscape-client (1.5.0.1-0ubuntu0.9.04.0) jaunty-proposed; urgency=low

  * New upstream version
    - Fix smart-update failing its very first run (LP: #562496)
    - Depend on pythonX.Y-dbus and pythonX.Y-pycurl (LP: #563063)
    - Make only one request at a time to retrieve EC2 instances (LP: #567515)

  * New upstream version (LP: #557244)
    - Fix package-changer running before smart-update has completed (LP: #542215)
    - Report the version of Eucalyptus used to generate topology data (LP: #554007)
    - Enable the Eucalyptus plugin by default, if supported (LP: #546531)
    - Use a whitelist of allowed filesystem types to instead of a blacklist (LP: #351927)
    - Report the update-manager logs to the server (LP: #503384)
    - Turn off Curl's DNS caching for requests. (LP: #522668)
 -- Free Ekanayaka <email address hidden> Wed, 21 Apr 2010 12:31:28 +0200

Changed in landscape-client (Ubuntu Jaunty):
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package landscape-client - 1.5.0.1-0ubuntu0.9.10.0

---------------
landscape-client (1.5.0.1-0ubuntu0.9.10.0) karmic-proposed; urgency=low

  * New upstream version
    - Fix smart-update failing its very first run (LP: #562496)
    - Depend on pythonX.Y-dbus and pythonX.Y-pycurl (LP: #563063)
    - Make only one request at a time to retrieve EC2 instances (LP: #567515)

  * New upstream version (LP: #557244)
    - Fix package-changer running before smart-update has completed (LP: #542215)
    - Report the version of Eucalyptus used to generate topology data (LP: #554007)
    - Enable the Eucalyptus plugin by default, if supported (LP: #546531)
    - Use a whitelist of allowed filesystem types to instead of a blacklist (LP: #351927)
    - Report the update-manager logs to the server (LP: #503384)
    - Turn off Curl's DNS caching for requests. (LP: #522668)
 -- Free Ekanayaka <email address hidden> Wed, 21 Apr 2010 12:31:28 +0200

Changed in landscape-client (Ubuntu Karmic):
status: Fix Committed → Fix Released
Changed in landscape-client:
status: Confirmed → Fix Released
tags: removed: verification-needed
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.