search for: remote_dir

Displaying 20 results from an estimated 24 matches for "remote_dir".

2017 Mar 30
4
[PATCH 0/3] p2v, v2v: Ensure the full version is always available in several places.
After debugging a virt-p2v issue with a customer in the middle of the night on Tuesday, I felt it would have been helpful to know exactly which version(s) of virt-p2v and virt-v2v they were using. That wasn't very clear from the log file I was provided with, so this change makes sure the information is included every time. Rich.
2016 Jun 30
4
[PATCH 0/4] p2v: Send ^C to remote end to cancel the conversion.
(I don't have a BZ# for this yet, but I'm expecting it to be filed as an RFE) Currently if the user is in the virt-p2v GUI and cancels the conversion, all that happens is we abruptly close the ssh session to virt-v2v. That is bad .. possibly (or maybe not). But in any case there is an alternative: we can send a ^C key to the virt-v2v process, which it could catch and handle gracefully,
2016 Jun 18
8
[PATCH 0/7] p2v: Multiple improvements to the look of virt-p2v.
In the run dialog, I have implemented an ANSI colour escape sequence interpreter, so that colours displayed by the remote virt-v2v are now shown to the user. (https://bugzilla.redhat.com/show_bug.cgi?id=1314244) This requires virt-v2v to send colours. It wasn't doing that because the output was a pipe (as we capture the output into the log file). So I added a global --colours option to make
2015 Nov 16
0
[PATCH] p2v: Send physical server 'dmesg' output to debug dir on conversion server.
...} + + ignore_value (read_whole_file (dmesg_file, &dmesg, NULL)); + skip_dmesg: + /* Open the control connection and start conversion */ if (notify_ui) notify_ui (NOTIFY_STATUS, _("Setting up the control connection ...")); - control_h = start_remote_connection (config, remote_dir, libvirt_xml); + control_h = start_remote_connection (config, remote_dir, libvirt_xml, dmesg); if (control_h == NULL) { const char *err = get_ssh_error (); diff --git a/p2v/p2v.h b/p2v/p2v.h index 35b3f3c..f35200e 100644 --- a/p2v/p2v.h +++ b/p2v/p2v.h @@ -116,7 +116,7 @@ extern void can...
2014 Dec 11
1
[PATCH] p2v: show error dialog if virt-v2v fails (RHBZ#1167601)
...t status; size_t i, len; size_t nr_disks = guestfs___count_strings (config->disks); struct data_conn data_conns[nr_disks]; @@ -276,7 +277,7 @@ start_conversion (struct config *config, if (mexp_printf (control_h, " ) | tee %s/virt-v2v-conversion-log.txt", remote_dir) == -1) goto printf_fail; - if (mexp_printf (control_h, "; exit") == -1) + if (mexp_printf (control_h, "; exit $(< %s/status)", remote_dir) == -1) goto printf_fail; if (mexp_printf (control_h, "\n") == -1) goto printf_fail; @@ -313,8 +314,18 @@ s...
2017 Jun 16
2
[PATCH] allow relative path in streamlocal forwarding
...b/regress/streamlocal.sh new file mode 100644 index 0000000..2baa70c --- /dev/null +++ b/regress/streamlocal.sh @@ -0,0 +1,59 @@ +# $OpenBSD: forwarding.sh,v 1.20 2017/04/30 23:34:55 djm Exp $ +# Placed in the Public Domain. + +tid="streamlocal forwarding" + +USER=`id -u` +NC=$OBJ/netcat +REMOTE_DIR=$OBJ/remote-$USER + +start_sshd + +trace "remote forwarding, relative socket path disabled on server" +rm -f $OBJ/localsock +$NC -U -l $OBJ/localsock > /dev/null & +netcat_pid=$! +${SSH} -F $OBJ/ssh_config -p$PORT -o ExitOnForwardFailure=yes -R ./remotesock:$OBJ/localsock somehost...
2016 Aug 12
1
[PATCH] p2v: Fix s/is/are/ in GUI message.
...uot; - "is saved to this directory " + _("Debug information and log files " + "are saved to this directory " "on the conversion server:\n" "%s"), remote_dir ? remote_dir : "") == -1) -- 2.7.4
2006 Nov 13
0
how to get 'real' freespace after rsync+hardlinks?
ok, so this is not entirely an rsync question. but, it seems the 'crowd' most familiar w/ hard-linking are the rsync crowd. so ... i'm doing rsync + incremental backups to a local drive. the incremental steps, currently, use the rsync REMOTE_DIR OLD_DIR ... time passes ... cp -al OLD_DIR NEW_DIR rsync REMOTE_DIR NEW_DIR approach. all works great. i'd *like* to be able to check my LOCAL (destination) drive for sufficient space b4 doing a backup. question: how does one check "real" available freespace? "real&qu...
2017 Jan 20
1
[PATCH] p2v: log also environment on conversion server
...p2v/conversion.c | 5 +++++ p2v/virt-p2v.pod | 6 ++++++ 2 files changed, 11 insertions(+) diff --git a/p2v/conversion.c b/p2v/conversion.c index 3c379cb..b8bab34 100644 --- a/p2v/conversion.c +++ b/p2v/conversion.c @@ -1061,6 +1061,11 @@ generate_wrapper_script (struct config *config, const char *remote_dir, fprintf (fp, "\n"); fprintf (fp, + "# Log the environment where virt-v2v will run.\n"); + fprintf (fp, "printenv > environment\n"); + fprintf (fp, "\n"); + + fprintf (fp, "# Run virt-v2v. Send stdout back to virt-p2v...
2016 May 30
2
[PATCH 0/2] p2v: Allow virt-p2v to be built with Gtk 2 or 3.
... and a small initial patch which makes it easier to test virt-p2v without having to start up a virtual machine. There is still a bug in Gtk 3 where the GtkTextView on the final (running) dialog ignores gtk_widget_set_size_request and so the window appears just a single pixel high. Rich.
2016 May 30
4
[PATCH v2 0/3] p2v: Allow virt-p2v to be built with Gtk 2 or 3.
This is basically the same as what I posted earlier today. The main difference is I split out the GDK thread sychronization (removal of) changes from the other Gtk 2/3 changes, which should make it a bit easier to review. Gtk 3 is still not quite perfect. Apart from the problem with the GtkTextView noted before, there are also vertical alignment and padding problems with labels in GtkGrid
2005 Feb 02
1
Selectively overriding --cvs-exclude option
...ars rsync is ignoring my --include option and outright excluding all CVS matches. I also tried using a file that is in the default list; this also failed. Here's the command I'm using: rsync --dry-run --include "/public_html/admin/test.exe" -C -avzub -e ssh <local_dir> <remote_dir> Is this a bug or a misunderstanding? I'm using rsync v2.6.3 on Debian Sarge. Thanks, William -- Knowmad Services Inc. http://www.knowmad.com
2008 Oct 09
1
rsync backup permissions
I had a quick look for an answer to what I'd presume is a common Q but failed so wondering if somebody here would point me in the right direction, please & thanks?! I wish to use rsync to backup users' home dirs from machineA (Debian) to machineB (Fedora). I have a script, say backup.sh, in my own home dir and linked to from /etc/cron.daily and have set up the ssh keys so
2023 Jan 30
1
[p2v PATCH 02/11] Introduce "p2v.output.misc" for passing "-oo" options to virt-v2v
...v command line. See L<virt-v2v(1)/OPTIONS>.", + ), ); # Clean up the program name. diff --git a/conversion.c b/conversion.c index b9af47deda74..cc6387c88af8 100644 --- a/conversion.c +++ b/conversion.c @@ -526,6 +526,15 @@ generate_wrapper_script (struct config *config, const char *remote_dir, print_quoted (fp, config->output.storage); } + if (config->output.misc) { /* -oo */ + size_t i; + + for (i = 0; config->output.misc[i]; ++i) { + fprintf (fp, " -oo "); + print_quoted (fp, config->output.misc[i]); + } + } + fprintf (fp, "...
2002 Jun 01
0
Testing a transfer-only rsync tool
...iles that differ" task. The code is still fairly young and while some of it is pretty good, other bits show signs of being written in haste. I've tested it on a small number of scenarios so far, but nothing exhaustive. Commands accepted by the tool on stdin (* means not yet tested): cd REMOTE_DIR [LOCAL_DIR] chdir both sides at once tmpdir REMOTE_PATH [LOCAL_PATH] where temp-files go get REMOTE_FILE [LOCAL_FILE [BASIS_FILE]] rsync to the local system put LOCAL_FILE [REMOTE_FILE [BASIS_FILE]] rsync to the remote system mvget REMOTE_FILE [LOCAL_FILE [BASI...
2008 Dec 05
1
ERROR: writefd_unbuffered failed to write ... when COMPRESS
...ress the random problem? Could be a programming bug? This error happen with compress but not always. Where can I find values for --compress-level parameter? I hope to have explained it. Thanks in advance, Miguel. LOGS: The command line is: rsync -avvzPhh --inplace local_file remote_dir and the result is an error. 1.- ERROR *-vvz OUTPUT over LAN 2008/12/05 14:02:25 [4012] opening tcp connection to 192.168.1.50 port 873 2008/12/05 14:02:25 [4012] building file list 2008/12/05 14:03:23 [4012] rsync: writefd_unbuffered failed to write 4 bytes [sender]: Software caused connection a...
2019 Sep 10
3
[PATCH 0/2] Remove virt-p2v from libguestfs
Now that virt-p2v has its own repository [1] and releases [2], it is time to remove it from libguestfs. [1] https://github.com/libguestfs/virt-p2v [2] http://download.libguestfs.org/virt-p2v/ Pino Toscano (2): Remove virt-p2v Remove remaining virt-p2v bits .gitignore | 4 - Makefile.am | 7 +- bash/Makefile.am
2017 Feb 03
5
[PATCH 0/5] Support socket activation in virt-p2v.
As the subject says, support socket activation in virt-p2v. I have added upstream support for socket activation to nbdkit already: https://github.com/libguestfs/nbdkit/commit/7ff39d028c6359f5c0925ed2cf4a2c4c751af2e4 I posted a patch for qemu-nbd, still waiting on more reviews for that one: https://www.mail-archive.com/qemu-devel@nongnu.org/msg427246.html I tested this against old and new qemu
2018 Jun 29
3
p2v: Various cleanups.
These are a prelude to fixing https://bugzilla.redhat.com/show_bug.cgi?id=1590220 A lot of the virt-p2v configuration code was duplicated manually. These changes make sure that most of it is generated. Rich.
2016 Apr 04
2
[PATCH 1/2] Use 'error' function consistently throughout.
...up (""); - if (warning == NULL) { + if (warning == NULL) malloc_fail: - perror ("malloc"); - exit (EXIT_FAILURE); - } + error (EXIT_FAILURE, errno, "malloc"); } len = strlen (warning); @@ -1410,10 +1393,8 @@ set_log_dir (const char *remote_dir) "is saved to this directory " "on the conversion server:\n" "%s"), - remote_dir ? remote_dir : "") == -1) { - perror ("asprintf"); - exit (EXIT_FAILURE); - } +...