Hide Forgot
Description of problem: From the email: " Hello, I just noticed that our old virt reserving xml failed at /distribution/virt/install: https://beaker.engineering.redhat.com/jobs/119202 And if I try to comment out the workaround for bz729608, it works again, at least not at "ERROR (cli:283) Need to pass size for each disk": https://beaker.engineering.redhat.com/jobs/119253 I notice that though we had already passed '--file ...' to the script, it still added another '--file ...' in the command for virt-install. I cannot figure out why is this. I guess maybe this line: echo ${CMDLINE} | awk '{rc=0; for(i=1;i<=NF;i++) { if ( $i ~ /--disk*/ # || $i ~ /--file=/ || $i == "--file" ) rc+=1; } exit rc }' should be written as echo ${CMDLINE} | awk 'BEGIN {rc=0} ; { for(i=1;i<=NF;i++) { if ( $i ~ /--disk*/ || $i ~ /--file=/ || $i == "--file" ) rc+=1 }}; END { exit rc; }' Because it looks like the CMDLINE was echoed as multi-lines. Please have a look. Thanks in advance. " Version-Release number of selected component (if applicable): How reproducible: Very Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
fixed long time ago.