summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2018-05-14Increase robustness for TCALusheng Ji5-26/+120
Enhanced TCA robustness against unprovisioned topics. When the configuration tells TCA to subscribe to a non-existent MR topic, TCA will attempt but stop because subscribing to such topics resulted failure. The enhancements implemented here will test for sub topic, and if non-existent, make a publish to create the topic. Additional enhancements include: 1. restart TCA is the number of workers is below expected (3); 2. allow MR subscriber group and id be set via environment variables DMAAPSUBGROUP and DMAAPSUBID. 3. Minor version is bumped. Issue-ID: DCAEGEN2-502 Change-Id: I3414a96706a1b720184cd657324db4d11db12590 Signed-off-by: Lusheng Ji <lji@research.att.com>
2018-05-14Fix Consul configuration for VESLusheng Ji1-1/+1
Issue-ID: DCAEGEN2-506 Change-Id: Ia82bf731fb018e4ae7063a22db87482d2bba6391 Signed-off-by: Lusheng Ji <lji@research.att.com>
2018-05-12Change VES measurement data topic, etcLusheng Ji2-2/+2
1. change VES measurement data topic 2. fix bootstrap container image version Issue-ID: DCAEGEN2-502 Issue-ID: DCAEGEN2-499 Change-Id: I1220b888d3b2ecaf8876868863c2964193ac0301 Signed-off-by: Lusheng Ji <lji@research.att.com>
2018-05-11Change VES measuremen topicLusheng Ji1-2/+2
Change VES measurement data topic from unauthenticated.SEC_MEASUREMENT_OUTPUT to unauthenticated.VES_MEASUREMENT_OUTPUT. Issue-ID: DCAEGEN2-502 Change-Id: I237bb1b4789031ea8d126810212dc2e610e881f6 Signed-off-by: Lusheng Ji <lji@research.att.com>
2018-05-10Fix config format backwards compatibilityLusheng Ji5-78/+121
Issue-ID: DCAEGEN2-501 Change-Id: I8638518c7e72547d6fc4262f4e815dede9b9fb78 Signed-off-by: Lusheng Ji <lji@research.att.com>
2018-05-10Fix typo in policy handler registrationJack Lucas2-3/+6
Also fix naming/namespacing for Cloudify Manager Consul registration. Change-Id: Ie8d03651e4de2236d520be70b8c3170b03e9c97f Issue-ID: DCAEGEN2-496 Signed-off-by: Jack Lucas <jflucas@research.att.com>
2018-05-10Remove hard-coded namespace referenceJack Lucas2-4/+10
Change-Id: I5f500c0f00ea8188a3eaffcde7a10807a03fc59c Issue-ID: DCAEGEN2-496 Signed-off-by: Jack Lucas <jflucas@research.att.com>
2018-05-10Fix healthcheck to check specific deploymentsJack Lucas4-31/+72
Change-Id: Idc6a3eece4e3aaba83a0b2388f2ae6c2407471a5 Issue-ID: DCAEGEN2-493 Signed-off-by: Jack Lucas <jflucas@research.att.com>
2018-05-08Set containers restart policyLusheng Ji5-23/+112
1. set container restart policy 2. modify naming for some containers for consistency Issue-ID: DCAEGEN2-494 Change-Id: I49dc93e3e18d8b30f06bb913a7d52493e26f9e61 Signed-off-by: Lusheng Ji <lji@research.att.com>
2018-05-04Do not quit if BP deployment times outLusheng Ji1-2/+2
Issue-ID: DCAEGEN2-489 Change-Id: Ia21f31a73f1414e6869807c793f26ed143d8c9cf Signed-off-by: Lusheng Ji <lji@research.att.com>
2018-05-04Enable debug for deployment handlerLusheng Ji1-0/+1
Issue-ID: DCAEGEN2-487 Change-Id: Id35270dae823c5078fb8ae5f8e60c6dcc62d4350 Signed-off-by: Lusheng Ji <lji@research.att.com>
2018-05-01config pull for non-policy blueprint deployvagrant1-1/+12
Change-Id: Id91a9a6ca7eccf2462da0454fc87ad56a02c2dee Signed-off-by: Vijay Venkatesh Kumar <vv770d@att.com> Issue-ID: DCAEGEN2-480
2018-05-01Remove Consul service deregister timerLusheng Ji1-6/+3
Issue-ID: DCAEGEN2-481 Change-Id: I5086cd181d4c83f7c7e49cd0eb0b6942d12990d0 Signed-off-by: Lusheng Ji <lji@research.att.com>
2018-04-30Add service component deploymentJack Lucas2-9/+13
Includes making a Consul service entry for policy handler, needed by CM policy plugin. Change-Id: I1697e70603b85a7a2a7a654e04773dbcbd6145b9 Issue-ID: DCAEGEN2-421 Signed-off-by: Jack Lucas <jflucas@research.att.com>
2018-04-28Merge "Initialize DCAE postgres instance"Lusheng Ji3-3/+14
2018-04-27Initialize DCAE postgres instanceJack Lucas3-3/+14
Change-Id: Ib61ec4d1a9351945cbeb230338245d18bc96857d Issue-ID: DCAEGEN2-477 Signed-off-by: Jack Lucas <jflucas@research.att.com>
2018-04-27Merge "fix typo on tca container startup"Lusheng Ji1-1/+1
2018-04-26Merge "Add env variable for CBS"Vijay Venkatesh Kumar1-0/+2
2018-04-26Add env variable for CBSLusheng Ji1-0/+2
Issue-ID: DCAEGEN2-464 Change-Id: I4c42c1cef831c425bb5fa6f6fedeb63c30b68f26 Signed-off-by: Lusheng Ji <lji@research.att.com>
2018-04-26fix typo on tca container startupvagrant1-1/+1
Change-Id: I3e4fa5551f4cc25ceed094234d152df8dfcc8b9b Signed-off-by: Vijay Venkatesh Kumar <vv770d@att.com> Issue-ID: DCAEGEN2-464
2018-04-26fix restart script policy fetch logicvagrant1-1/+1
Change-Id: I8ebf079a9a1c5e064fdbae216663fb050e9fd71e Signed-off-by: Vijay Venkatesh Kumar <vv770d@att.com> Issue-ID: DCAEGEN2-464
2018-04-26fix typo on tca restart scriptvagrant1-1/+1
Change-Id: Idff8936a380704647e0de43b301ff9d3396f69e8 Signed-off-by: Vijay Venkatesh Kumar <vv770d@att.com> Issue-ID: DCAEGEN2-464
2018-04-23Mod restart.sh for new policy config formatLusheng Ji1-17/+33
Issue-ID: DCAEGEN2-348 Change-Id: Ie414d6a11ebe3fbca7b284473fbf8d00e4c0f6e7 Signed-off-by: Lusheng Ji <lji@research.att.com>
2018-04-23Add docker script healthcheck for snmptrapLusheng Ji1-2/+4
Issue-ID: DCAEGEN2-465 Change-Id: I76065b2407aef01d8d5d2c25ad2fb288aa21e986 Signed-off-by: Lusheng Ji <lji@research.att.com>
2018-04-20fixing heat deployment issues notedvagrant3-1/+16
Plugin Script is common between K8S and Heat deploy, incorporating additonal required plugin. Modified registration to include dockerhost login info Change-Id: I228cdb2e48c47cc698a19986ccf12b6d21ab265c Signed-off-by: Vijay Venkatesh Kumar <vv770d@att.com> Issue-ID: DCAEGEN2-464
2018-04-20Merge "Using IP address for Consul services"Vijay Venkatesh Kumar1-50/+287
2018-04-20Using IP address for Consul servicesLusheng Ji1-50/+287
1. Using IP address instead of hostname when registering with Consul 2. improved readability of KV's by single-quoting value JSON Issue-ID: DCAEGEN2-434 Change-Id: I965c5229223a194d14a529819b57842d645470f6 Signed-off-by: Lusheng Ji <lji@research.att.com>
2018-04-20Add healthcheck container for OOMJack Lucas7-1/+382
Change-Id: Ie4719a0e4705901fd9d0fa3504696fbefc6c704a Issue-ID: DCAEGEN2-461 Signed-off-by: Jack Lucas <jflucas@research.att.com>
2018-04-19policy-handler to accept CLAMP policy-updatesAlex Shatov1-2/+2
- change config of policy-handler to have CLAMP as a valid scope_prefix in consul-kv scope_prefixes : ["DCAE.Config_", "CLAMP"] Change-Id: I5eda1e7c7588e632d97bc4b3422edc3b5295d0e4 Signed-off-by: Alex Shatov <alexs@att.com> Issue-ID: DCAEGEN2-449
2018-04-18fix consul registration for heatvagrant1-2/+2
Change-Id: I4dc19733d8cd66076cf6132a62fb40c54c50f19e Signed-off-by: Vijay Venkatesh Kumar <vv770d@att.com> Issue-ID: DCAEGEN2-446
2018-04-17Update k8s plugin to 1.1.0, policy to 2.3.0Jack Lucas4-6/+6
Change-Id: I91948175a56f902c9d4c2dade5c3a6ead8c9790a Issue-ID: DCAEGEN2-447 Signed-off-by: Jack Lucas <jflucas@research.att.com>
2018-04-17Add teardown, pullall, and a fixLusheng Ji3-1/+74
1. Add a teardown script 2. Add a pullall image script 3. Run docker exec as detached for loading CM pugins Issue-ID: DCAEGEN2-434 Change-Id: I198e32819af14f182a3435c0f3c5d82e391ae448 Signed-off-by: Lusheng Ji <lji@research.att.com>
2018-04-17Fix docker script as healthcheck etcLusheng Ji5-111/+80
1. fix docker script as healthcheck for service change handler 2. improve docker compose blocks for stretch goal container 3. fix instaling plugins to cloudify manager 4. add one more plugin to build/upload: dockerplugin. Issue-ID: DCAEGEN2-434 Change-Id: I997d8564fe0ee0cf5a013b042eb6c0e9fb331276 Signed-off-by: Lusheng Ji <lji@research.att.com>
2018-04-16Add support for HEAT installJack Lucas2-1/+11
Issue-ID: DCAEGEN2-416 Change-Id: I7aeb895c6a6f461923b2a67d0ba099e9f7907dfc Signed-off-by: Jack Lucas <jflucas@research.att.com>
2018-04-16Fix TCA preferences URL typoLusheng Ji8-638/+3
Also removing files under R2MVP. All files under R2MVP are under the heat dir now Issue-ID: DCAEGEN2-434 Change-Id: I69191e81537a84ededcb78aa9d45c4c0e2d659f1 Signed-off-by: Lusheng Ji <lji@research.att.com>
2018-04-16Merge "Heat deployment files"Vijay Venkatesh Kumar7-66/+598
2018-04-16Heat deployment filesLusheng Ji7-66/+598
Issue-ID: DCAEGEN2-434 Change-Id: Iaaeaa4b7556f524617228ede618c2ab5a095c4de Signed-off-by: Lusheng Ji <lji@research.att.com>
2018-04-16Add heat deployment filesLusheng Ji7-0/+551
Issue-ID: DCAEGEN2-434 Change-Id: I6e59ca9052e817bfd755b9362497e72066744c89 Signed-off-by: Lusheng Ji <lji@research.att.com>
2018-04-15Add wait for consul/CBS infoLusheng Ji1-3/+10
Issue-ID: DCAEGEN2-257 Change-Id: I9c62e59f2f0b34afcbf101ddc72b3bcec63caaf2 Signed-off-by: Lusheng Ji <lji@research.att.com>
2018-04-09Update plugin versions, blueprint listJack Lucas3-5/+6
Change-Id: Ia6d853b1d75bf4ebf527806b9d056282a21811ec Issue-ID: DCAEGEN2-421 Signed-off-by: Jack Lucas <jflucas@research.att.com>
2018-04-08Merge "Fix resource download links to R1 locations"Vijay Venkatesh Kumar1-19/+16
2018-04-07Fix resource download links to R1 locationsLusheng Ji1-19/+16
Since DCAEGEN2-433 is a fix for Amsterdam boostrap, pointing to R1 resource locations instead of letting the build jobs de-templating, which would point to R2 resource locations. Issue-ID: DCAEGEN2-433 Change-Id: Id794ae8fa71c00c3312c68e764766e8e06786fa4 Signed-off-by: Lusheng Ji <lji@research.att.com>
2018-04-06Update list of type filesJack Lucas3-10/+33
Change-Id: I059269176399071db8f2a11f00b16d687d18525b Issue-ID: DCAEGEN2-416 Signed-off-by: Jack Lucas <jflucas@research.att.com>
2018-04-06Merge "Fix pip version"Vijay Venkatesh Kumar2-1/+4
2018-04-05Fix pip versionLusheng Ji2-1/+4
Virtualenv automatically pulls the newest pip. Pip 10.0.0 was release on 2018/03/31. This new version no longer supports the --use-wheel option. Hence when running wagon install, which depends on pip --use-wheel, the bootstrap container quits. Fix: add a line to force pip to be a specific version, not auto to newest. Issue-ID: DCAEGEN2-433 Change-Id: I2d7e0a71c1b50682458abb658c62914931115869 Signed-off-by: Lusheng Ji <lji@research.att.com>
2018-04-05update default configuration for heat deployvagrant3-4/+6
Change-Id: I0ca2db24c757a5a8372e83ba1b7dbf5eb67b7d69 Signed-off-by: Vijay Venkatesh Kumar <vv770d@att.com> Issue-ID: DCAEGEN2-434
2018-04-05Fix poll policy errorLusheng Ji1-3/+18
Issue-ID: DCAEGEN2-206 Change-Id: I728d00bd74a6cdc5b1aca520efe77f686ef9aae0 Signed-off-by: Lusheng Ji <lji@research.att.com>
2018-04-05Merge "Add more Consul registrations"Vijay Venkatesh Kumar2-3/+35
2018-04-05Fix TCA imageLusheng Ji8-45/+73
Issue-ID: DCAEGEN2-206 Change-Id: I8fa5150bffc0e371ab09bd75f1df4e460bf85a72 Signed-off-by: Lusheng Ji <lji@research.att.com>
2018-04-04Add more Consul registrationsJack Lucas2-3/+35
Change-Id: I3d548b26a2868529cf85057aa348b8ce4ba2f6a8 Issue-ID: DCAEGEN2-421 Signed-off-by: Jack Lucas <jflucas@research.att.com>