Code Monkey home page Code Monkey logo

Comments (22)

yasker avatar yasker commented on May 13, 2024 1

No update so far. Been busy on other issues.

The latest update of on RancherOS is we're currently blocking by #198. The previous solution results in a nested mount which won't play well with Linux.

We definitely welcome outside helps!

from longhorn.

djmaze avatar djmaze commented on May 13, 2024

Okay, made it work by adjusting the hard-coded launch command. It would probably make sense to allow setting the frontend mode via the manager commandline?

from longhorn.

yasker avatar yasker commented on May 13, 2024

Currently, TCMU is not as well tested as TGT, so we haven't recommended to use it.

We're working on it TGT support for RancherOS at the moment. We expect it to work in the near future.

from longhorn.

xinity avatar xinity commented on May 13, 2024

any updates on this perhaps ? :)

from longhorn.

yasker avatar yasker commented on May 13, 2024

Got to involve @SvenDowideit :)

from longhorn.

xinity avatar xinity commented on May 13, 2024

Got to involve @SvenDowideit :)

he seems pretty busy as we can see in RancherOS github project :)
but yes i'd love to see him involved in this issue definitely :)

from longhorn.

SvenDowideit avatar SvenDowideit commented on May 13, 2024

yup, I got so far as to add an open-iscsi service to the master services repo, and then things got busy :/

from longhorn.

xinity avatar xinity commented on May 13, 2024

@SvenDowideit do you think it could be enough (open-iscsi service) to test longhorn with rancheros ?

from longhorn.

niusmallnan avatar niusmallnan commented on May 13, 2024

Now we should able to support RancherOS, longhorn/longhorn-manager@521920d

Anyone can refer to the following steps to experience:
Now can only support ubuntu-console

$ ros console switch ubuntu
$ ros engine switch docker-17.03.2-ce

#  install open-iscsi
$ apt install --no-install-recommends open-iscsi

# mkdir lock dir for iscsi
$ mkdir /run/lock
# update cloud-config in RancherOS
runcmd:
- [mkdir, /run/lock]

RKE

# download RKE
$ curl -o rke -L https://github.com/rancher/rke/releases/download/v0.1.7/rke_linux-amd64

# cluster.yml
nodes:
  - address: xxxxx
    user: rancher
    role: [controlplane,worker,etcd]

network:
  plugin: flannel

services:
  kube-api:
    extra_args:
      feature-gates: MountPropagation=true

  kubelet:
    extra_args:
      feature-gates: MountPropagation=true
      volume-plugin-dir: /opt/rke/var/lib/kubelet/volumeplugins

Update FLEXVOLUME_DIR before deploy longhorn

- name: FLEXVOLUME_DIR
  value: "/opt/rke/var/lib/kubelet/volumeplugins/"

from longhorn.

DeviantEng avatar DeviantEng commented on May 13, 2024

@niusmallnan Hey, can you provide any more guidance on this? Still not super clear to me.

I have 3 RancherOS nodes, all 3 running ubuntu console. open-iscsi installed, but still getting this error from longhorn-manager:

ERRO[0000] Failed environment check, please make sure you have iscsiadm/open-iscsi installed on the host
FATA[0000] Error starting manager: Environment check failed: Invalid mount namespace /host/proc/1/ns/mnt, error Failed to execute: nsenter [--mount=/host/proc/1/ns/mnt mount], output nsenter: failed to execute mount: No such file or directory
root@ros-01:~# ros console list
disabled alpine
disabled centos
disabled debian
disabled default
disabled fedora
current  ubuntu
root@ros-01:~# which iscsiadm
/usr/bin/iscsiadm
root@ros-01:~# dpkg-query -l 'open-iscsi'
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                                    Version                  Architecture             Description
+++-=======================================-========================-========================-===================================================================================
ii  open-iscsi                              2.0.873+git0.3b4b4500-14 amd64                    iSCSI initiator tools

What exactly am I supposed to do with rke? (I'm not familiar with rke). And where am I suppoed to update that FLEXVOLUME_DIR value?

Thanks.

from longhorn.

yasker avatar yasker commented on May 13, 2024

@DeviantEng We haven't had RancherOS support in a release yet. If you want to give it try, using deploy directory master branch of https://github.com/rancher/longhorn-manager . It's the development build so it's maybe broken and needs a clean new environment to be installed.

Starting the next release (v0.3) we will formally support RancherOS.

from longhorn.

DeviantEng avatar DeviantEng commented on May 13, 2024

@yasker Thanks for the replay. I'm still testing around with other things in Rancher 2, so I can wait for the next release (of Longhorn, I assume?). Is there an ETA on that currently?

With formal support fo ROS, will that only be with the ubuntu console, or will that be with all consoles (minor thing, but just curious)?

from longhorn.

yasker avatar yasker commented on May 13, 2024

@DeviantEng We're targetting next month for the release.

Regarding the available consoles, we will support default console as well in the release.

from longhorn.

yasker avatar yasker commented on May 13, 2024

Pending on default console support and (possible) user configuration-free experience.

from longhorn.

DeviantEng avatar DeviantEng commented on May 13, 2024

What's the latest on this? I would love to test Longhorn on my RancherOS Rancher cluster.

from longhorn.

MaxDiOrio avatar MaxDiOrio commented on May 13, 2024

Same here. Seems like a good alternative to NFS.

from longhorn.

yasker avatar yasker commented on May 13, 2024

@DeviantEng @MaxDiOrio We cannot finish RancherOS support for v0.3.0 release in time. We're trying to get done in v0.3.1 release, but it all depends on our bandwidths. We definitely should able to support RancherOS in v0.4.0 release.

from longhorn.

twitchax avatar twitchax commented on May 13, 2024

Any updates here? Any need for outside contribution?

from longhorn.

krishofmans avatar krishofmans commented on May 13, 2024

I was hoping to finally give this a try with the 0.4 release, but apparently this has moved. Will this be available by the time rancher 2.2 gets released?

from longhorn.

pagong avatar pagong commented on May 13, 2024

@krishofmans:
Please have a look at the documentation of my setup of rook-nfs-0.9.2 on-top-of
longhorn-0.3.0 on-top-of RKE on-top-of rancheros-1.4.0 on-top-of KVM on-top-of openSUSE-15.0.
Maybe my write-up is helpful to you :-)

from longhorn.

yasker avatar yasker commented on May 13, 2024

@krishofmans Sadly it won't be available by the time Rancher 2.2 released. RancherOS support is a priority for v0.5 release.

from longhorn.

yasker avatar yasker commented on May 13, 2024

Fixed by longhorn/longhorn-manager#242

from longhorn.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.