Re: [meta-virtualization] Issues with k3s runtime on master

2022-04-08 Thread Bruce Ashfield
On Fri, Apr 8, 2022 at 2:06 PM Diego Sueiro  wrote:

>
>
> *From:* Bruce Ashfield 
> *Sent:* 08 April 2022 18:39
> *To:* Bruce Ashfield 
> *Cc:* Diego Sueiro ;
> meta-virtualization@lists.yoctoproject.org; Richard Neill <
> richard.ne...@arm.com>; nd 
> *Subject:* Re: [meta-virtualization] Issues with k3s runtime on master
>
>
>
>
>
>
>
> On Fri, Apr 8, 2022 at 1:04 PM Bruce Ashfield via lists.yoctoproject.org
>  wrote:
>
>
>
>
>
> On Fri, Apr 8, 2022 at 12:54 PM Diego Sueiro  wrote:
>
> Hi Bruce,
>
>
>
> I'm having k3s runtime issues where during the k3s.service start I'm
> getting error messages about missing /usr/libexec/cni/flannel.
>
>
>
> I saw that the cni_git.bb recipe was bumped to versions where flannel and
> its plugin are not available anymore.
>
>
>
> In this case, should we have a recipe to provide both flannel and its
> plugin?
>
>
>
>
>
>
>
> Yep. I don't use flannel, so it wasn't something that I had done. That
> being said, I wanted to avoid maintaining separate recipes per-plugin, so
> when the need arose, I was going to add it to cni_git as an entry on the
> SRC_URI.
>
>
>
> I can have a go at doing that, now that I know there is a need.
>
>
>
> FYI: Here's the WIP change:
> https://git.yoctoproject.org/meta-virtualization/commit/?h=master-next&id=589391db2777f844577a3805fa475515fe62c99f
>
>
>
> I can confirm that the k3s runtime is working with this change.
>
> Should we have SRCREV_FORMAT = "cni_plugins_flannel_plugin" as well as
> adding ;protocol=https into the SRC_URI?
>

It isn't strictly required. There's so many entries in the SRC_URI for some
packages, we can't really list them all, and have the SRCREV format be
useful at all.

Bruce



>
>
> Bruce
>
>
>
>
>
>
>
> Bruce
>
>
>
> --
>
> - Thou shalt not follow the NULL pointer, for chaos and madness await thee
> at its end
> - "Use the force Harry" - Gandalf, Star Trek II
>
>
> 
>
>
>
>
> --
>
> - Thou shalt not follow the NULL pointer, for chaos and madness await thee
> at its end
> - "Use the force Harry" - Gandalf, Star Trek II
>


-- 
- Thou shalt not follow the NULL pointer, for chaos and madness await thee
at its end
- "Use the force Harry" - Gandalf, Star Trek II

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#7143): 
https://lists.yoctoproject.org/g/meta-virtualization/message/7143
Mute This Topic: https://lists.yoctoproject.org/mt/90340033/21656
Group Owner: meta-virtualization+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [meta-virtualization] Issues with k3s runtime on master

2022-04-08 Thread Diego Sueiro

From: Bruce Ashfield 
Sent: 08 April 2022 18:39
To: Bruce Ashfield 
Cc: Diego Sueiro ; 
meta-virtualization@lists.yoctoproject.org; Richard Neill 
; nd 
Subject: Re: [meta-virtualization] Issues with k3s runtime on master



On Fri, Apr 8, 2022 at 1:04 PM Bruce Ashfield via 
lists.yoctoproject.org<http://lists.yoctoproject.org> 
mailto:gmail@lists.yoctoproject.org>>
 wrote:


On Fri, Apr 8, 2022 at 12:54 PM Diego Sueiro 
mailto:diego.sue...@arm.com>> wrote:
Hi Bruce,

I'm having k3s runtime issues where during the k3s.service start I'm getting 
error messages about missing /usr/libexec/cni/flannel.

I saw that the cni_git.bb<http://cni_git.bb> recipe was bumped to versions 
where flannel and its plugin are not available anymore.

In this case, should we have a recipe to provide both flannel and its plugin?



Yep. I don't use flannel, so it wasn't something that I had done. That being 
said, I wanted to avoid maintaining separate recipes per-plugin, so when the 
need arose, I was going to add it to cni_git as an entry on the SRC_URI.

I can have a go at doing that, now that I know there is a need.

