BGP-as-a-service Heat stack update is not working

Bug #1599596 reported by Vijay Kamisetty
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R3.0
Fix Committed
Undecided
Praneet Bachheti
R3.0.2.x
Fix Committed
Undecided
Praneet Bachheti
R3.1
Fix Committed
Undecided
Praneet Bachheti
Trunk
Fix Committed
Undecided
Praneet Bachheti

Bug Description

BGP-as-a-service Heat stack update is not working.

| stack_status | UPDATE_FAILED |
| stack_status_reason | Exception: resources.template_BgpAsAService: bgp- |
| | as-a-service template_BgpAsAService could not be |
| | updated.

root@node-88:~/heat3.2# heat stack-create bgp-service -f contrail-bgp-asaservice.yaml -e contrail-bgp-asaservice.env
+--------------------------------------+-------------+--------------------+----------------------+
| id | stack_name | stack_status | creation_time |
+--------------------------------------+-------------+--------------------+----------------------+
| a8c46354-0683-4134-8728-5e3220944106 | bgp-service | CREATE_COMPLETE | 2016-07-06T17:53:52Z |
+--------------------------------------+-------------+--------------------+----------------------+
root@node-88:~/heat3.2# heat stack-show bgp-service
+-----------------------+------------------------------------------------------------------------------------------------------------------------------+
| Property | Value |
+-----------------------+------------------------------------------------------------------------------------------------------------------------------+
| capabilities | [] |
| creation_time | 2016-07-06T17:53:52Z |
| description | HOT template to create a BgpAsAService: |
| disable_rollback | True |
| id | a8c46354-0683-4134-8728-5e3220944106 |
| links | http://192.168.2.254:8004/v1/2bc1e6ec2f9a4a82baba85ede0d69a34/stacks/bgp-service/a8c46354-0683-4134-8728-5e3220944106 (self) |
| notification_topics | [] |
| outputs | [] |
| parameters | { |
| | "OS::project_id": "2bc1e6ec2f9a4a82baba85ede0d69a34", |
| | "display_name": "vsrx-bgp", |
| | "OS::stack_id": "a8c46354-0683-4134-8728-5e3220944106", |
| | "OS::stack_name": "bgp-service", |
| | "bgpaas_session_attributes_admin_down": "False", |
| | "name": "vsrx-bgp", |
| | "project": "default-domain:admin", |
| | "bgpaas_session_attributes_address_families_family_6": "inet6", |
| | "bgpaas_session_attributes_address_families_family": "inet", |
| | "bgpaas_session_attributes_hold_time": "60", |
| | "bgpaas_session_attributes_passive": "True", |
| | "bgpaas_ip_address": "10.1.5.5", |
| | "autonomous_system": "64000", |
| | "vmi_refs": "e8764a84-566c-4140-ace6-d3e22cd71cad" |
| | } |
| parent | None |
| stack_name | bgp-service |
| stack_owner | admin |
| stack_status | CREATE_COMPLETE |
| stack_status_reason | Stack CREATE completed successfully |
| stack_user_project_id | 2bc1e6ec2f9a4a82baba85ede0d69a34 |
| template_description | HOT template to create a BgpAsAService: |
| timeout_mins | None |
| updated_time | None |
+-----------------------+------------------------------------------------------------------------------------------------------------------------------+
root@node-88:~/heat3.2#
root@node-88:~/heat3.2#
root@node-88:~/heat3.2#
root@node-88:~/heat3.2#
root@node-88:~/heat3.2#
root@node-88:~/heat3.2#
root@node-88:~/heat3.2#
root@node-88:~/heat3.2# heat stack-update bgp-service -f contrail-bgp-asaservice.yaml -e contrail-bgp-asaservice.env
+--------------------------------------+-------------+--------------------+----------------------+
| id | stack_name | stack_status | creation_time |
+--------------------------------------+-------------+--------------------+----------------------+
| 6628f08b-4ebe-41e9-bf14-8ec83882fc69 | v4v6-nw | DELETE_IN_PROGRESS | 2016-04-17T03:46:51Z |
| 6c78026a-97ce-47da-8ce9-1a29557ba10a | mirror-vn | DELETE_IN_PROGRESS | 2016-04-19T22:51:44Z |
| ba1a9183-399f-45b6-af5c-89c147a72b50 | NW | CREATE_COMPLETE | 2016-05-23T23:55:31Z |
| f56bfd59-b185-4667-b86a-916d770b8993 | SG | CREATE_COMPLETE | 2016-05-24T15:52:25Z |
| ce174275-49b5-44b5-96ea-afe3d67ee1af | v4v6-vn | CREATE_COMPLETE | 2016-06-10T16:07:27Z |
| 50a69985-cded-44f0-96b5-5fcd2ac411a1 | POLICY-1 | CREATE_COMPLETE | 2016-06-14T21:20:35Z |
| 8564cb56-298b-4460-b178-c9d8485e4f39 | MIRROR-VN-1 | CREATE_COMPLETE | 2016-06-15T19:04:33Z |
| 3a47dc98-367f-4565-a5fe-fc143d748a04 | ART | UPDATE_COMPLETE | 2016-06-22T23:41:55Z |
| afd23c0e-6162-497d-a9ae-ed1aa6b0f5f4 | vj-test | CREATE_COMPLETE | 2016-06-28T00:16:49Z |
| 5c22e5ae-e925-4f3d-8aae-17d6c1fa9c2f | vsrx-bgp | CREATE_COMPLETE | 2016-07-06T17:41:06Z |
| a8c46354-0683-4134-8728-5e3220944106 | bgp-service | UPDATE_FAILED | 2016-07-06T17:53:52Z |
+--------------------------------------+-------------+--------------------+----------------------+
root@node-88:~/heat3.2# heat stack-show bgp-service
+-----------------------+------------------------------------------------------------------------------------------------------------------------------+
| Property | Value |
+-----------------------+------------------------------------------------------------------------------------------------------------------------------+
| capabilities | [] |
| creation_time | 2016-07-06T17:53:52Z |
| description | HOT template to create a BgpAsAService: |
| disable_rollback | True |
| id | a8c46354-0683-4134-8728-5e3220944106 |
| links | http://192.168.2.254:8004/v1/2bc1e6ec2f9a4a82baba85ede0d69a34/stacks/bgp-service/a8c46354-0683-4134-8728-5e3220944106 (self) |
| notification_topics | [] |
| outputs | [] |
| parameters | { |
| | "OS::project_id": "2bc1e6ec2f9a4a82baba85ede0d69a34", |
| | "display_name": "vsrx-bgp", |
| | "OS::stack_id": "a8c46354-0683-4134-8728-5e3220944106", |
| | "OS::stack_name": "bgp-service", |
| | "bgpaas_session_attributes_admin_down": "False", |
| | "name": "vsrx-bgp", |
| | "project": "default-domain:admin", |
| | "bgpaas_session_attributes_address_families_family_6": "inet6", |
| | "bgpaas_session_attributes_address_families_family": "inet", |
| | "bgpaas_session_attributes_hold_time": "60", |
| | "bgpaas_session_attributes_passive": "True", |
| | "bgpaas_ip_address": "10.1.5.5", |
| | "autonomous_system": "64000", |
| | "vmi_refs": "2ab8e504-687d-4c70-a62b-fad1de4725f4" |
| | } |
| parent | None |
| stack_name | bgp-service |
| stack_owner | admin |
| stack_status | UPDATE_FAILED |
| stack_status_reason | Exception: resources.template_BgpAsAService: bgp- |
| | as-a-service template_BgpAsAService could not be |
| | updated. |
| stack_user_project_id | 2bc1e6ec2f9a4a82baba85ede0d69a34 |
| template_description | HOT template to create a BgpAsAService: |
| timeout_mins | None |
| updated_time | 2016-07-06T17:57:32Z |
+-----------------------+------------------------------------------------------------------------------------------------------------------------------+
root@node-88:~/heat3.2#

