<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<div dir="auto">
<div>Hi again,</div>
<div dir="auto"><br>
</div>
<div dir="auto">Sorry for late message.</div>
<div dir="auto"><br>
</div>
<div dir="auto">Below problem is solved by:</div>
<div dir="auto">Killing the controller and installing the Lts enablement stack as pointed out by Nicholas on below link.</div>
<div dir="auto">Thank you Nicholas...</div>
<div dir="auto"><br>
</div>
<div dir="auto">Such kernel did include the zfs module which is natively supported in Xenial.</div>
<div dir="auto"><br>
</div>
<div dir="auto">Using the enablement stack, this has installed generic 4.8 kernel with zfs dkms and all its dependencies.</div>
<div dir="auto"><br>
</div>
<div dir="auto">Low latency kernel is then installed on top of it by</div>
<div dir="auto">$sudo dkpg -i Linux-headers-<ver>-lowlatency Linux-image-<ver>-lowlatency<br>
<div class="gmail_extra" dir="auto"><br>
</div>
<div class="gmail_extra" dir="auto"><br>
</div>
<div class="gmail_extra" dir="auto">Thanks again,</div>
<div class="gmail_extra" dir="auto"><br>
</div>
<div class="gmail_extra" dir="auto">BR,</div>
<div class="gmail_extra" dir="auto">NS<br>
<div class="gmail_quote" dir="auto">On Jun 28, 2017 8:15 PM, "N. S." <n5pascal@hotmail.com> wrote:<br type="attribution">
<blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">
<div dir="ltr" style="font-size:12pt;color:rgb( 0 , 0 , 0 );font-family:'calibri' , 'helvetica' , sans-serif , 'emojifont' , 'apple color emoji' , 'segoe ui emoji' , 'notocoloremoji' , 'segoe ui symbol' , 'android emoji' , 'emojisymbols' , 'emojifont' , 'apple color emoji' , 'segoe ui emoji' , 'notocoloremoji' , 'segoe ui symbol' , 'android emoji' , 'emojisymbols'">
<p></p>
<div>Hi Nicholas and Andrew,<br>
<br>
<br>
Thank you both for your help.<br>
<br>
@Nicholas,<br>
I downloaded the kernel 4.8 and 4.11 Low-latency (Requirement by the application) and installed it<br>
sudo dpkg -i linux-header-4.8* linux-image-4.8*<br>
sudo update-grub<br>
<br>
But I am faced with a challenge that ZFS is not starting UP during boot. Cf attached.<br>
<br>
Further digging, the status of the services is as follows:<br>
<br>
<br>
<b><br>
$ systemctl status zfs-import-cache.service</b><br>
● zfs-import-cache.service - Import ZFS pools by cache file<br>
   Loaded: loaded (/lib/systemd/system/zfs-import-cache.service; static; vendor preset: enabled)<br>
   Active: failed (Result: exit-code) since Wed 2017-06-28 19:54:33 EEST; 12min ago<br>
  Process: 1032 ExecStartPre=/sbin/modprobe zfs (code=exited, status=1/FAILURE)<br>
<br>
Jun 28 19:54:33 ns-HP systemd[1]: Starting Import ZFS pools by cache file...<br>
Jun 28 19:54:33 ns-HP modprobe[1032]: modprobe: FATAL: Module zfs not found in directory /lib/modules/4.8.0-040800-lowlatency<br>
Jun 28 19:54:33 ns-HP systemd[1]: zfs-import-cache.service: Control process exited, code=exited status=1<br>
Jun 28 19:54:33 ns-HP systemd[1]: Failed to start Import ZFS pools by cache file.<br>
Jun 28 19:54:33 ns-HP systemd[1]: zfs-import-cache.service: Unit entered failed state.<br>
Jun 28 19:54:33 ns-HP systemd[1]: zfs-import-cache.service: Failed with result 'exit-code'.<br>
<br>
<br>
<b><br>
<br>
ns@ns-HP:/usr/src/linux-headers-4.4.0-81$ systemctl status zfs-mount.service</b><br>
● zfs-mount.service - Mount ZFS filesystems<br>
   Loaded: loaded (/lib/systemd/system/zfs-mount.service; static; vendor preset: enabled)<br>
   Active: failed (Result: exit-code) since Wed 2017-06-28 19:54:34 EEST; 13min ago<br>
  Process: 1042 ExecStart=/sbin/zfs mount -a (code=exited, status=1/FAILURE)<br>
 Main PID: 1042 (code=exited, status=1/FAILURE)<br>
