Displaying 9 results from an estimated 9 matches for "formatsecret".
2019 Feb 14
2
question about upgrade qemu and libvirtd
Hi Team,
I am not sure if I should put my question here, I have googled long
time, no explicit information found.
Background:
We need to support KVM encryption and decided to use LUKS.
Refer to:https://libvirt.org/formatsecret.html#VolumeUsageType
libvirtd and KVM should be able to support LUKS format disk directly.
Unfortunately, seems that we need to use libvirt2.2+ and qemu
2.6+, because our current qemu-kvm version does not support luks
format:
And our hypervisor's OS is CentOS 7.2 with libvi...
2013 Dec 18
3
Connect libvirt to iSCSI target
Hi!
I'm new to libvirt and face problems connecting to an iSCSI target.
What I intend to do is to connect libvirt (I tried virt-manager and
virsh) to an iSCSI target and then boot from the LUNs which contain
the VMs.
I followed the documentation¹ but got stuck at section 12.1.5.4.3.
1)
virsh pool-define-as \
--name foo \
--type iscsi
2019 Feb 15
0
question about upgrade qemu and libvirtd
...at gmail.com> wrote:
>
> Hi Team,
> I am not sure if I should put my question here, I have googled long
> time, no explicit information found.
>
> Background:
> We need to support KVM encryption and decided to use LUKS.
>
> Refer to:https://libvirt.org/formatsecret.html#VolumeUsageType
>
> libvirtd and KVM should be able to support LUKS format disk directly.
>
> Unfortunately, seems that we need to use libvirt2.2+ and qemu
> 2.6+, because our current qemu-kvm version does not support luks
> format:
>
> And our hypervi...
2013 Dec 21
0
Re: Connect libvirt to iSCSI target
...-i iqn.2013-11.vmhost:vmpool \
iscsi://<username>%<password>@<ipAddr>:3260
where the <username>/<password> allow the authentication to the ipAddr
iSCSI tgt server.
If you need to authenticate, then set up a secret to the iSCSI server,
see http://libvirt.org/formatsecret.html for an example.
HTH,
John
> Why can't libvirt find the session, and which session? Running
>
> iscsiadm --mode discovery --type sendtargets --portal vmhost:3260,1
>
> succeeds and lists the targets. How to connect libvirt to the iSCSI
> target?
>
> System i...
2012 Apr 19
1
Building an RPM
...ay to go about doing this is.
http://libvirt.org/FAQ.html suggests that I try 'make rpm', however that ends in the below error:
missing XHTML1 DTD
cp: cannot stat `./api.html': No such file or directory
make[2]: *** [distdir] Error 1
rm news.html.tmp goals.html.tmp archnetwork.html.tmp formatsecret.html.tmp drvopenvz.html.tmp windows.html.tmp testtck.html.tmp drvlxc.html.tmp apps.html.tmp docs.html.tmp formatstorageencryption.html.tmp drvvbox.html.tmp formatdomain.html.tmp php.html.tmp drvhyperv.html.tmp errors.html.tmp hacking.html.tmp format.html.tmp hooks.html.tmp api.html.tmp storage.html...
2013 Dec 22
2
Re: Connect libvirt to iSCSI target
...>:3260
This succeeds:
iscsi-ls -s -i iqn.2013-11.freenas:vmpool iscsi://freenas
Target:iqn.2013-11.freenas:vmpool Portal:10.0.10.23:3260,1
Lun:0 Type:DIRECT_ACCESS (Size:9G)
[…]
> If you need to authenticate, then set up a secret to the iSCSI server,
> see http://libvirt.org/formatsecret.html for an example.
If the simple setup is working I'll add authentication but for the
moment I try to keep is as simple as possible.
To rule out issues with the iSCSI target I manually tested using
“iscsiadm” and VirtualBox which both succeeded without any session
errors.
Thanks for your q...
2013 Dec 23
0
Re: Connect libvirt to iSCSI target
...i-ls -s -i iqn.2013-11.freenas:vmpool iscsi://freenas
>
> Target:iqn.2013-11.freenas:vmpool Portal:10.0.10.23:3260,1
> Lun:0 Type:DIRECT_ACCESS (Size:9G)
> […]
>
>> If you need to authenticate, then set up a secret to the iSCSI server,
>> see http://libvirt.org/formatsecret.html for an example.
>
> If the simple setup is working I'll add authentication but for the
> moment I try to keep is as simple as possible.
>
> To rule out issues with the iSCSI target I manually tested using
> “iscsiadm” and VirtualBox which both succeeded without any sess...
2014 Oct 31
1
[PATCH] launch: libvirt: Implement drive secrets (RHBZ#1159016).
...me, drv->src.u.path);
+ } end_element ();
+ } end_element ();
+
+ return 0;
+}
+
+/* If drv->src.secret != NULL, store the secret in libvirt, and save
+ * the UUID so we can retrieve it later. Also there is some slight
+ * variation depending on the protocol. See
+ * http://libvirt.org/formatsecret.html
+ */
+static int
+add_secret (guestfs_h *g, struct backend_libvirt_data *data, const struct drive *drv)
+{
+ CLEANUP_XMLBUFFERFREE xmlBufferPtr xb = NULL;
+ xmlOutputBufferPtr ob;
+ CLEANUP_XMLFREETEXTWRITER xmlTextWriterPtr xo = NULL;
+ CLEANUP_FREE xmlChar *xml = NULL;
+ CLEANUP_VIRSECR...
2014 Oct 31
1
[PATCH v2] launch: libvirt: Implement drive secrets (RHBZ#1159016).
Since v1:
- Base64 decode the Ceph secret before passing it to libvirt.
- Don't call virSecretFree (NULL) [libvirt bug?]
- Small cleanups.