To follow up on Sean's last comment, we discussed the issue of whether
this was a breaking change on the release patch for the wallaby
backport:

https://review.opendev.org/c/openstack/releases/+/829590

Both nova and cinder already use external locks and require lock_path to
be configured; see for example the installation instructions for nova
and cinder.  So in real deployments, this won't be an issue.

We don't set a default value because there's really no sensible default.

** Changed in: os-brick
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1969794

Title:
  backport of the fix for bug  #1947370 make lock_path a requird config
  option when prvisouls it was optional

Status in OpenStack Compute (nova):
  Triaged
Status in os-brick:
  Invalid

Bug description:
  https://review.opendev.org/q/topic:bug%252F1947370

  as part of fixing bug 1947370 (https://launchpad.net/bugs/1947370)
  https://review.opendev.org/c/openstack/os-brick/+/814139
  made the external lock_path config option required with no default provided

  this was then backported breaking nova unit tests on stabel branches and 
potentially
  any deployment that upgrade to a new version of os-brick without this defined.

  i don't belive that such a backport is in line with stable policy and if it 
was to be backported
  a sane default like /tmp/os_brick_lock would be required to not break 
existing installs.

  this i currently breaking downstream unit test for redhat osp 17 and
  its also breaking the upstream stable wallayb unittest for nova.

  it is unclear if this has directly broken any real world deployment
  but it has the potential too.

  as noted in this revert patch 
https://review.opendev.org/c/openstack/os-brick/+/838871
  it is trival to reproduce this

  
  git clone https://opendev.org/openstack/nova nova-test
  cd nova-test
  git checkout --track origin/stable/wallaby
  tox -e py3

  ^ this shoudl fail with the lock_path excption

  cd ..
  git clone https://opendev.org/openstack/os-brick os-brick-revert
  cd os-brick-revert
  git fetch https://review.opendev.org/openstack/os-brick 
refs/changes/71/838871/1 && git checkout FETCH_HEAD
  cd ../nova-test
  .tox/py3/bin/python3 -m pip install -e ../os-brick-revert
  tox -e py3

  that will no longer have the lock_path error

  .tox/py38/bin/python3 -m pip install os-brick\<4.3.3

  
  while I'm not sure the revert is the correct way to proceed we will need to 
blacklist the broken os-brick release in the requirement repo and come up with 
a backportable fix for all affected branches.

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


-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to