cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mike Tutkowski (JIRA)" <>
Subject [jira] [Created] (CLOUDSTACK-4756) Can't install DEBs properly on Ubuntu 12.04
Date Sat, 28 Sep 2013 05:59:02 GMT
Mike Tutkowski created CLOUDSTACK-4756:

             Summary: Can't install DEBs properly on Ubuntu 12.04
                 Key: CLOUDSTACK-4756
             Project: CloudStack
          Issue Type: Bug
      Security Level: Public (Anyone can view this level - this is the default.)
          Components: KVM
    Affects Versions: Future
         Environment: Ubuntu 12.04
            Reporter: Mike Tutkowski
             Fix For: Future

A script is missing the listNetworks() method as is seen below:

Kind of made progress here. :) Looks like we have another problem. Is it possible another
item is missing from the scripts?

mtutkowski@ubuntu:~$ sudo apt-get install cloudstack-agent
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
0 upgraded, 1 newly installed, 0 to remove and 468 not upgraded.
Need to get 39.1 MB of archives.
After this operation, 43.6 MB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
Install these packages without verification [y/N]? y
Get:1 http://localhost/cloudstack/repo/ binary/ cloudstack-agent 4.3.0 [39.1 MB]
Fetched 39.1 MB in 0s (50.5 MB/s)           
Selecting previously unselected package cloudstack-agent.
(Reading database ... 168800 files and directories currently installed.)
Unpacking cloudstack-agent (from .../cloudstack-agent_4.3.0_all.deb) ...
Processing triggers for ureadahead ...
Setting up cloudstack-agent (4.3.0) ...
Traceback (most recent call last):
  File "/usr/bin/cloudstack-agent-upgrade", line 51, in <module>
    bridges = netlib.listNetworks()
AttributeError: networkConfig instance has no attribute 'listNetworks'

Looks like listNetworks() is called a couple times in cloudstack-agent-upgrade:

if __name__ == '__main__':
   netlib = networkConfig() 
   bridges = netlib.listNetworks()
   bridges = filter(isOldStyleBridge, bridges)
   for br in bridges:
       enslavedDev = netlib.getEnslavedDev(br, 1)
       if enslavedDev is not None:
           upgradeBridgeName(br, enslavedDev)
   bridges = netlib.listNetworks()
   bridges = filter(isOldStyleBridge, bridges)
   if len(bridges) > 0:
       print("Warning: upgrade is not finished, still some bridges have the old style name:"
+ str(bridges))
       print("Upgrade succeed")

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message