~ubuntu-branches/ubuntu/lucid/eucalyptus/lucid-updates

« back to all changes in this revision

Viewing changes to debian/source_eucalyptus.py

  • Committer: Bazaar Package Importer
  • Author(s): Dustin Kirkland, Dustin Kirkland, Scott Moser
  • Date: 2010-03-22 17:22:48 UTC
  • Revision ID: james.westby@ubuntu.com-20100322172248-necpo3nto3114zrw
Tags: 1.6.2-0ubuntu20
[ Dustin Kirkland ]
* Continue fixing karmic -> lucid upgrades, LP: #519513
* debian/eucalyptus-java-common.postinst: ensure that the db dir exists
  before running euca_upgrade
* debian/eucalyptus-common.preinst: ensure that the local conf exists
* tools/euca_upgrade:
  - on upgrade, migrate eucalyptus.conf settings to eucalyptus.local.conf
  - on upgrade, migrated $NODES to nodes.list
* clc/modules/msgs/conf/scripts/startup.groovy: change m1.small to 192M
  such that we can actually boot the lucid uec image, LP: #544292

[ Scott Moser ]
* debian/source_eucalyptus.py: fix AttributeError, LP: #520775

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
        'eucalyptus-nc', 'eucalyptus-gl', 'uec-component-listener']
9
9
 
10
10
    version = ''
 
11
    versions = ''
11
12
    for package in packages:
12
13
        try:
13
 
                vesion = packaging.get_versions(package)
14
 
        except ValueError:
 
14
                version = packaging.get_versions(package)
 
15
        except (ValueError, AttributeError):
15
16
                version = 'N/A'
16
17
        if version is None:
17
18
                version = 'N/A'
18
19
        versions += '%s %s\n' %(package, version)
19
20
    report['EucalyptusInstalledVersions'] = versions
20
21
 
21
 
def add_info(report):
 
22
def add_info(report, ui):
22
23
    # Report on the versions that are installed, including: vmbuilder, ec2-api-tools
23
24
    # ec2-ami-tools, euca2ools, and eucalyptus*
24
25
    installed_packages(report)
39
40
 
40
41
    ui.information("As part of the bug reporting process, you'll be asked a series of questions to help provide a more descriptive bug report. Please answer the following questions to the best of your ability. Afterwards, a browser will be opened to finish filling this as a bug in the Launchpad bug tracking system.")
41
42
 
42
 
    response = ui.yesno("Is this issue easily reproducable in the current version of Eucalytptus?")
 
43
    response = ui.yesno("Is this issue easily reproducible in the current version of Eucalyptus?")
43
44
    if response == None: #user canceled
44
45
        raise StopIteration
45
46
 
46
47
    if response == False:
47
48
        report['EasilyReproduced'] = 'No'
48
 
    elif rsponse == True:
 
49
    elif response == True:
49
50
        report['EasilyReproduced'] = 'Yes'
50
51
        ui.information("Please provide clear steps so that the Ubuntu Developers can reproduce your bug.")
51
52
 
55
56
 
56
57
    if response == False:
57
58
        report['UECDescSetup'] = 'No'
58
 
        ui.information("It would be benefial to the bug report if you could provide how your UEC is setup.")
 
59
        ui.information("It would be beneficial to the bug report if you could provide how your UEC is setup.")
59
60
    if response == True:
60
61
        report['UECDescSetup'] = 'Yes'
61
62
        ui.information("Please provide a detailed description of your UEC setup.")