Tags: att-aic
Revision history for this message
Vijay Kamisetty (vkamiset) wrote :
Revision history for this message
Vijay Kamisetty (vkamiset) wrote :

ENV File

Revision history for this message
Vijay Kamisetty (vkamiset) wrote :

root@node-88:~/heat3.2# heat event-list bgp-service
+------------------------+--------------------------------------+------------------------------------------------------------------------------------------------------------+--------------------+----------------------+
| resource_name | id | resource_status_reason | resource_status | event_time |
+------------------------+--------------------------------------+------------------------------------------------------------------------------------------------------------+--------------------+----------------------+
| template_BgpAsAService | 64b8e35d-4552-41dc-8987-af161ae46ad9 | Exception: resources.template_BgpAsAService: bgp-as-a-service template_BgpAsAService could not be updated. | UPDATE_FAILED | 2016-07-06T17:57:32Z |
| template_BgpAsAService | 6302f404-c772-4f46-9760-aef8dfd24d25 | state changed | UPDATE_IN_PROGRESS | 2016-07-06T17:57:32Z |
| bgp-service | f71ff776-521f-4bdb-9c44-1c8d77b617bc | Stack UPDATE started | UPDATE_IN_PROGRESS | 2016-07-06T17:57:32Z |
| bgp-service | 2c8940d6-5807-486d-9913-6f9b68612a25 | Stack CREATE completed successfully | CREATE_COMPLETE | 2016-07-06T17:53:53Z |
| template_BgpAsAService | afe85a62-ff3d-45b9-bf36-522139838297 | state changed | CREATE_COMPLETE | 2016-07-06T17:53:53Z |
| template_BgpAsAService | 606f9b8b-9242-464f-939c-3ef6db439dc7 | state changed | CREATE_IN_PROGRESS | 2016-07-06T17:53:52Z |
| bgp-service | 775a3d02-7230-4968-956d-dac9e556d6f3 | Stack CREATE started | CREATE_IN_PROGRESS | 2016-07-06T17:53:52Z |
+------------------------+--------------------------------------+------------------------------------------------------------------------------------------------------------+--------------------+----------------------+
root@node-88:~/heat3.2#

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

