← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1531862] Re: ServerPersonalityTestJSON:test_rebuild_server_with_personality fails intermittent (linuxbridge)

 

Reviewed:  https://review.openstack.org/291042
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=7afbd3a6b896d6d1285343f31517e9a656cfa606
Submitter: Jenkins
Branch:    master

commit 7afbd3a6b896d6d1285343f31517e9a656cfa606
Author: Kevin Benton <kevin@xxxxxxxxxx>
Date:   Wed Mar 9 23:47:35 2016 -0800

    Check tap bridge timestamps to detect local changes
    
    During a quick instance rebuild on Nova, it may remove a tap
    interface and then plug it in within the agent polling window.
    In this scenario the agent will not realize a device has changed
    and will therefore not ask the server for info an subsequently
    update its status. This will prevent the notification from being
    sent back to Nova that the vif plugging has finished so the
    VM will never resume state.
    
    This adds a new timestamp collection method to the common agent
    manager interface for devices that is used by the common agent
    loop to determine if a device has locally changed.
    
    The linux bridge implementation of it checks the timestamps on the
    tap interface's 'bridge' directory, which will change whenever
    the tap is added to bridge.
    
    Closes-Bug: #1531862
    Change-Id: If172470e907848556b6a8aff13520f94245919bb


** Changed in: neutron
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1531862

Title:
  ServerPersonalityTestJSON:test_rebuild_server_with_personality fails
  intermittent (linuxbridge)

Status in neutron:
  Fix Released

Bug description:
  24 Hits in the last 30 days - all of them after the 31st of December!
  [1]

  2016-01-07 11:08:30.061 | Captured traceback:
  2016-01-07 11:08:30.061 | ~~~~~~~~~~~~~~~~~~~
  2016-01-07 11:08:30.061 |     Traceback (most recent call last):
  2016-01-07 11:08:30.062 |       File "tempest/api/compute/servers/test_server_personality.py", line 81, in test_rebuild_server_with_personality
  2016-01-07 11:08:30.062 |         waiters.wait_for_server_status(self.client, server_id, 'ACTIVE')
  2016-01-07 11:08:30.062 |       File "tempest/common/waiters.py", line 95, in wait_for_server_status
  2016-01-07 11:08:30.062 |         raise exceptions.TimeoutException(message)
  2016-01-07 11:08:30.062 |     tempest.exceptions.TimeoutException: Request timed out
  2016-01-07 11:08:30.062 |     Details: (ServerPersonalityTestJSON:test_rebuild_server_with_personality) Server f22f189f-6fa2-4d6d-9a60-89ca045c6dbf failed to reach ACTIVE status and task state "None" within the required time (196 s). Current status: REBUILD. Current task state: rebuild_spawning.


  
  Example Log: http://logs.openstack.org/18/246318/13/check/gate-tempest-dsvm-neutron-linuxbridge/589bb9b/

  [1]
  http://logstash.openstack.org/#dashboard/file/logstash.json?query=message%3A%5C%22ServerPersonalityTestJSON%3Atest_rebuild_server_with_personality)%20Server%5C%22

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1531862/+subscriptions


References