X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=doctor_tests%2Finstaller%2Fcommon%2Fset_fenix.sh;h=68bb4a6c9149c2e23107efe2890a1df12588afee;hb=refs%2Fchanges%2F05%2F69405%2F8;hp=aac376cdadbfed3d54d772f154709791587d82f0;hpb=d8eb12f4200c21f569df5bc01d378a846b4c0db0;p=doctor.git diff --git a/doctor_tests/installer/common/set_fenix.sh b/doctor_tests/installer/common/set_fenix.sh index aac376cd..68bb4a6c 100644 --- a/doctor_tests/installer/common/set_fenix.sh +++ b/doctor_tests/installer/common/set_fenix.sh @@ -75,6 +75,11 @@ echo "password = $OS_PASSWORD" >> fenix-api.conf echo "username = $OS_USERNAME" >> fenix-api.conf echo "cafile = /opt/stack/data/ca-bundle.pem" >> fenix-api.conf +openstack service list | grep maintenance | { +openstack service create --name fenix --enable maintenance +openstack endpoint create --region $OS_REGION_NAME --enable fenix public http://localhost:12347/v1 +} + # Mysql pw # MYSQLPW=`cat /var/lib/config-data/mysql/etc/puppet/hieradata/service_configs.json | grep mysql | grep root_password | awk -F": " '{print $2}' | awk -F"\"" '{print $2}'` MYSQLPW=root