<br>
Jun 28 19:54:33 ns-HP systemd[1]: Starting Mount ZFS filesystems...<br>
Jun 28 19:54:34 ns-HP zfs[1042]: The ZFS modules are not loaded.<br>
Jun 28 19:54:34 ns-HP zfs[1042]: Try running '/sbin/modprobe zfs' as root to load them.<br>
Jun 28 19:54:34 ns-HP systemd[1]: zfs-mount.service: Main process exited, code=exited, status=1/FAILURE<br>
Jun 28 19:54:34 ns-HP systemd[1]: Failed to start Mount ZFS filesystems.<br>
Jun 28 19:54:34 ns-HP systemd[1]: zfs-mount.service: Unit entered failed state.<br>
Jun 28 19:54:34 ns-HP systemd[1]: zfs-mount.service: Failed with result 'exit-code'.<br>
ns@ns-HP:/usr/src/linux-headers-4.4.0-81$<br>
<br>
I tried to run modprobe zfs as advised, but:<br>
<br>
$ sudo -i<br>
[sudo] password for ns:<br>
root@ns-HP:~<b># /sbin/modprobe zfs</b><br>
modprobe: FATAL: Module zfs not found in directory /lib/modules/4.8.0-040800-lowlatency<br>
root@ns-HP:~# </div>
<br>
<p><b></b></p>
<b>
<div><br>
<br>
</div>
I know this might be not directly related to JUJU, but to ubuntu kernel, but I appreciate if  you could help.</b>
<p></p>
<p><b><br>
</b></p>
<p><b></b>Thanks,</p>
<p>BR,<br>
</p>
<p><b>NS<br>
</b></p>
<p><b><br>
</b></p>
<p><b><br>
</b></p>
<p><b>Nicholas Skaggs</b><a href="mailto:juju%40lists.ubuntu.com?Subject=Re%3A%20Running%20KVM%20in%20addition%20to%20LXC%20on%20local%20LXD%20CLOUD&In-Reply-To=%3CCAHNOz3oXQF4t2x5Rz6R5P-zfuQ651PPJSJEQRf9Er-ZW_3pE4Q%40mail.gmail.com%3E">nicholas.skaggs at canonical.com</a><br>
<i>Tue Jun 27 19:51:08 UTC 2017</i><br>
</p>
<p></p>
<pre>If it's possible, I would simply run the hwe kernel on xenial which
provides 4.8+. Read more about running an updated stack here:

<a href="https://wiki.ubuntu.com/Kernel/LTSEnablementStack">https://wiki.ubuntu.com/Kernel/LTSEnablementStack</a>

