summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2019-04-03Upgrade infra_workload for starlingx_baseBin Yang1-3/+167
Try to fetch openstack artifact from sdc client via the shared volume Change-Id: Ibcb7336e4cfd318497e23167af8cd97883bde594 Issue-ID: MULTICLOUD-541 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2019-04-03Refactor infra_workload helperBin Yang4-469/+576
Change-Id: I6ffcd3b9b9d2998bb2f2a6c043b20ad4ce072d9d Issue-ID: MULTICLOUD-561 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2019-04-02Merge changes I2adebca8,I3f66fa63Bin Yang12-1615/+8
* changes: Increase Pike cover rate Increase ocata cover rate
2019-04-02Integrate heatbridge logic to infra_workload APIBin Yang6-44/+707
Offload the heatbridge to thread Change-Id: I66c32e7ee30a40542e6ba75087d7d88caaf0c640 Issue-ID: MULTICLOUD-561 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2019-04-02Refactor helper codesBin Yang14-689/+518
Move helper thread to common module Refactor the interface between helper thread and worker Change-Id: I0b61a2ed1a428f67cfbe3cc1411ace39e245932d Issue-ID: MULTICLOUD-554 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2019-04-01Update capacity check APIBin Yang4-92/+204
Query the AZinfo from the cache Relay on the background thread of AZcap Auditing Change-Id: I064dbc22c71ef25683145ef1c96274ce6ac74c3b Issue-ID: MULTICLOUD-542 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2019-04-01Add audit to azBin Yang2-9/+117
Issues 2 rest api to openstack to retrieve all pserver and az info This will need optimization in case of many compute pservers in a cloud region Change-Id: I8cad1f63f62a47ea9367db59544e7318e3db746d Issue-ID: MULTICLOUD-555 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2019-04-01Add a thread to audit AZ cap infoBin Yang1-0/+91
The audit thread sleep 5 seconds for each loop Change-Id: I10638b0fc5df1bd45272b9a10ca92596ace2f584 Issue-ID: MULTICLOUD-555 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2019-04-01Discover and register az and hostBin Yang1-68/+165
Register pservers, and relation to AZ Change-Id: I95075dddbbddad596a082a7d910dd8a001dc2906 Issue-ID: MULTICLOUD-554 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2019-04-01Initiate a thread to handle registryBin Yang10-378/+513
To prevent the registry API timeout by offloading the time-consuming registry to a thread Change-Id: I1107bb7f3d9a11bdae4d0a5926f788bc2a534bda Issue-ID: MULTICLOUD-554 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2019-04-01Add https support for multicloud ocata pluginHaibin Huang4-3/+71
The https endpoint can be enabled by setting env: SSL_ENABLED=true Change-Id: Ibc651851edb1dd2e143ba28c784f82562c0c9d30 Issue-ID: MULTICLOUD-535 Signed-off-by: Haibin Huang <haibin.huang@intel.com>
2019-04-01Add https support for multicloud pike pluginHaibin Huang4-3/+71
The https endpoint can be enabled by setting env: SSL_ENABLED=true Change-Id: Iae636bda8fa8ae9c77907e7171e1d93cb54795bc Issue-ID: MULTICLOUD-535 Signed-off-by: Haibin Huang <haibin.huang@intel.com>
2019-04-01Add https support for multicloud starlingx pluginHaibin Huang4-1/+57
The https endpoint can be enabled by setting env: SSL_ENABLED=true Change-Id: I2852d705d0d0c11d0b16cb568184296b9c8f25d0 Issue-ID: MULTICLOUD-535 Signed-off-by: Haibin Huang <haibin.huang@intel.com>
2019-03-28Add https support for multicloud lenovoChangjun Wang5-4/+63
The https endpoint can be enabled by setting env: SSL_ENABLED=true Issue-ID: MULTICLOUD-538 Change-Id: I20ca09c431380d65098d42fadd1d92003cca69ba Signed-off-by: Changjun Wang <310397125@qq.com>
2019-03-21Add unit_test for Multi-Cloud Fcaps enhancementLiexiang Yue1-0/+90
Issue-ID: MULTICLOUD-495 Change-Id: I321823f894bba014f39455487687a0f77ff4234d Signed-off-by: Liexiang Yue <yueliexiang@chinamobile.com>
2019-03-20Multi-Cloud Fcaps enhancementLiexiang Yue4-2/+393
Issue-ID: MULTICLOUD-495 Change-Id: I3d5d6eadeaa00b8597dfa318bad6a1fa1796a2ce Signed-off-by: Liexiang Yue <yueliexiang@chinamobile.com>
2019-03-12Increase Pike cover rateHaibin Huang5-581/+4
Delete resource code from ocata and use newton_base code. Change-Id: I2adebca8c531da144082eda479b85bc804315ab9 Issue-ID: MULTICLOUD-501 Signed-off-by: Haibin Huang <haibin.huang@intel.com>
2019-03-12Increase ocata cover rateHaibin Huang7-1034/+4
Delete resource code from ocata and use newton_base code. Change-Id: I3f66fa63232fdd9b113e0b61ff9d0a8aa520f96f Issue-ID: MULTICLOUD-501 Signed-off-by: Haibin Huang <haibin.huang@intel.com>
2019-03-11Merge "change docker image name tp openstack-lenovo"Bin Yang2-77/+77
2019-03-11Set Highest cipher for httpsXiaohua Zhang1-1/+1
Change-Id: I46956b98daa600cd5eedd8fb031ef778e0932337 Issue-ID: MULTICLOUD-519 Signed-off-by: Xiaohua Zhang <xiaohua.zhang@windriver.com>
2019-03-11change docker image name tp openstack-lenovoChangjun Wang2-77/+77
change fileformat to unix of the *.sh files Change-Id: Iff6f5db7b87fd59afcd7fe6fb1662aa0d79ab787 Issue-ID: MULTICLOUD-520 Signed-off-by: Changjun Wang <310397125@qq.com>
2019-03-08change docker image name tp openstack-lenovoChangjun Wang5-140/+146
mkdify the repo from thinkcloud to lenovo in the package change docker image name tp openstack-lenovo Change-Id: I8d656df1daad8056703fa1645ff1340d75b72e43 Issue-ID: MULTICLOUD-520 Signed-off-by: Changjun Wang <310397125@qq.com>
2019-03-08Fix assembly setting to include certsXiaohua Zhang1-0/+2
Change-Id: If93c7b26dc7d5fc5f7d8c5bb0c934f906e46579b Issue-ID: MULTICLOUD-519 Signed-off-by: Xiaohua Zhang <xiaohua.zhang@windriver.com>
2019-03-08Merge "Add https support for multicloud windriver plugin"Bin Yang4-3/+61
2019-03-08Add https support for multicloud windriver pluginXiaohua Zhang4-3/+61
The https endpoint can be enabled by setting env: SSL_ENABLED=true Change-Id: I4a081bc47bf7be62ddc87407344d2cd580bba5b7 Issue-ID: MULTICLOUD-519 Signed-off-by: Xiaohua Zhang <xiaohua.zhang@windriver.com>
2019-03-07Optimize docker image footprint for pikeHaibin Huang3-13/+22
Rebase to python:2-slim Remove unused pip packages Change-Id: I0ba6767d71c1d4e57edb7d41315569ffac8ce494 Issue-ID: MULTICLOUD-517 Signed-off-by: Haibin Huang <haibin.huang@intel.com>
2019-03-07Optimize docker image footprint for starlingxHaibin Huang4-14/+26
Rebase to python:2-slim Remove unused pip packages Change-Id: Icef1b522b47f999b5c9a18e0a1184e642fbae734 Issue-ID: MULTICLOUD-517 Signed-off-by: Haibin Huang <haibin.huang@intel.com>
2019-03-07Optimize docker image footprint for ocataHaibin Huang3-13/+21
Rebase to python:2-slim Remove unused pip packages Change-Id: I255f7c009c9b3f887a5a6e6b11a16ece1a7faed4 Issue-ID: MULTICLOUD-517 Signed-off-by: Haibin Huang <haibin.huang@intel.com>
2019-03-07Remove vesagent and celeryHaibin Huang15-1772/+3
The vesagent has been moved to fcaps module Change-Id: I87333bbe5e7116af2b3b495f70d1b39d1c77177b Issue-ID: MULTICLOUD-499 Signed-off-by: Haibin Huang <haibin.huang@intel.com>
2019-03-06Merge "Modify M-Cloud lenovo thinkcloud Dockerfile"Bin Yang1-1/+1
2019-03-06Modify M-Cloud lenovo thinkcloud DockerfileChangjun Wang1-7/+8
Modify Python2.7 to python2.7-slim Issue-ID: MULTICLOUD-516 Change-Id: Ic3d5cfb4e467652aa6e0a6ad340351998460b0b4 Signed-off-by: Changjun Wang <310397125@qq.com>
2019-03-06Merge "Optimize docker image footprint size"Bin Yang3-5/+12
2019-03-06Optimize docker image footprint sizeLiexiang Yue3-5/+12
Issue-ID: MULTICLOUD-495 Change-Id: I351c2424050e139c5d53ebe78c44c8579d350a1c Signed-off-by: Liexiang Yue <yueliexiang@chinamobile.com>
2019-03-06Modify Lenovo Thinkcloud DockerfileChangjun Wang1-6/+7
Issue-ID: MULTICLOUD-515 Change-Id: I994b408a73d5ed8b883cdfb8b1df62078084bb5a Signed-off-by: Changjun Wang <310397125@qq.com>
2019-03-06Merge "Add Lenovo ThinkCLoud Driver"Bin Yang68-0/+5779
2019-03-05Add Lenovo ThinkCLoud DriverChangjun Wang68-0/+5779
add a new branch lenovo modify pom.xml under the root Change-Id: I5edd57bf3e9cc1e32c5a94b9494daf645b220eaa Issue-ID: MULTICLOUD-506 Signed-off-by: Changjun Wang <310397125@qq.com>
2019-03-05Fix Dockerfile issueXiaohua Zhang1-2/+3
Install wget to retrieve zip files Purge and autoremove unused utils Change-Id: I83a619e51f37a11d5295f50c68962021a2bbf6b8 Issue-ID: MULTICLOUD-508 Signed-off-by: Xiaohua Zhang <xiaohua.zhang@windriver.com>
2019-03-04Optimize docker image footprintXiaohua Zhang3-6/+11
Rebase to python:2-slim Remove unused pip packages Change-Id: I07c544debe93128bdd4722797339af708d246f0f Issue-ID: MULTICLOUD-508 Signed-off-by: Xiaohua Zhang <xiaohua.zhang@windriver.com>
2019-03-04Remove vesagent and celeryXiaohua Zhang16-1732/+1
The vesagent has been moved to fcaps module Change-Id: I938df03374ca887d4f455f206d398491010a9361 Issue-ID: MULTICLOUD-499 Signed-off-by: Xiaohua Zhang <xiaohua.zhang@windriver.com>
2019-03-01Upgrade onaplog 1.0.8Xiaohua Zhang5-5/+5
Add python3 validation Change-Id: I331247e96ebad0d5e1ca3e9ffada8e2623237863 Issue-ID: MULTICLOUD-503 Signed-off-by: Xiaohua Zhang <xiaohua.zhang@windriver.com>
2019-02-27Improve ocata cover rateHaibin Huang1-0/+54
Change-Id: I442008884ae6860012491db176f2c5554fcaf84f Issue-ID: MULTICLOUD-501 Signed-off-by: Haibin Huang <haibin.huang@intel.com>
2019-02-27Add OpenStack fcaps moduleBin Yang40-0/+2686
Change-Id: Ie05808a199edf1203ed0c7663031c7065dcb1512 Issue-ID: MULTICLOUD-499 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2019-02-26Run Ocata plugin as non root userHaibin Huang2-3/+8
Change-Id: Ia4e201ee586cc62f1ea2f5f38d4001acc7ccc0b5 Issue-ID: MULTICLOUD-500 Signed-off-by: Haibin Huang <haibin.huang@intel.com>
2019-02-26Fix docker create failure for StarlingXHaibin Huang1-2/+2
Change-Id: I33ea95b5653affe2ffb72a9ba8a368a24ee15182 Issue-ID: MULTICLOUD-500 Signed-off-by: Haibin Huang <haibin.huang@intel.com>
2019-02-26Run Pike plugin as non root userHaibin Huang1-0/+4
Change-Id: Iabd2eaeea44fa0f98679ef06a86ce5c455456578 Issue-ID: MULTICLOUD-500 Signed-off-by: Haibin Huang <haibin.huang@intel.com>
2019-02-22Run Starlingx plugin as non root userHaibin Huang1-1/+5
Change-Id: Icb45c00205948399010662783e6268402df77e10 Issue-ID: MULTICLOUD-500 Signed-off-by: Haibin Huang <haibin.huang@intel.com>
2019-02-21Merge "Run multicloud-windriver service as non root user"Bin Yang2-4/+8
2019-02-20Run multicloud-windriver service as non root userBin Yang2-4/+8
Disable vesagent and remove the dependency on rabbitmq-server The vesagent should be maintained as a standalone microservice Change-Id: I4877c0c25c973d0dd8f8511f457fed07ca61647b Issue-ID: MULTICLOUD-493 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2019-02-19Merge "Fix URL definitions interfere with each other"Bin Yang3-6/+20
2019-02-18Fix URL definitions interfere with each otherHaibin Huang3-6/+20
Change-Id: I2f0bc1ca7e6d4e6337cc504c51e9ead06bd5be4e Issue-ID: MULTICLOUD-477 Signed-off-by: Haibin Huang <haibin.huang@intel.com>