New issue
Advanced search Search tips

Issue 850789 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Jul 25
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 2
Type: Bug



Sign in to add a comment

modify_host causes inconsistency between master DB and shard DB

Project Member Reported by nxia@chromium.org, Jun 8 2018

Issue description

"atest host rename" uses modify_host http://shortn/_GBBml40cPu to modify hostnames. We find there's an issue when we modify hostnames for hosts that are assigned to a shard. "atest host rename" modifies hostnames in shard but not in master db, leaving the inconsistency between master DB and shard DB.


 
Project Member

Comment 1 by bugdroid1@chromium.org, Jun 8 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/third_party/autotest/+/b261b16533b7507c393c2a24b0e4de75b4520a1d

commit b261b16533b7507c393c2a24b0e4de75b4520a1d
Author: Ningning Xia <nxia@google.com>
Date: Fri Jun 08 10:15:28 2018

Modify hostname by host id.

BUG= chromium:850789 
TEST="atest host rename"

Change-Id: I4b6f927c63d46350ea3c5f7fc2838b1e836c9beb
Reviewed-on: https://chromium-review.googlesource.com/1092097
Commit-Ready: Ningning Xia <nxia@chromium.org>
Tested-by: Ningning Xia <nxia@chromium.org>
Reviewed-by: Xixuan Wu <xixuan@chromium.org>

[modify] https://crrev.com/b261b16533b7507c393c2a24b0e4de75b4520a1d/cli/host.py

Comment 2 by nxia@chromium.org, Jun 8 2018

Cc: -nxia@chromium.org
Cc: -xixuan@chromium.org
Owner: xixuan@chromium.org
Status: Assigned (was: Untriaged)
Was this fixed?
Status: Fixed (was: Assigned)

Sign in to add a comment