Updates to pre-upgrade container are dropped #7534
Labels
impact/test/integration/enable
The test is associated with a disabled integration test
kind/defect
Behavior that is inconsistent with what's intended
priority/p2
source/customer
Reported by a customer, directly or via an intermediary
team/container
Build: https://ci-vic.vmware.com/vmware/vic/17605/8
Suite: 11-01-Upgrade
Failing output because it contains
Exited (0)
The test is attempting to assert that the container from pre-upgrade can be started. It can, however because of a configuration version difference the resetting of
started
field (and times, et al) is being dropped (see this code) and we therefore don't block waiting for the start to occur.This was not detected by the test prior to 6144b31 because the call to
start
explicitly set the container state toStarting
- the test should have been checking forRunning
, not checking for the abscence ofExited
. However with that commit we now use the vSphere event to trigger the state update and the test therefore still sees the old state.There is a second issue related to this migration behaviour (#7128) and discarding IP address assignments. The only correct fix for this is to finish implementing the migration logic - we have the portion to migrate old configurations forward for reading, but not the portion that migrates new configurations back for writing (and should return a hard error if a critical element cannot be migrated).
It should be comparatively simple to add the reverse path to the existing migration code, but I do not know without investigating whether it will entail refactoring. Estimate as a 5 due to unknowns.
Related: #7128 #5653
The text was updated successfully, but these errors were encountered: