summaryrefslogtreecommitdiffstats
path: root/juju
AgeCommit message (Collapse)AuthorFilesLines
2017-03-27run without sudoHarry Huang2-35/+37
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-21Add delay when upload csar package failHarry Huang1-1/+2
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 upload packages retryHarry Huang4-266/+23
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 Huang7-176/+409
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 Huang2-6/+21
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 Huang3-38/+64
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 Huang1-0/+5
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 Huang1-0/+1
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 Huang2-19/+32
use argparse to explicitly pass args Change-Id: Id729d6897be6511c8bd2de8aa31cf37dfada1caf Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2017-03-01Juju connectHarry Huang4-2/+197
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 Huang3-50/+46
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 Huang1-0/+8
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-08Fix ssh bugHarry Huang3-6/+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 Huang3-0/+284
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>