test_004_can_access_metadata_over_public_ip fails intermittently
Bug #821242 reported by
Dan Prince
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Low
|
Dan Prince |
Bug Description
The test_004_
Traceback (most recent call last):
File "/usr/lib/
testMethod()
File "/root/
while not self.__
File "/root/
raise Exception("Wrong instance id")
Exception: Wrong instance id
Related branches
lp:~rackspace-titan/nova/test_004_metadata_logging
- Ed Leafe (community): Approve
- Josh Kearney (community): Approve
-
Diff: 13 lines (+2/-1)1 file modifiedsmoketests/test_netadmin.py (+2/-1)
lp:~rackspace-titan/nova/test_004_metadata_retry
- Brian Waldon (community): Approve
- Devin Carlen (community): Approve
- John Tran (community): Approve
- William Wolf (community): Approve
-
Diff: 18 lines (+5/-2)1 file modifiedsmoketests/test_netadmin.py (+5/-2)
Changed in nova: | |
status: | New → In Progress |
assignee: | nobody → Dan Prince (dan-prince) |
importance: | Undecided → Low |
Changed in nova: | |
status: | In Progress → Fix Committed |
Changed in nova: | |
milestone: | none → diablo-4 |
Changed in nova: | |
milestone: | diablo-4 → 2011.3 |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
It would be useful to know what it is getting for the instance id. Is it getting another id, meaning that the metadata server is somehow not getting the ip correctly, or is it just failing to get a valid response from the metadata server. It would be great if we could change it to log what it actually got via the request. It may be a timing issue where there is a moment during the association where it is not working, or there is some intermittent state where the metadata server is failing. For example the occassional error we have been seeing regarding lazy load of networks. Can you try putting some more logging in there for what the actual response is, and also see if there is any error logged in nova-api?
Vish
On Aug 4, 2011, at 7:58 PM, Dan Prince wrote:
> Public bug reported: can_access_ metadata_ over_public_ ip fails intermittently (1 python2. 6/unittest. py", line 279, in run nova_source/ smoketests/ test_netadmin. py", line 157, in test_004_ can_access_ metadata_ over_public_ ip public_ instance_ is_accessible( ): nova_source/ smoketests/ test_netadmin. py", line 118, in __public_ instance_ is_accessible /bugs.launchpad .net/bugs/ 821242 can_access_ metadata_ over_public_ ip fails intermittently can_access_ metadata_ over_public_ ip fails intermittently python2. 6/unittest. py", line 279, in run nova_source/ smoketests/ test_netadmin. py", line 157, in test_004_ can_access_ metadata_ over_public_ ip public_ instance_ is_accessible( ): nova_source/ smoketests/ test_netadmin. py", line 118, in __public_ instance_ is_accessible /bugs.launchpad .net/nova/ +bug/821242/ +subscriptions
>
> The test_004_
> out of 4 times) when run on a set of freshly configured servers. When it
> fails we get the following error:
>
> Traceback (most recent call last):
> File "/usr/lib/
> testMethod()
> File "/root/
> while not self.__
> File "/root/
> raise Exception("Wrong instance id")
> Exception: Wrong instance id
>
> ** Affects: nova
> Importance: Undecided
> Status: New
>
> --
> You received this bug notification because you are a member of Nova Bug
> Team, which is subscribed to OpenStack Compute (nova).
> https:/
>
> Title:
> test_004_
>
> Status in OpenStack Compute (Nova):
> New
>
> Bug description:
> The test_004_
> (1 out of 4 times) when run on a set of freshly configured servers.
> When it fails we get the following error:
>
> Traceback (most recent call last):
> File "/usr/lib/
> testMethod()
> File "/root/
> while not self.__
> File "/root/
> raise Exception("Wrong instance id")
> Exception: Wrong instance id
>
> To manage notifications about this bug go to:
> https:/