3342: ADS authentication not available after upgrade
- SetupIssue
- Review Board
tjbu****@gmai***** (Google Code) (Is this you? Claim this profile.) | |
May 16, 2014 |
What version are you running? 2.0rc3 Commit 5e8b1ba779196e9b09a02ed3c7d9dd7c06ccb431 What's the URL of the page containing the problem? http://<hostname>/admin/settings/authentication What steps will reproduce the problem? 1. Log in to Review Board 2. Select Admin 3. Select Authentication What is the expected output? What do you see instead? I expect to see a list of the usually supported authentication methods, including LDAP and ADS What I see after this update is 'Standard Authentication' 'Legacy Authentication' What operating system are you using? What browser? Using Ubuntu 12.04.4 LTS, recent firefox browser Please provide any additional information below. Our previous Reviewboard provided the full list of authentication methods, Reviewboard 2.0rc2. I suspect this is related to the Djblets update performed at the same time. Rolling back to these previous Reviewboard and Djblets versions, and updating rb-site eliminates the problem. The previous Reviewboard and Djblets versions are about 1 week old, I can find exact commit tags if needed.
Commands as follows. There was also an update to Django to track the latest requirements. Unpack djblets tarball cd djblets python setup.py build python setup.py install cd .. Unpack reviewboard tarball cd reviewboard python setup.py build python setup.py install rb-site upgrade /srv/reviewboard/reviews.cea.com.au /etc/init.d/memcached stop;/etc/init.d/apache2 restart;/etc/init.d/memcached start
The machine in question is not connected to the internet, so I cannot download eggs directly with setuptools, or similar. I have generally found it easier to install from source, particularly when tracking release candidates. This is mostly a habit I have built up while supporting Trac, and also do with Reviewboard now.
I fetched the latest djblets and reviewboard using git today, and installed as normal. All is OK now - ADS configuration is present and working. One difference today is that I cleared my web browser cache history of everything today, as I have found that helps with reviewboard upgrades sometimes. I thought I had done that previously, but was only clearing one day, not everything.
OK. My guess is that there was a VersionConflict somewhere between installed versions of different packages and their different requirements. When that happens, python won't load any entrypoints, which would manifest as missing authentication backends/SCM backends/hosting services. Glad it's working now.
-
- NeedInfo + SetupIssue