artasoftkey / zumastor

Automatically exported from code.google.com/p/zumastor
0 stars 0 forks source link

zumastor master on downstream appears to have gone interactive #44

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
The replication-snapshots-zumastor.sh usually hangs at the zumastor master
command on the downstream host, and then times out and reports as a test
failure.  Hitting return during this pause though during a UML run of this
test lets it continue, so it appears that /bin/zumastor has paused for user
input at this point.  No reads in /bin/zumastor without stdin redirections
were seen.

Original issue reported on code.google.com by drake.di...@gmail.com on 17 Jan 2008 at 11:26

GoogleCodeExporter commented 8 years ago
The command on the slave that is triggering this hang is:

+ ssh -o StrictHostKeyChecking=no -o BatchMode=yes root@172.23.32.152 zumastor 
define
source testvol master --period 600

Hitting return causes it to exit with a return code of 1, and the test then 
terminates.

Tightened up the test run to 5 minutes or terminate to speed up the runtime of 
the
entire suite.

Original comment by drake.di...@gmail.com on 17 Jan 2008 at 11:42

GoogleCodeExporter commented 8 years ago

Original comment by drake.di...@gmail.com on 18 Jan 2008 at 12:33

Attachments:

GoogleCodeExporter commented 8 years ago
Don't remove the -y/--yes option yet; before you remove
that, you have to fix the man page, and you should
probably only deprecate it for one release before
removing it.

Otherwise looks fine.   System administration commands
should never prompt.

Original comment by daniel.r...@gmail.com on 18 Jan 2008 at 12:39