You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Mike Tutkowski (JIRA)" <ji...@apache.org> on 2013/09/28 07:59:02 UTC

[jira] [Updated] (CLOUDSTACK-4756) Can't install DEBs properly on Ubuntu 12.04

     [ https://issues.apache.org/jira/browse/CLOUDSTACK-4756?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mike Tutkowski updated CLOUDSTACK-4756:
---------------------------------------

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

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:
  cloudstack-agent
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!
  cloudstack-agent
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))
   else:
       print("Upgrade succeed")

  was:
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:
  cloudstack-agent
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!
  cloudstack-agent
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))
   else:
       print("Upgrade succeed")

    
> Can't install DEBs properly on Ubuntu 12.04
> -------------------------------------------
>
>                 Key: CLOUDSTACK-4756
>                 URL: https://issues.apache.org/jira/browse/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:
> 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:
>   cloudstack-agent
> 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!
>   cloudstack-agent
> 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))
>    else:
>        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: http://www.atlassian.com/software/jira