Closed termie closed 13 years ago
chmouel@test1:~$ dpkg-query --showformat='${Package}-${Version}\n' -W 'nova' 'euca2ools' 'boto' euca2ools-1.2-0ubuntu11 nova-api-0.9.1~r331-0ubuntu0ppa1~maverick1 nova-common-0.9.1~r331-0ubuntu0ppa1~maverick1 nova-compute-0.9.1~r331-0ubuntu0ppa1~maverick1 nova-doc-0.9.1~r331-0ubuntu0ppa1~maverick1 nova-instancemonitor-0.9.1~r331-0ubuntu0ppa1~maverick1 nova-network-0.9.1~r331-0ubuntu0ppa1~maverick1 nova-objectstore-0.9.1~r331-0ubuntu0ppa1~maverick1 nova-scheduler-0.9.1~r331-0ubuntu0ppa1~maverick1 nova-volume-0.9.1~r331-0ubuntu0ppa1~maverick1 python-boto-1.9b-1ubuntu3 python-nova-0.9.1~r331-0ubuntu0ppa1~maverick1
I am getting type error when trying to shutdown the instance :
chmouel@test1:~$ euca-terminate-instances i-vxa85l TypeError: terminate_instances() takes exactly 3 non-keyword arguments (2 given)
I have checked the latest (github) python-boto versions and the maverick installed one and they have only one argument passing :
chmouel@test1:/usr/share/pyshared$ grep -r terminate_instances boto boto/services/service.py: c.terminate_instances([self.instance_id]) boto/ec2/instance.py: rs = self.connection.terminate_instances([self.id]) boto/ec2/connection.py: def terminate_instances(self, instance_ids=None): boto/pyami/copybot.py: ec2.terminate_instances([self.instance_id])
when nova accept an extra context argument :
context
chmouel@test1:share/pyshared/nova$ grep -r terminate_instances * api/ec2/cloud.py: def terminate_instances(self, context, ec2_id_list, **kwargs):
Imported from Launchpad using lp2gh.
(by dendrobates) This is a known bug in the ubuntu packages and does not affect trunk. It will be fixed with a refresh of the packages after release.
(by zulcss) This has been fixed long time ago.
chmouel@test1:~$ dpkg-query --showformat='${Package}-${Version}\n' -W 'nova' 'euca2ools' 'boto' euca2ools-1.2-0ubuntu11 nova-api-0.9.1~r331-0ubuntu0ppa1~maverick1 nova-common-0.9.1~r331-0ubuntu0ppa1~maverick1 nova-compute-0.9.1~r331-0ubuntu0ppa1~maverick1 nova-doc-0.9.1~r331-0ubuntu0ppa1~maverick1 nova-instancemonitor-0.9.1~r331-0ubuntu0ppa1~maverick1 nova-network-0.9.1~r331-0ubuntu0ppa1~maverick1 nova-objectstore-0.9.1~r331-0ubuntu0ppa1~maverick1 nova-scheduler-0.9.1~r331-0ubuntu0ppa1~maverick1 nova-volume-0.9.1~r331-0ubuntu0ppa1~maverick1 python-boto-1.9b-1ubuntu3 python-nova-0.9.1~r331-0ubuntu0ppa1~maverick1
I am getting type error when trying to shutdown the instance :
chmouel@test1:~$ euca-terminate-instances i-vxa85l TypeError: terminate_instances() takes exactly 3 non-keyword arguments (2 given)
I have checked the latest (github) python-boto versions and the maverick installed one and they have only one argument passing :
chmouel@test1:/usr/share/pyshared$ grep -r terminate_instances boto boto/services/service.py: c.terminate_instances([self.instance_id]) boto/ec2/instance.py: rs = self.connection.terminate_instances([self.id]) boto/ec2/connection.py: def terminate_instances(self, instance_ids=None): boto/pyami/copybot.py: ec2.terminate_instances([self.instance_id])
when nova accept an extra
context
argument :chmouel@test1:share/pyshared/nova$ grep -r terminate_instances *
api/ec2/cloud.py: def terminate_instances(self, context, ec2_id_list, **kwargs):
Imported from Launchpad using lp2gh.