This would solve your specific problem without worrying about running
kvm's.</pre>
<div style="margin-bottom:20px;width:100%;text-indent:0px">
<table style="width:90%;background-color:rgb( 255 , 255 , 255 );padding-top:20px;padding-bottom:20px;margin-top:20px;border-top:1px dotted rgb( 200 , 200 , 200 );border-bottom:1px dotted rgb( 200 , 200 , 200 )" cellspacing="0">
<tbody>
<tr style="border-spacing:0px" valign="top">
<td colspan="2" style="vertical-align:top;padding:0px;display:table-cell">
<div></div>
<div></div>
<div style="color:rgb( 0 , 120 , 215 );font-weight:400;font-size:21px;font-family:, 'segoe ui light' , 'segoe wp light' , 'segoe ui' , 'segoe wp' , 'tahoma' , 'arial' , sans-serif;line-height:21px">
<a href="https://wiki.ubuntu.com/Kernel/LTSEnablementStack" style="text-decoration:none">Kernel/LTSEnablementStack - Ubuntu Wiki</a></div>
<div style="margin:10px 0px 16px;color:rgb( 102 , 102 , 102 );font-weight:400;font-family:, 'segoe ui' , 'segoe wp' , 'tahoma' , 'arial' , sans-serif;font-size:14px;line-height:14px">
wiki.ubuntu.com</div>
<div style="display:block;color:rgb( 102 , 102 , 102 );font-weight:400;font-family:, 'segoe ui' , 'segoe wp' , 'tahoma' , 'arial' , sans-serif;font-size:14px;line-height:20px;max-height:100px">
Ubuntu Kernel Release Schedule. The following is a generic view of the Ubuntu release schedule, the kernels delivered, and the support time frames.</div>
</td>
</tr>
</tbody>
</table>
</div>
<i></i>
<p></p>
<div>
<p> </p>
</div>
<br>
<br>
<div style="color:rgb( 0 , 0 , 0 )">
<hr style="display:inline-block;width:98%">
<div dir="ltr"><font style="font-size:11pt" color="#000000" face="Calibri, sans-serif"><b>From:</b> Andrew Wilkins <andrew.wilkins@canonical.com><br>
<b>Sent:</b> Sunday, June 25, 2017 10:42 PM<br>
<b>To:</b> N. S.; juju@lists.ubuntu.com<br>
<b>Subject:</b> Re: Running KVM in addition to LXC on local LXD CLOUD</font>
<div> </div>
</div>
<div>
<div dir="ltr">
<div class="elided-text">
<div dir="ltr">On Sat, Jun 24, 2017 at 9:14 PM N. S. <<a href="mailto:n5pascal@hotmail.com">n5pascal@hotmail.com</a>> wrote:<br>
</div>
<blockquote style="margin:0 0 0 0.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<div dir="auto">Hi,
<div dir="auto"><br>
</div>
<div dir="auto"><br>
</div>
<div dir="auto">I am running 10 machines on local LXD cloud, and it's fine.</div>
<div dir="auto"><br>
</div>
<div dir="auto">My host is Ubuntu 16.04, kernel 4.4.0-81.</div>
<div dir="auto"><br>
</div>
<div dir="auto">However, I have the following challenge:</div>
<div dir="auto">One of the machines (M0) stipulates a kernel 4.7+</div>
<div dir="auto"><br>
</div>
<div dir="auto"><br>
</div>
<div dir="auto">As it's known, unlike KVM, LXC makes use of same kernel of the host system and in this case (4.4.0-81) breaching thus the stipulation of M0 (4.7+).</div>
<div dir="auto"><br>
</div>
<div dir="auto"><br>
</div>
<div dir="auto">I have read that starting Juju 2.0, KVM is no more supported.</div>
</div>
</div>
</blockquote>
<div><br>
</div>
<div>Juju still supports kvm, but the old "local" provider which supported lxc/kvm is gone.</div>
<div><br>
</div>
<div>You could run a kvm container from within a lxd machine with the right apparmor settings. Probably the most straight forward thing to do, though, would be to create a KVM VM yourself, install Ubuntu on it, and then manually provision it using "juju add-machine
 ssh:<hostname>".</div>
<div><br>
</div>
<blockquote style="margin:0 0 0 0.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<div dir="auto">
<div dir="auto"><br>
</div>
<div dir="auto">How could I prepare the stipulation of M0?</div>
<div dir="auto"><br>
</div>
<div dir="auto">Thanks for your help</div>
<div dir="auto">BR,</div>
<div dir="auto">Nazih</div>
<div dir="auto"><br>
</div>
</div>
</div>
--<br>
Juju mailing list<br>
<a href="mailto:Juju@lists.ubuntu.com">Juju@lists.ubuntu.com</a><br>
Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/juju">
https://lists.ubuntu.com/mailman/listinfo/juju</a><br>
</blockquote>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</body>
</html>