Bug 1347830
Summary: | virt-edit on domains over remote transport attempts to edit a local path | ||
---|---|---|---|
Product: | [Community] Virtualization Tools | Reporter: | bob |
Component: | libguestfs | Assignee: | Richard W.M. Jones <rjones> |
Status: | NEW --- | QA Contact: | |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | unspecified | CC: | ptoscano |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | Type: | Bug | |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
bob
2016-06-17 18:41:25 UTC
Seems to be related to an already open ticket, adding here This is kind of a known bug. Essentially the -c + -d options just cause virt-edit to fetch the libvirt XML from the remote server. However the paths within that XML are then processed as if they were local files. Use sshfs as described below is relatively lightweight and simple: https://rwmj.wordpress.com/2011/05/10/tip-use-libguestfs-on-vmware-esx-guests/ Or you can use any other remote filesystem or block device (NFS, SMB, NBD, iSCSI etc). There are other solutions like remoting the API using rpyc: https://rwmj.wordpress.com/2013/05/07/using-libguestfs-remotely-with-python-and-rpyc/ |