Ask Your Question
1

Failed to update the root certificate: cacert.pem ERROR: Unauthorized (HTTP 401)

asked 2013-07-18 10:57:49 -0600

jacksoar gravatar image

updated 2013-07-19 16:41:40 -0600

smaffulli gravatar image

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!

edit retag flag offensive close merge delete

Comments

I had the same problem here for devstack building on Fedora 19, looking for a solution

zhipengh gravatar imagezhipengh ( 2013-12-07 21:45:10 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2014-07-29 20:58:00 -0600

fifieldt gravatar image

DevStack rarely suffers from random failures and should always work when set up correctly, however sometimes it does happen. When you encounter a failure such as this, please file a bug at http://bugs.launchpad.net/devstack so the developers can take a look

While you wait, in general, re-running devstack from scratch will fix the issue.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2013-07-18 10:57:49 -0600

Seen: 630 times

Last updated: Jul 29 '14