Closed jirib closed 6 years ago
Looks like this change in apb broke it: https://github.com/ansibleplaybookbundle/apb-base/issues/46
Replacing every -e key1=value1 -e key2=value2 to one big json string '{"key1":"value1", "key2":"value2"} solves this.
Can you try:
docker run --rm --net=host -v /root/.kube:/opt/apb/.kube:z -u 0 quay.io/rgolangh/ovirt-flexvolume-driver-apb provision '{"admin_password":"pass","admin_user":"developer","cluster":"openshift","namespace":"default","engine_password":"xxxxxx","engine_url":"https://example.com/ovirtngine/api","engine_username":"admin@internal"}'
Still fails, I tried with:
docker run \
--rm \
--net=host \
-v $HOME/.kube:/opt/apb/.kube:z \
-u $UID quay.io/rgolangh/ovirt-flexvolume-driver-apb \
provision \
'{"admin_password":"pass","admin_user":"developer","cluster":"openshift","namespace":"default","engine_password":"xxxxxxx","engine_url":"https://example.com/ovirt-engine/api","engine_username":"admin@internal"}'
After reading their code I see they expect another flag, so just add after provision
, --extra-args
and then the rest of the json string
Describe the bug
ovirt-flexvolume-driver-apb fails with
DEPRECATED: APB playbooks should be stored at /opt/apb/project
To Reproduce Steps to reproduce the behavior:
docker run --rm --net=host -v /root/.kube:/opt/apb/.kube:z -u 0 quay.io/rgolangh/ovirt-flexvolume-driver-apb provision -e admin_password=pass -e admin_user=developer -e cluster=openshift -e namespace=default -e engine_password=xxxxxx -e engine_url=https://example.com/ovirt-engine/api -e engine_username=admin@internal
Expected behavior deployment should finish
Versions (please complete the following information):
Server https://lb0.example.com:8443 openshift v3.10.34 kubernetes v1.10.0+b81c8f8