[Bug 1582475] Re: Managing access gets HTTP 500 due to using deprecated option timeout
** Tags removed: sts-sru ** Tags added: sts-sru-done -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1582475 Title: Managing access gets HTTP 500 due to using deprecated option timeout To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/swauth/+bug/1582475/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1582475] Re: Managing access gets HTTP 500 due to using deprecated option timeout
** Changed in: swauth (Ubuntu) Status: In Progress => Invalid ** Tags removed: sts-sponsor -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1582475 Title: Managing access gets HTTP 500 due to using deprecated option timeout To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/swauth/+bug/1582475/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1582475] Re: Managing access gets HTTP 500 due to using deprecated option timeout
This bug was fixed in the package swauth - 1.0.4-0ubuntu1.15.10.1 --- swauth (1.0.4-0ubuntu1.15.10.1) wily; urgency=medium * Use correct timeout parameter (LP: #1582475) - d/p/0001-Fixed-to-work-with-newer-Swift.patch: backported a patch from upstream to use either the timeout or time parameter to the Swift memcache client implementation depending on the version of Swift installed. -- Billy Olsen Tue, 07 Jun 2016 17:00:48 +0200 ** Changed in: swauth (Ubuntu Wily) Status: Fix Committed => Fix Released ** Changed in: swauth (Ubuntu Xenial) Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1582475 Title: Managing access gets HTTP 500 due to using deprecated option timeout To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/swauth/+bug/1582475/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1582475] Re: Managing access gets HTTP 500 due to using deprecated option timeout
This bug was fixed in the package swauth - 1.0.4-0ubuntu1.16.04.1 --- swauth (1.0.4-0ubuntu1.16.04.1) xenial; urgency=medium * Use correct timeout parameter (LP: #1582475) - d/p/0001-Fixed-to-work-with-newer-Swift.patch: backported a patch from upstream to use either the timeout or time parameter to the Swift memcache client implementation depending on the version of Swift installed. -- Billy Olsen Tue, 07 Jun 2016 17:09:12 +0200 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1582475 Title: Managing access gets HTTP 500 due to using deprecated option timeout To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/swauth/+bug/1582475/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1582475] Re: Managing access gets HTTP 500 due to using deprecated option timeout
This bug was fixed in the package swauth - 1.0.4-0ubuntu1.14.04.1 --- swauth (1.0.4-0ubuntu1.14.04.1) trusty; urgency=medium * Use correct timeout parameter (LP: #1582475) - d/p/0001-Fixed-to-work-with-newer-Swift.patch: backported a patch from upstream to use either the timeout or time parameter to the Swift memcache client implementation depending on the version of Swift installed. -- Billy Olsen Tue, 07 Jun 2016 16:53:12 +0200 ** Changed in: swauth (Ubuntu Trusty) Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1582475 Title: Managing access gets HTTP 500 due to using deprecated option timeout To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/swauth/+bug/1582475/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1582475] Re: Managing access gets HTTP 500 due to using deprecated option timeout
** Tags removed: verification-needed ** Tags added: verification-done verification-done-xenial -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1582475 Title: Managing access gets HTTP 500 due to using deprecated option timeout To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/swauth/+bug/1582475/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1582475] Re: Managing access gets HTTP 500 due to using deprecated option timeout
** Tags added: verification-done-trusty ** Tags added: verification-done-wily -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1582475 Title: Managing access gets HTTP 500 due to using deprecated option timeout To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/swauth/+bug/1582475/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1582475] Re: Managing access gets HTTP 500 due to using deprecated option timeout
Hello Billy, or anyone else affected, Accepted swauth into trusty-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/swauth/1.0.4-0ubuntu1.14.04.1 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users. If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision. Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance! ** Changed in: swauth (Ubuntu Trusty) Status: In Progress => Fix Committed ** Tags added: verification-needed ** Changed in: swauth (Ubuntu Wily) Status: In Progress => Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1582475 Title: Managing access gets HTTP 500 due to using deprecated option timeout To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/swauth/+bug/1582475/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1582475] Re: Managing access gets HTTP 500 due to using deprecated option timeout
** Tags added: sts-sru -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1582475 Title: Managing access gets HTTP 500 due to using deprecated option timeout To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/swauth/+bug/1582475/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1582475] Re: Managing access gets HTTP 500 due to using deprecated option timeout
** Tags added: sts-sponsor -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1582475 Title: Managing access gets HTTP 500 due to using deprecated option timeout To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/swauth/+bug/1582475/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1582475] Re: Managing access gets HTTP 500 due to using deprecated option timeout
Billy, I have successfully tested the fix in the package at https://launchpad.net/~billy-olsen/+archive/ubuntu/swauth-lp1582475 against our Mitaka cluster. Everything looks good. Thanks -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1582475 Title: Managing access gets HTTP 500 due to using deprecated option timeout To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/swauth/+bug/1582475/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1582475] Re: Managing access gets HTTP 500 due to using deprecated option timeout
** Changed in: swauth (Ubuntu) Status: New => In Progress ** Changed in: swauth (Ubuntu) Importance: Undecided => Medium ** Tags added: sts ** Changed in: swauth (Ubuntu Trusty) Status: New => In Progress ** Changed in: swauth (Ubuntu Wily) Status: New => In Progress ** Changed in: swauth (Ubuntu Xenial) Status: New => In Progress ** Changed in: swauth (Ubuntu Trusty) Importance: Undecided => Medium ** Changed in: swauth (Ubuntu Wily) Importance: Undecided => Medium ** Changed in: swauth (Ubuntu Xenial) Importance: Undecided => Medium ** Changed in: swauth (Ubuntu Trusty) Assignee: (unassigned) => Billy Olsen (billy-olsen) ** Changed in: swauth (Ubuntu Wily) Assignee: (unassigned) => Billy Olsen (billy-olsen) ** Changed in: swauth (Ubuntu Xenial) Assignee: (unassigned) => Billy Olsen (billy-olsen) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1582475 Title: Managing access gets HTTP 500 due to using deprecated option timeout To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/swauth/+bug/1582475/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1582475] Re: Managing access gets HTTP 500 due to using deprecated option timeout
** Also affects: swauth (Ubuntu Trusty) Importance: Undecided Status: New ** Also affects: swauth (Ubuntu Wily) Importance: Undecided Status: New ** Also affects: swauth (Ubuntu Xenial) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1582475 Title: Managing access gets HTTP 500 due to using deprecated option timeout To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/swauth/+bug/1582475/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1582475] Re: Managing access gets HTTP 500 due to using deprecated option timeout
The attachment "xenial debdiff" seems to be a debdiff. The ubuntu- sponsors team has been subscribed to the bug report so that they can review and hopefully sponsor the debdiff. If the attachment isn't a patch, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are member of the ~ubuntu-sponsors, unsubscribe the team. [This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issue please contact him.] ** Tags added: patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1582475 Title: Managing access gets HTTP 500 due to using deprecated option timeout To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/swauth/+bug/1582475/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1582475] Re: Managing access gets HTTP 500 due to using deprecated option timeout
** Patch added: "wily debdiff" https://bugs.launchpad.net/ubuntu/+source/swauth/+bug/1582475/+attachment/4668771/+files/wily-lp1582475.debdiff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1582475 Title: Managing access gets HTTP 500 due to using deprecated option timeout To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/swauth/+bug/1582475/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1582475] Re: Managing access gets HTTP 500 due to using deprecated option timeout
** Patch added: "xenial debdiff" https://bugs.launchpad.net/ubuntu/+source/swauth/+bug/1582475/+attachment/4668770/+files/xenial-lp1582475.debdiff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1582475 Title: Managing access gets HTTP 500 due to using deprecated option timeout To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/swauth/+bug/1582475/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1582475] Re: Managing access gets HTTP 500 due to using deprecated option timeout
** Patch added: "trusty debdiff" https://bugs.launchpad.net/ubuntu/+source/swauth/+bug/1582475/+attachment/4668772/+files/trusty-lp1582475.debdiff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1582475 Title: Managing access gets HTTP 500 due to using deprecated option timeout To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/swauth/+bug/1582475/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1582475] Re: Managing access gets HTTP 500 due to using deprecated option timeout
Since Yakkety was synced with the 1.1.0 version of the upstream swauth package, it does not need the fix. However, trusty, wily, and xenial all have version 1.0.4 of the swauth package so need this bug fix. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1582475 Title: Managing access gets HTTP 500 due to using deprecated option timeout To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/swauth/+bug/1582475/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1582475] Re: Managing access gets HTTP 500 due to using deprecated option timeout
** Changed in: swauth (Ubuntu) Assignee: (unassigned) => Billy Olsen (billy-olsen) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1582475 Title: Managing access gets HTTP 500 due to using deprecated option timeout To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/swauth/+bug/1582475/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1582475] Re: Managing access gets HTTP 500 due to using deprecated option timeout
** Description changed: [Impact] When running the 1.0.4-0ubuntu1 version of swauth with Swift 2.7.0-0ubuntu2~cloud0 (Swift from trusty-mitaka cloud archive) the server errors out with an error 500 when creating accounts. This prevents users from being able to create or manage accounts using swauth against Mitaka. - root@juju-swauth-machine-1:~# swauth-add-user -A http://127.0.0.1:8080/auth/ -K swauthkey -a test tester testing + root@juju-swauth-machine-1:~# swauth-add-user -A http://127.0.0.1:8080/auth/ -K swauthkey -a test tester testing Account creation failed: 500 Server Error User creation failed: 500 Server Error The upstream Swift release *finally* removed a deprecated timeout parameter for their custom memcache client 'set' function call in https://review.openstack.org/#/c/257065/ in order to maintain api compatible with the official python-memcache client. The minimal fix for this bug is to backport commit c44b5b6 [1], which adds a test to determine if the version of swift has the time option or not. This commit has been removed in the latest version of swauth because swift/swauth no longer support clients < Juno, which would mean they all have the time parameter rather than the timeout parameter. The removal of that code caused this bug to manifest itself. [1] https://github.com/openstack/swauth/commit/c44b5b64489c1721cf05992b14e53b0c8a4e325e - [Test Case] 1. Deploy swift-proxy and swift storage from the trusty-liberty Ubuntu Cloud Archive. 2. Deploy the swauth middleware (apt-get install swauth). 3. Configure swauth following the instructions at http://swauth.readthedocs.io/en/latest/ 4. Create test user: - swauth-add-user -A http[s]://:/auth/ -K swauthkey -a test tester testing + swauth-add-user -A http[s]://:/auth/ -K swauthkey -a test tester testing 5. Ensure it works: - swift -A http[s]://:/auth/v1.0 -U test:tester -K testing stat -v - + swift -A http[s]://:/auth/v1.0 -U test:tester -K testing stat -v [Regression Potential] The cherry-pick of the fix should be fairly safe as the code dates to April 2013. That was, however, on a different version of the swauth code. An error in this code path would prevent servers from being able to use Swift itself as a wsgi middleware auth plugin. - [Other Info] Upstream version 1.1.0 was recently released (after having been defunct since version 1.0.8 for 3 years) with the Mitaka version of OpenStack under the big tent model. The 1.1.0 version was recently synced from debian unstable into yakkety. There's a fair number of changes between 1.0.4 and 1.1.0 that I think warrants more testing and verification - against the trusty-mitaka cloud-archive. + against the trusty-mitaka cloud-archive. However, the minimally invasive + patch will enable this to work across versions providing sooner relief + to any users encountering this issue. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1582475 Title: Managing access gets HTTP 500 due to using deprecated option timeout To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/swauth/+bug/1582475/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs