diff --git a/docker/services/opendaylight-api.yaml b/docker/services/opendaylight-api.yaml index f3a2f8e195..e2ffe18c3e 100644 --- a/docker/services/opendaylight-api.yaml +++ b/docker/services/opendaylight-api.yaml @@ -217,10 +217,10 @@ outputs: shell: str_replace: template: > - curl -k -v --silent --fail -u $ODL_USERNAME:$ODL_PASSWORD + curl -k -v --silent --fail --show-error -u $ODL_USERNAME:$ODL_PASSWORD -H "Content-Type: application/json" -X DELETE $ODL_URI/restconf/config/genius-mdsalutil:config; - curl -k -v --silent --fail -u $ODL_USERNAME:$ODL_PASSWORD + curl -k -v --silent --fail --show-error -u $ODL_USERNAME:$ODL_PASSWORD -H "Content-Type: application/json" -X POST $ODL_URI/restconf/config/genius-mdsalutil:config -d "{ "upgradeInProgress": false }" @@ -229,6 +229,7 @@ outputs: $ODL_PASSWORD: {get_attr: [OpenDaylightBase, role_data, config_settings, 'opendaylight::password']} $ODL_URI: {get_param: [EndpointMap, OpenDaylightInternal, uri]} when: step|int == 0 + run_once: true - when: step|int == 1 import_role: name: tripleo-docker-rm