Description of problem: import ovirtsdk4.types as types and remaining code as https://github.com/karmab/kcli/commit/ed78da542467dc5900573d43da736d6a2dc6e1d4 Does overwrite VM's .ssh/authorized_keys with just the key provided instead of appending. Version-Release number of selected component (if applicable): / # pip3 list|grep ovirt ovirt-engine-sdk-python 4.2.8 How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: /root/.ssh/authorized_keys gets nuked with provided contents Expected results: /root/.ssh/authorized_keys gets enhanced (append) with provided contents
Verified on ovirt-engine-4.2.8-0.1.el7ev.noarch Verified by following the reproducer.
This bugzilla is included in oVirt 4.2.8 release, published on January 22nd 2019. Since the problem described in this bug report should be resolved in oVirt 4.2.8 release, it has been closed with a resolution of CURRENT RELEASE. If the solution does not work for you, please open a new bug report.