FYI: Here's the WIP change: 
https://git.yoctoproject.org/meta-virtualization/commit/?h=master-next&id=589391db2777f844577a3805fa475515fe62c99f

I can confirm that the k3s runtime is working with this change.
Should we have SRCREV_FORMAT = "cni_plugins_flannel_plugin" as well as adding 
;protocol=https into the SRC_URI?

Bruce



Bruce

--
- Thou shalt not follow the NULL pointer, for chaos and madness await thee at 
its end
- "Use the force Harry" - Gandalf, Star Trek II




--
- Thou shalt not follow the NULL pointer, for chaos and madness await thee at 
its end
- "Use the force Harry" - Gandalf, Star Trek II

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#7142): 
https://lists.yoctoproject.org/g/meta-virtualization/message/7142
Mute This Topic: https://lists.yoctoproject.org/mt/90340033/21656
Group Owner: meta-virtualization+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [meta-virtualization] Issues with k3s runtime on master

2022-04-08 Thread Bruce Ashfield
On Fri, Apr 8, 2022 at 1:04 PM Bruce Ashfield via lists.yoctoproject.org
 wrote:

>
>
> On Fri, Apr 8, 2022 at 12:54 PM Diego Sueiro  wrote:
>
>> Hi Bruce,
>>
>> I'm having k3s runtime issues where during the k3s.service start I'm
>> getting error messages about missing /usr/libexec/cni/flannel.
>>
>> I saw that the cni_git.bb recipe was bumped to versions where flannel
>> and its plugin are not available anymore.
>>
>>
> In this case, should we have a recipe to provide both flannel and its
>> plugin?
>>
>>
>>
> Yep. I don't use flannel, so it wasn't something that I had done. That
> being said, I wanted to avoid maintaining separate recipes per-plugin, so
> when the need arose, I was going to add it to cni_git as an entry on the
> SRC_URI.
>
> I can have a go at doing that, now that I know there is a need.
>

FYI: Here's the WIP change:
https://git.yoctoproject.org/meta-virtualization/commit/?h=master-next&id=589391db2777f844577a3805fa475515fe62c99f

Bruce



>
> Bruce
>
> --
> - Thou shalt not follow the NULL pointer, for chaos and madness await thee
> at its end
> - "Use the force Harry" - Gandalf, Star Trek II
>
>
> 
>
>

-- 
- Thou shalt not follow the NULL pointer, for chaos and madness await thee
at its end
- "Use the force Harry" - Gandalf, Star Trek II

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#7140): 
https://lists.yoctoproject.org/g/meta-virtualization/message/7140
Mute This Topic: https://lists.yoctoproject.org/mt/90340033/21656
Group Owner: meta-virtualization+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [meta-virtualization] Issues with k3s runtime on master

2022-04-08 Thread Bruce Ashfield
On Fri, Apr 8, 2022 at 12:54 PM Diego Sueiro  wrote:

> Hi Bruce,
>
> I'm having k3s runtime issues where during the k3s.service start I'm
> getting error messages about missing /usr/libexec/cni/flannel.
>
> I saw that the cni_git.bb recipe was bumped to versions where flannel and
> its plugin are not available anymore.
>
>
In this case, should we have a recipe to provide both flannel and its
> plugin?
>
>
>
Yep. I don't use flannel, so it wasn't something that I had done. That
being said, I wanted to avoid maintaining separate recipes per-plugin, so
when the need arose, I was going to add it to cni_git as an entry on the
SRC_URI.

I can have a go at doing that, now that I know there is a need.

Bruce

-- 
- Thou shalt not follow the NULL pointer, for chaos and madness await thee
at its end
- "Use the force Harry" - Gandalf, Star Trek II

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#7138): 
https://lists.yoctoproject.org/g/meta-virtualization/message/7138
Mute This Topic: https://lists.yoctoproject.org/mt/90340033/21656
Group Owner: meta-virtualization+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[meta-virtualization] Issues with k3s runtime on master

2022-04-08 Thread Diego Sueiro
Hi Bruce,

I'm having k3s runtime issues where during the k3s.service start I'm getting 
error messages about missing /usr/libexec/cni/flannel.

I saw that the cni_git.bb recipe was bumped to versions where flannel and its 
plugin are not available anymore.

In this case, should we have a recipe to provide both flannel and its plugin?



-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#7137): 
https://lists.yoctoproject.org/g/meta-virtualization/message/7137
Mute This Topic: https://lists.yoctoproject.org/mt/90340033/21656
Group Owner: meta-virtualization+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-