aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-03-30Clean nfvo-driver-vnfm-juju dockerHarry Huang1-0/+2
nfvo-driver-vnfm-juju docker is unstable and currently using a personal docker repository to keep a working one. function docker_clean will only clean docker from openoint Change-Id: I90d5b98a10e44e900fe231e4b29925889536af41 Signed-off-by: Harry Huang <huangxiangyu5@huawei.com> (cherry picked from commit 79219733ea099837d77bf851adde66f6e06c1b5e)
2017-03-27run without sudoHarry Huang5-123/+125
Jenkins can't remove some dir generate by sudo and leads to CI error for following tasks. Change codes to run ./opera_launch.sh without sudo Change-Id: Iaebd7e1fbdf413a91cc55c77e1b5c6915cfc86d6 Signed-off-by: Harry Huang <huangxiangyu5@huawei.com> (cherry picked from commit 7ee5c95db62d13d860d51974aa9c0a14404cee56)
2017-03-25Updated Ellis configurationHarry Huang2-1/+5
1. Fix the Ellis port inaccessible issue 2. Force to pull the latest juju server code Change-Id: I8b36271e37e19d3ebab03a9808f11d210f975d59 Signed-off-by: Harry Huang <huangxiangyu5@huawei.com> (cherry picked from commit 654e20848b723541c17d56cf16518db87e14f7ae)
2017-03-23fix pyyaml bugHarry Huang2-1/+5
package_prepare should run before generate_conf to ensure pyyaml is installed. otherwise generate_conf will fail when pyyaml is not installed before. Change-Id: I181225637969f3602ce34984e4710a2610e8cd18 Signed-off-by: Harry Huang <huangxiangyu5@huawei.com> (cherry picked from commit a6346420a0e0d2f4564d8ecc030146cae098a7f4)
2017-03-21Merge "Add delay when upload csar package fail" into stable/danubeYingjun Li4-5/+8
2017-03-21Opera DocsHarry Huang6-0/+171
version: firt draft Change-Id: Id0ba01cd205229f0a11ce0d9a921f5fce84dd221 Signed-off-by: Harry Huang <huangxiangyu5@huawei.com> (cherry picked from commit f8eb16e4a3c38d4899234c95356c88f9c80789da)
2017-03-21Add delay when upload csar package failHarry Huang4-5/+8
There is occasional failure when upload csar package. Add 10 second 10 retries to workaroud this problem. Change-Id: I0d081699d744bc2a3f93d23fa5afea48f426beff Signed-off-by: Harry Huang <huangxiangyu5@huawei.com> (cherry picked from commit f809fd6d07d3447af62297377f963e1c6e4556e3)
2017-03-17add get_vnfm_ipHarry Huang3-0/+14
add function get_vnfm_ip to get juju client vm ip Change-Id: Ib78d81ab2bb54ecc197581913c5127235bc563da Signed-off-by: Harry Huang <huangxiangyu5@huawei.com> (cherry picked from commit 4867ce93ff214e5bcb1b3b178173080a17bfc5dd)
2017-03-17fix csar bugHarry Huang1-3/+2
csar vars not generate when vnf_type is None. modify process_conf to fix this bug Change-Id: I9967acc9d7c1cea9012f8feb5b8f0141f1c6d3b8 Signed-off-by: Harry Huang <huangxiangyu5@huawei.com> (cherry picked from commit f1ef7f43d12751b10314a7e07c3e3ae815057a39)
2017-03-17Add upload packages retryHarry Huang13-138/+197
1. retry 5 times if csar package uploads fail 2. clearwater service name varies over the time 3. use the word vnf instead of app Change-Id: Id85c7f467cbefbc46fd1f1daf6202d89ef3ac898 Signed-off-by: Harry Huang <huangxiangyu5@huawei.com> (cherry picked from commit 8a07bcd6b75f62c7c79504f8a3c020a2d635156e)
2017-03-16independent network for operaHarry Huang28-1112/+638
1. launch open-o dockers directly on jump host instead of a vm 2. launch only one juju vm has both client and metadata function 3. add clearwater csar packages into opera repo 4. automatically deploy clearwater when key application in conf/application.yml has value clearwater 5. support keystone v3 Change-Id: Ic59f66d2cededf661aa7f6de2a40836ea40d8887 Signed-off-by: Harry Huang <huangxiangyu5@huawei.com> (cherry picked from commit cd0feb45a414980fdd7249c9cc4fc28a1213c769)
2017-03-03fix mysql bugHarry Huang3-6/+34
1. fix bug that mysql can't grant privilege 2. add juju vm accessibility check instead of sleep 60 Change-Id: I711fd98a93e5f26f0eae3698f262e93198977ddf Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2017-03-02adjust juju connectHarry Huang6-41/+66
1. delete existing VIM and VNFM when add 2. fix mysql grant not effective bug 3. remove know_hosts in juju env prepare Change-Id: I2b6c470020b2a36d341f8313baaded15c0dfd2cd Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2017-03-02fix no precise image bugHarry Huang4-46/+55
1. add precise image name 2. release caches before install open-o and before install juju 3. remove known_hosts on jump host Change-Id: I7d1957c53c1b957718622d3f90c2a86966f1ec23 Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2017-03-01juju connect bug fixHarry Huang2-0/+24
1. fix false juju metadata ip in tomcat8 config files 2. add missing modify_file.sh Change-Id: I319a747dccf95e2aeb6568a36746ad5e1f32bb81 Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2017-03-01juju connect fixHarry Huang3-20/+33
use argparse to explicitly pass args Change-Id: Id729d6897be6511c8bd2de8aa31cf37dfada1caf Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2017-03-01Juju connectHarry Huang7-24/+231
1. use open-o docker tag 1.0.0 with nfvo-driver-vnfm-juju tag latest 2. sync juju and open-o tomcat files then start tomcat 3. automatically add vim and vnfm info in open-o Change-Id: I981faf02dda3e2aa7e03304e1a9c790eb629abdf Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2017-02-25Adjust juju bootstrapHarry Huang6-66/+122
1. use openstack default security group 2. change security group rules to allow all ports access of both tcp and udp 3. bootstrap juju controller using floating ip and default security group Change-Id: I81c943105187fd8ffbde3f3d4e6d96ae24c07e53 Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2017-02-16Add Open-O docker tag fixHarry Huang2-40/+48
1. add docker tag in docker run scropt 2. add vm boot check in juju/juju_launch.sh Change-Id: Ifc749c129357828ff8a9c30b7d4a5843d1d7adc9 Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2017-02-15Add Open-O docker tagHarry Huang5-42/+46
1. support designate open-o image tag in conf/openo-vm.yml 2. add ubuntu image 12.04 Change-Id: If96a482eb12bc37799885bc290581257fe0c6817 Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2017-02-08Fix ssh bugHarry Huang4-12/+18
Bug reported from Opera Jenkins. Since a new POD is used, ssh key is not generated before which cause fail when creating openstack key for jump host. This bug may happens on every machine never generates ssh key before. Change-Id: Iebae3f17327d64eb1cc45df1015cd21eb12fb397 Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2017-01-25Opera deploy scriptsHarry Huang18-0/+1479
JIRA: OPERA-2 Requirement: After compass4nfv deployment Function: 1. Launch a VM (defaultly CentOS 7) 2. Launch Open-O dockers inside VM 3. Launch juju inside openstack Directory conf/ need config according to local environment Change-Id: Iac24051668e15b60f76f4819760f7b7c9b1867f3 Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2016-12-24Merge "test opera ci"Yingjun Li1-0/+1
2016-12-22Adding INFO and LICENSE for reviewAric Gardner2-0/+34
Change-Id: Ica0e3f32d43fe39f93a945fbd905e7ca8ab6bb47 Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
2016-12-21test opera cimeimei1-0/+1
Change-Id: I602a6051d55fa90d5a937f207bc7103e3c061f4f Signed-off-by: meimei <meimei@huawei.com>
2016-11-23modify VNF packages to incorporate the JUJU charm imageHuabing Zhao9-0/+0
Change-Id: Iecb733d52ab41b364d78d8bd98da51eb6411cd72 Signed-off-by: Huabing Zhao <zhao.huabing@zte.com.cn>
2016-11-23vIMS Model Package for OPEN-OHuabing Zhao9-0/+0
Change-Id: Iaaeb0e32dad77e5dd798dfc7dc8b054a19a47223 Signed-off-by: Huabing Zhao <zhao.huabing@zte.com.cn>
2016-11-18Basic Setup For Opera Gerrit RepoHuabing Zhao2-0/+5
Change-Id: Ib4b787c4afb371eeb320ce572d0645aa961077ee Signed-off-by: Huabing Zhao <zhao.huabing@zte.com.cn>
2016-08-11Initial empty repositoryAric Gardner0-0/+0