tests fail on Lucid with unknown command HGETALL

Bug #605606 reported by Monty Taylor
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ozone
Invalid
Undecided
Unassigned

Bug Description

[ERROR]: nova.tests.api_unittest.ApiEc2TestCase.test_describe_instances

Traceback (most recent call last):
  File "/home/mordred/src/ozone/ozone/nova/test.py", line 222, in run
    self.setUp()
  File "/home/mordred/src/ozone/ozone/nova/tests/api_unittest.py", line 158, in setUp
    self.cloud = cloud.CloudController()
  File "/home/mordred/src/ozone/ozone/nova/endpoint/cloud.py", line 70, in __init__
    self.network = network.PublicNetworkController()
  File "/home/mordred/src/ozone/ozone/nova/compute/network.py", line 286, in __init__
    super(PublicNetworkController, self).__init__(network_id, FLAGS.public_range)
  File "/home/mordred/src/ozone/ozone/nova/compute/network.py", line 93, in __init__
    super(BaseNetwork, self).__init__(object_id=network_id)
  File "/home/mordred/src/ozone/ozone/nova/datastore.py", line 76, in __init__
    self.state = Redis.instance().hgetall(self.__redis_key)
  File "/home/mordred/src/ozone/ozone/vendor/redis-py/redis/client.py", line 1059, in hgetall
    return self.execute_command('HGETALL', name)
  File "/home/mordred/src/ozone/ozone/vendor/redis-py/redis/client.py", line 314, in execute_command
    **options
  File "/home/mordred/src/ozone/ozone/vendor/redis-py/redis/client.py", line 296, in _execute_command
    return self.parse_response(command_name, **options)
  File "/home/mordred/src/ozone/ozone/vendor/redis-py/redis/client.py", line 374, in parse_response
    response = self._parse_response(command_name, catch_errors)
  File "/home/mordred/src/ozone/ozone/vendor/redis-py/redis/client.py", line 333, in _parse_response
    raise ResponseError(response)
redis.exceptions.ResponseError: unknown command 'HGETALL'

Revision history for this message
Soren Hansen (soren) wrote : Re: [Bug 605606] [NEW] tests fail on Lucid with unknown command HGETALL

On Wed, Jul 14, 2010 at 08:49:39PM -0000, Monty Taylor wrote:
> Public bug reported:
>
> [ERROR]: nova.tests.api_unittest.ApiEc2TestCase.test_describe_instances

Which version of redis server are you using?

--
Soren Hansen
Ubuntu Developer
http://www.ubuntu.com/

Revision history for this message
Monty Taylor (mordred) wrote : Re: [Bug 605606] [NEW] tests fail on Lucid with unknown command HGETALL

On 07/14/2010 04:06 PM, Soren Hansen wrote:
> On Wed, Jul 14, 2010 at 08:49:39PM -0000, Monty Taylor wrote:
>> Public bug reported:
>>
>> [ERROR]: nova.tests.api_unittest.ApiEc2TestCase.test_describe_instances
>
> Which version of redis server are you using?

Whichever one was installed by Lucid:

2:1.2.0-1

Revision history for this message
Soren Hansen (soren) wrote : Re: [Bug 605606] [NEW] tests fail on Lucid with unknown command HGETALL

On Wed, Jul 14, 2010 at 09:27:14PM -0000, Monty Taylor wrote:
>>> Public bug reported:
>>>
>>> [ERROR]:
>>> nova.tests.api_unittest.ApiEc2TestCase.test_describe_instances
>> Which version of redis server are you using?
> Whichever one was installed by Lucid:
>
> 2:1.2.0-1

Yup, there's the problem. The HGETALL was added in the 2.x series which
isn't in Lucid.

 status invalid

--
Soren Hansen
Ubuntu Developer
http://www.ubuntu.com/

Changed in ozone:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.