create_image -s on boss fails
This is Mike's favorite bug! It predates flux gitlab, so I couldn't file an issue on it when i first encountered it. Now I can...
running "create_image -s" (uses ssh) on boss causes the new disk image binary to be emailed to your account instead of saved on disk. its too large, so the mail system rejects it with:
The original message was received at Wed, 29 Jan 2020 14:54:46 -0500 (EST) from localhost [127.0.0.1] ----- The following addresses had permanent fatal errors ----- (reason: 552 5.2.3 Message size exceeds fixed maximum message size +(52428800)) ----- Transcript of session follows ----- ... while talking to dept-mx-03.andrew.cmu.edu.: >>> MAIL From: SIZE=928020875 <<< 552 5.2.3 Message size exceeds fixed maximum message size (52428800) 554 5.0.0 Service unavailable
one possible solution is just to remove "-s" from create_image, as the non-ssh options work.
another solution is this:
diff -r -u baseline/utils/create_image.in orca/utils/create_image.in --- baseline/utils/create_image.in 2019-05-22 17:03:13.000000000 -0400 +++ orca/utils/create_image.in 2019-05-22 17:02:25.000000000 -0400 @@ -1224,7 +1224,7 @@ # my $SAVEUID = $UID; $EUID = $UID = 0; - $result = run_with_ssh($command, undef); + $result = run_with_ssh($command, $filename); $EUID = $UID = $SAVEUID; if ($result eq "setupfailed") { goto done;
but Mike was worried that it might break(?) something else if applied.