Thanks for your reply, I'll chat with Robert and Clint to see if any of
these solutions is reasonable for us.

As a reference point, here's the setup we're using:

Host has 2 VMs: An LXC and an qemu VM

The host has the iscsi_tcp module loaded, which then can be seen and
used for the iscsi daemon within the container.

Now, what we're attempting to do is provision the qemu VM via the LXC
container using OpenStack's baremetal provisioning tools in a
virtualized environment (no nested KVM!), so loosely the procedure is:
the LXC container boots the qemu image (we have a nifty power driver)
and gives it an address via dnsmasq-dhcp, loads up some things via
dnsmasq-tftp (this all works) and then we use iscsi to copy data to the
qemu VM. Robert or Clint can chime in with more details (or to
clarify/correct!).

Today I ran through the test again and connected to the iscsid daemon
inside the container for your strace, attached is the output from:
strace -p 1488 -o iscsid_strace_baremetal.txt

** Attachment added: "iscsid_strace_baremetal.txt"
   
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1226855/+attachment/3845437/+files/iscsid_strace_baremetal.txt

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1226855

Title:
  Cannot use open-iscsi inside LXC container

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1226855/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to