Vcenter-as-compute: openstack endpoint create fails without aborting fab setup_all

Bug #1693348 reported by Sarath
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R4.0
Fix Committed
Critical
amudhar
Trunk
Fix Committed
Critical
amudhar

Bug Description

Issue seen on Vcenter-as-compute Sanity with latest R4.0 #9

openstack endpoint create fails during fab setup_all and this also not aborting fab setup_all
Debugged with Senthil and on retrying this "openstack endpoint create" manually it works as work-around.

Please find below the details,

>>> fab setup_all logs

::
2017-05-23 09:17:18:492307: [root@10.87.36.10] out: + openstack endpoint create --region RegionOne 09d7e047c315480ea03b43c6fba4a291 --publicurl 'http://10.87.36.25:8774/v2.1/$(tenant_id)s' --adminurl 'http://localhost:8774/v2.1/$(tenant_id)s' --internalurl 'http://10.87.36.25:8774/v2.1/$(tenant_id)s'
2017-05-23 09:17:18:492385: [root@10.87.36.10] out: The request you have made requires authentication. (HTTP 401) (Request-ID: req-a16af54b-1a59-456e-a3cd-ac18fb2a2cdf)
::

>>> retry manually it worked fine..
root@5a10s31:~# openstack endpoint create --region RegionOne 09d7e047c315480ea03b43c6fba4a291 --publicurl 'http://10.87.36.25:8774/v2.1/$(tenant_id)s' --adminurl 'http://localhost:8774/v2.1/$(tenant_id)s' --internalurl 'http://10.87.36.25:8774/v2.1/$(tenant_id)s'
+--------------+--------------------------------------------+
| Field | Value |
+--------------+--------------------------------------------+
| adminurl | http://localhost:8774/v2.1/$(tenant_id)s |
| id | 7b6c9f15b96942aea4af1582de77eb88 |
| internalurl | http://10.87.36.25:8774/v2.1/$(tenant_id)s |
| publicurl | http://10.87.36.25:8774/v2.1/$(tenant_id)s |
| region | RegionOne |
| service_id | 09d7e047c315480ea03b43c6fba4a291 |
| service_name | nova |
| service_type | compute |
+--------------+--------------------------------------------+

Revision history for this message
Sarath (nsarath) wrote :

nsarath@ubuntu-build04:/auto/cores/1693348$ ls -ltrd *
-rwxrwxrwx 1 nsarath test 10240 May 24 13:41 Ctrl-A-Utils.tar
-rwxrwxrwx 1 nsarath test 77844480 May 24 13:41 Kvm-1-log.tar
-rwxrwxrwx 1 nsarath test 62085120 May 24 13:41 Esxi-2-log.tar
-rwxrwxrwx 1 nsarath test 62136320 May 24 13:41 Esxi-1-log.tar
-rwxrwxrwx 1 nsarath test 413665280 May 24 13:41 Ctrl-B-log.tar
-rwxrwxrwx 1 nsarath test 61634560 May 24 13:41 Esxi-3-log.tar
-rwxrwxrwx 1 nsarath test 38615040 May 24 13:41 Nova-node-log.tar
-rwxrwxrwx 1 nsarath test 78653440 May 24 13:42 Kvm-2-log.tar
-rwxrwxrwx 1 nsarath test 938670080 May 24 13:42 Ctrl-C-log.tar
-rwxrwxrwx 1 nsarath test 976977920 May 24 13:42 Ctrl-A-log.tar

Jeba Paulaiyan (jebap)
tags: added: blocker
Revision history for this message
amudhar (amudha) wrote :

Please share testbed when issue seen with latest mitaka deb.

Revision history for this message
Jeba Paulaiyan (jebap) wrote :

