Closed bruceborrett closed 1 year ago
@bruceborrett Thanks for the report. We'll get this one fixed.
Just to provide some hints, in case this was left out - this behavior occurs only when a previous seeding of the machine with the same name, disk profile name (in this case: system
) and extension (?) failed with a traceback and the guestfs mount wasn't properly cleaned up.
This would've been more apparent, if the output's command was called with -l
.
This is still an issue on 2019.02. The relevant code in guestfs.py
is pretty short:
Looks like @thatch45 meant os.path.exists
instead of os.listdir
. Simple but potent bug. Are there no tests for guestfs.py
?
Also, not to be a nit-picker, but do we really need the while
loop? The likelihood of a os.urandom
collision is so low, it's probably not worth the cost of maintaining the extra while...if...else
logic (as we have discovered here).
isn't this one a duplicate of issue #55349 ?
@cbosdo A quick look suggests yes.
Closing this issue because it is a duplicate of #55349 which has been resolved.
I am having issues creating a VM using Salt-Virt, the VM gets created but it does not get pre-seeded. I have a basic setup from following the tutorial in the docs.
Command used to create the VM:
Output:
Checking in that directory on the KVM server I see:
Minion version:
Master version: