commit caecc4f9986891d9954b43e17d207cc34e514e80
Author: Elena Ezhova <email address hidden>
Date: Wed Jan 13 19:20:46 2016 +0300
Fix updating session persistence of a pool in DB
In case when update data for a pool contains session persistence
it is required to update session persistence table first and
then remove 'session_persistence' key from the update dict.
Otherwise, update will fail and a pool will get stuck in
PENDING_UPDATE status.
This change reuses update_pool_on_listener method of
db.repositories.Repositories class in UpdatePoolInDB task instead
of PoolRepository update method.
Reviewed: https:/ /review. openstack. org/267010 /git.openstack. org/cgit/ openstack/ octavia/ commit/ ?id=caecc4f9986 891d9954b43e17d 207cc34e514e80
Committed: https:/
Submitter: Jenkins
Branch: master
commit caecc4f9986891d 9954b43e17d207c c34e514e80
Author: Elena Ezhova <email address hidden>
Date: Wed Jan 13 19:20:46 2016 +0300
Fix updating session persistence of a pool in DB
In case when update data for a pool contains session persistence persistence' key from the update dict.
it is required to update session persistence table first and
then remove 'session_
Otherwise, update will fail and a pool will get stuck in
PENDING_UPDATE status.
This change reuses update_ pool_on_ listener method of repositories. Repositories class in UpdatePoolInDB task instead
db.
of PoolRepository update method.
This regression was discovered using a scenario test: /review. openstack. org/#/c/ 207945/
https:/
Change-Id: I53d6b7962c0baa 466db7e053157cd d302edae473
Closes-Bug: #1505125