Failed to update the root certificate: cacert.pem ERROR: Unauthorized (HTTP 401)
We're attempting to run devstack on an old test machine and are getting the following error:
2013-07-18 03:39:12 + /home/stack/devstack/tools/create_userrc.sh -PA --target-dir /home/stack/devstack/accrc
2013-07-18 03:39:24 ERROR: Unauthorized (HTTP 401)
2013-07-18 03:39:24 Failed to update the root certificate: /home/stack/devstack/accrc/cacert.pem
For some reason we are getting an authentication 401 error and can't locate the issue or find a solution. All other related issues seem to get a 500 error. and thus none of those fixes work. Following this main error we get a sequence of:
2013-07-18 03:39:29 +-----------+----------------------------------+
2013-07-18 03:39:29 | Property | Value |
2013-07-18 03:39:29 +-----------+----------------------------------+
2013-07-18 03:39:29 | access | c2b7fb468a4f403dbd01a1ad9c323acb |
2013-07-18 03:39:29 | secret | c3c7dccf0fa8427aa65ec666bfc0a461 |
2013-07-18 03:39:29 | tenant_id | e616079d0b7e4907b450b57be04505a2 |
2013-07-18 03:39:29 | user_id | e2124c1ff74340c3a792fc7379d9f216 |
2013-07-18 03:39:29 +-----------+----------------------------------+
2013-07-18 03:39:39 ERROR: Unauthorized (HTTP 401)
2013-07-18 03:39:42 +-----------+----------------------------------+
2013-07-18 03:39:42 | Property | Value |
2013-07-18 03:39:42 +-----------+----------------------------------+
2013-07-18 03:39:42 | access | 52183a4134e7438db47c2f069a145b4e |
2013-07-18 03:39:42 | secret | a149ccdfd92142bf9f1d521dae313fd0 |
2013-07-18 03:39:42 | tenant_id | 00de0d55ecad4fe8be8b9836a6cd103a |
2013-07-18 03:39:42 | user_id | cee14f0b83964f94aeae07b325a333ce |
2013-07-18 03:39:42 +-----------+----------------------------------+
2013-07-18 03:39:45 ERROR: Unauthorized (HTTP 401)
2013-07-18 03:39:48 +-----------+----------------------------------+
2013-07-18 03:39:48 | Property | Value |
2013-07-18 03:39:48 +-----------+----------------------------------+
2013-07-18 03:39:48 | access | 547b48140f1241b9b9458a11744c4451 |
2013-07-18 03:39:48 | secret | bf4b1eec597843008d679fc7a1088b88 |
2013-07-18 03:39:48 | tenant_id | 83b499c30503459890d657fef139d934 |
2013-07-18 03:39:48 | user_id | e2124c1ff74340c3a792fc7379d9f216 |
2013-07-18 03:39:48 +-----------+----------------------------------+
2013-07-18 03:39:50 ERROR: Unauthorized (HTTP 401)
2013-07-18 03:39:52 +-----------+----------------------------------+
2013-07-18 03:39:52 | Property | Value |
2013-07-18 03:39:52 +-----------+----------------------------------+
2013-07-18 03:39:52 | access | f84c714d68be479db95df4c722b604f2 |
2013-07-18 03:39:52 | secret | 2423ed66f9964af2a8b589b8e8318e21 |
2013-07-18 03:39:52 | tenant_id | 83b499c30503459890d657fef139d934 |
2013-07-18 03:39:52 | user_id | 4ecea74e61eb4d438c036274d6a2cc14 |
2013-07-18 03:39:52 +-----------+----------------------------------+
2013-07-18 03:39:54 ERROR: Unauthorized (HTTP 401)
2013-07-18 03:39:57 +-----------+----------------------------------+
2013-07-18 03:39:57 | Property | Value |
2013-07-18 03:39:57 +-----------+----------------------------------+
2013-07-18 03:39:57 | access | 394f8e5010904cb0ae1b0f7d1c0b4bd7 |
2013-07-18 03:39:57 | secret | 505914f5b1bc42e9a0d93aa7d0565026 |
2013-07-18 03:39:57 | tenant_id | fbeaf18bd5164a96bbf04236ca333d90 |
2013-07-18 03:39:57 | user_id | 4ecea74e61eb4d438c036274d6a2cc14 |
2013-07-18 03:39:57 +-----------+----------------------------------+
2013-07-18 03:39:59 ERROR: Unauthorized (HTTP 401)
It looks as though the system is trying to setup the users and is unable to do so. Any help or advice is greatly appreciated!
I had the same problem here for devstack building on Fedora 19, looking for a solution