As per last update in e-mails, testbed has been shared with the dev engineer.

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/32224
Submitter: amudha ramachandran (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Review in progress for https://review.opencontrail.org/32225
Submitter: amudha ramachandran (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R4.0

Review in progress for https://review.opencontrail.org/32226
Submitter: amudha ramachandran (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Review in progress for https://review.opencontrail.org/32227
Submitter: amudha ramachandran (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/32224
Submitter: amudha ramachandran (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R4.0

Review in progress for https://review.opencontrail.org/32226
Submitter: amudha ramachandran (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/32225
Committed: http://github.com/Juniper/contrail-packaging/commit/dbb7e964dfdd02271c7aa4fd1ce09e99f6ce813c
Submitter: Zuul (<email address hidden>)
Branch: master

commit dbb7e964dfdd02271c7aa4fd1ce09e99f6ce813c
Author: Amudha <email address hidden>
Date: Sat May 27 21:58:21 2017 -0700

Fix openstack endpoint create failure

-> Starting mitaka, barbican-api runs behind apache2, remove barbican-api
and barbican-worker from supervisord-openstack

Change-Id: Iacf5b82d60cb74e89ce290efb555b7d9a36cd435
Closes-Bug: #1693348

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/32224
Committed: http://github.com/Juniper/contrail-provisioning/commit/b1c44be46d8da438aada7b768782d70a979f6ff6
Submitter: Zuul (<email address hidden>)
Branch: master

commit b1c44be46d8da438aada7b768782d70a979f6ff6
Author: Amudha <email address hidden>
Date: Sun May 28 05:43:00 2017 -0700

Fix openstack endpoint create failure

-> Starting mitaka, barbican-api runs behind apache2, remove barbican-api
and barbican-worker from supervisord-openstack
-> In mitaka, use keystone command to create nova endpoint
-> Move contrail-ha-newton-keystone-setup.sh from openstack/scripts to openstack/ha/scripts

Change-Id: Iacf5b82d60cb74e89ce290efb555b7d9a36cd435
Closes-Bug: #1693348

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/32226
Committed: http://github.com/Juniper/contrail-provisioning/commit/69143c4bd7fb0e45912c2e78371956e71afd9fd7
Submitter: Zuul (<email address hidden>)
Branch: R4.0

commit 69143c4bd7fb0e45912c2e78371956e71afd9fd7
Author: Amudha <email address hidden>
Date: Sun May 28 05:43:00 2017 -0700

Fix openstack endpoint create failure

-> Starting mitaka, barbican-api runs behind apache2, remove barbican-api
and barbican-worker from supervisord-openstack
-> In mitaka, use keystone command to create nova endpoint
-> Move contrail-ha-newton-keystone-setup.sh from openstack/scripts to openstack/ha/scripts

Change-Id: Iacf5b82d60cb74e89ce290efb555b7d9a36cd435
Closes-Bug: #1693348

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/32227
Committed: http://github.com/Juniper/contrail-packaging/commit/3abd5b0ea5af74c4a6749bb7917b373fd7a130a8
Submitter: Zuul (<email address hidden>)
Branch: R4.0

commit 3abd5b0ea5af74c4a6749bb7917b373fd7a130a8
Author: Amudha <email address hidden>
Date: Sat May 27 21:58:21 2017 -0700

Fix openstack endpoint create failure

-> Starting mitaka, barbican-api runs behind apache2, remove barbican-api
and barbican-worker from supervisord-openstack

Change-Id: Iacf5b82d60cb74e89ce290efb555b7d9a36cd435
Closes-Bug: #1693348

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/32381
Submitter: amudha ramachandran (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R4.0

Review in progress for https://review.opencontrail.org/32382
Submitter: amudha ramachandran (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/32382
Committed: http://github.com/Juniper/contrail-provisioning/commit/7b06ac3fdce9fff7798c5a3b7605143d49004c0e
Submitter: Zuul (<email address hidden>)
Branch: R4.0

commit 7b06ac3fdce9fff7798c5a3b7605143d49004c0e
Author: Amudha <email address hidden>
Date: Thu Jun 1 20:29:45 2017 -0700

Fix error in barbican-server-setup.sh

Change-Id: Icb787160e1b7c1eb43fef6ce8b72a023dfd50811
Closes-Bug: #1693348

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/32381
Committed: http://github.com/Juniper/contrail-provisioning/commit/0bae0e8c54330edcf83c969cebc40ae8c37dd96f
Submitter: Zuul (<email address hidden>)
Branch: master

commit 0bae0e8c54330edcf83c969cebc40ae8c37dd96f
Author: Amudha <email address hidden>
Date: Thu Jun 1 20:29:45 2017 -0700

Fix error in barbican-server-setup.sh

Change-Id: Icb787160e1b7c1eb43fef6ce8b72a023dfd50811
Closes-Bug: #1693348

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.