yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #54684
[Bug 1528349] Re: Nova and Glance contain a near-identical signature_utils module
Fix proposed to branch: master
Review: https://review.openstack.org/351232
** Changed in: nova
Status: Invalid => In Progress
--
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/1528349
Title:
Nova and Glance contain a near-identical signature_utils module
Status in Glance:
Confirmed
Status in OpenStack Compute (nova):
In Progress
Bug description:
It appears that https://review.openstack.org/256069 took the
signature_utils modules from Glance and modified it in fairly
superficial ways based on review feedback:
$ diff -u nova/nova/signature_utils.py glance/glance/common/signature_utils.py | diffstat
signature_utils.py | 182 ++++++++++++++++++++++++-----------------------------
1 file changed, 83 insertions(+), 99 deletions(-)
The Oslo project was created to avoid this sort of short-sighted cut-
and-pasting. This code should really be in a python library that both
Glance and Nova could use directly.
Perhaps the code could be moved to a new library in the Glance
project, or a new library in the Oslo project, or into the
cryptography library itself?
To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1528349/+subscriptions
References