Review in progress for https://review.opencontrail.org/21771
Submitter: Praneet Bachheti (<email address hidden>)

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

Review in progress for https://review.opencontrail.org/21772
Submitter: Praneet Bachheti (<email address hidden>)

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

Review in progress for https://review.opencontrail.org/21773
Submitter: Praneet Bachheti (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/21772
Committed: http://github.org/Juniper/contrail-generateDS/commit/1769e7aa6fa39e8637a6c57bfba11802122c6744
Submitter: Zuul
Branch: R3.0

commit 1769e7aa6fa39e8637a6c57bfba11802122c6744
Author: Praneet Bachheti <email address hidden>
Date: Fri Jul 8 14:33:58 2016 -0700

Change heat stack-update code to conform to
the vnc_api. When attr is not specified, library
expects a dict instead of just fq_name

Change-Id: I80cc21e1148117e209e3027493762350ce11e53f
Closes-bug: #1599596

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

Reviewed: https://review.opencontrail.org/21773
Committed: http://github.org/Juniper/contrail-generateDS/commit/35d82e12f282d818c13f61c5f461803e38c2b190
Submitter: Zuul
Branch: R3.0.2.x

commit 35d82e12f282d818c13f61c5f461803e38c2b190
Author: Praneet Bachheti <email address hidden>
Date: Fri Jul 8 14:34:28 2016 -0700

Change heat stack-update code to conform to
the vnc_api. When attr is not specified, library
expects a dict instead of just fq_name

Change-Id: I8730fc5e751501c5393d5bd981029009329fc9cc
Closes-bug: #1599596

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

Reviewed: https://review.opencontrail.org/21771
Committed: http://github.org/Juniper/contrail-generateDS/commit/f2d180f47623c681ec86939987417920560e028b
Submitter: Zuul
Branch: master

commit f2d180f47623c681ec86939987417920560e028b
Author: Praneet Bachheti <email address hidden>
Date: Fri Jul 8 14:32:13 2016 -0700

Change heat stack-update code to conform to
the vnc_api. When attr is not specified, library
expects a dict instead of just fq_name

Change-Id: I1aa7b22b08cda4310cd3f4e85fd33dbf9f1cb013
Closes-bug: #1599596

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

Review in progress for https://review.opencontrail.org/22015
Submitter: Praneet Bachheti (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/22015
Committed: http://github.org/Juniper/contrail-generateDS/commit/d5b007770dcca64767d8fe7baea5bafad33e831a
Submitter: Zuul
Branch: R3.1

commit d5b007770dcca64767d8fe7baea5bafad33e831a
Author: Praneet Bachheti <email address hidden>
Date: Fri Jul 8 14:32:13 2016 -0700

Change heat stack-update code to conform to
the vnc_api. When attr is not specified, library
expects a dict instead of just fq_name

Change-Id: I1aa7b22b08cda4310cd3f4e85fd33dbf9f1cb013
Closes-bug: #1599596

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.