2016-07-06 18:04:13 |
Vijay Kamisetty |
description |
BGP-as-a-service Heat stack update is not working.
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# |
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# |
|