lp_publish/ppa-generate-keys is broken atm

Bug #452730 reported by Steve McInerney on 2009-10-16
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Launchpad itself
Critical
Julian Edwards

Bug Description

Initial logged failure:

2009-10-14 19:20:07 INFO creating lockfile
2009-10-14 19:20:22 DEBUG Removing lock file: /var/lock/launchpad-ppa-generate-keys.lock
2009-10-14 19:40:07 INFO creating lockfile
2009-10-14 19:40:20 DEBUG Removing lock file: /var/lock/launchpad-ppa-generate-keys.lock
2009-10-14 20:00:08 INFO creating lockfile
2009-10-14 20:00:22 DEBUG Removing lock file: /var/lock/launchpad-ppa-generate-keys.lock
2009-10-14 20:20:08 INFO creating lockfile
2009-10-14 20:20:22 INFO Generating signing key for Cross-buildable packages
2009-10-14 20:20:22 DEBUG Removing lock file: /var/lock/launchpad-ppa-generate-keys.lock
Traceback (most recent call last):
  File "/srv/launchpad.net/codelines/current/cronscripts/ppa-generate-keys.py", line 21, in ?
    script.lock_and_run()
  File "/srv/launchpad.net/codelines/ppa-rev-8531/lib/lp/services/scripts/base.py", line 286, in lock_and_run
    implicit_begin=implicit_begin, isolation=isolation)
  File "/srv/launchpad.net/codelines/ppa-rev-8531/lib/lp/services/scripts/base.py", line 244, in run
    self.main()
  File "/srv/launchpad.net/codelines/ppa-rev-8531/lib/lp/soyuz/scripts/ppakeygenerator.py", line 62, in main
    self.generateKey(archive)
  File "/srv/launchpad.net/codelines/ppa-rev-8531/lib/lp/soyuz/scripts/ppakeygenerator.py", line 33, in generateKey
    archive_signing_key.generateSigningKey()
  File "/srv/launchpad.net/codelines/ppa-rev-8531/lib/lp/archivepublisher/archivesigningkey.py", line 69, in generateSigningKey
    if default_ppa.signing_key is None:
AttributeError: 'NoneType' object has no attribute 'signing_key'

Michael Nelson (michael.nelson) wrote :

As pointed out by wgrant - this is happening because r9687 is not on the production machines, so during generateSigningKey:

default_ppa = self.archive.owner.archive

owner.archive is always looking for the ppa named 'ppa', even though edge is already letting people create their first ppa with another name.

Changed in soyuz:
importance: Undecided → High
Changed in soyuz:
importance: High → Critical
assignee: nobody → Julian Edwards (julian-edwards)
status: New → Triaged
Changed in soyuz:
milestone: none → 3.1.10
status: Triaged → In Progress
Julian Edwards (julian-edwards) wrote :

r9687 cherry picked to Soyuz machines

Changed in soyuz:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers