Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removal of Open-iSCSI ? #21

Closed
dgiebert opened this issue Dec 2, 2020 · 3 comments
Closed

Removal of Open-iSCSI ? #21

dgiebert opened this issue Dec 2, 2020 · 3 comments
Labels
documentation Improvements or additions to documentation question Further information is requested

Comments

@dgiebert
Copy link

dgiebert commented Dec 2, 2020

BurmillaOS Version: Not yet installed, still using rancheros

Where are you running BurmillaOS? Baremetal at Hetzner

Do you use some service(s) which are not enabled by default? open-iscsi

I am planning to do a test run of BurmillaOS including installation and documentation for Hetzner, was there a reason to remove the open-iscsi service as it would be needed for Longhorn ?

https://longhorn.io/docs/1.0.2/deploy/install/#installation-requirements

@olljanat olljanat added question Further information is requested documentation Improvements or additions to documentation labels Dec 2, 2020
@olljanat
Copy link
Member

olljanat commented Dec 2, 2020

was there a reason to remove the open-iscsi service

Good question. This definitely need to be described on documentation.

I find out a while ago that open-iscsi services didn't worked correctly on Ubuntu console (and most probably that is case on all non-default consoles). When investigated it I find out this rancher#2636

To avoid that kind of console specific issues I decided that it is better to support only one console and it ended to be Debian (discussed on #9). As part of that work I included open-iscsi to console.

So "open-iscsi" is already included to BurmillaOS and it just need to be activated by including this to cloud-init:

write_files:
- content: |+
    #!/bin/bash
    /etc/init.d/iscsid start
    modprobe iscsi_tcp
    exit 0
  owner: root
  path: /etc/rc.local

Depending feedback we can just write that to documentation as many iSCSI use cases anyway need some other commands to run on server start anyway (we example check that nutanix-dvp-docker-volume-plug-in is installed and enabled on rc.local after start iscsi service).

Other option would be reinvent open-iscsi service on way that it will just run those two commands after server start.

as it would be needed for Longhorn ?

https://longhorn.io/docs/1.0.2/deploy/install/#installation-requirements

Also note that at least on my current thinking we do not plan support K8s or any its tools on BurmillaOS (more about it on #22) but with that extension to cloud-init config it most probably will work.

@dgiebert
Copy link
Author

dgiebert commented Dec 9, 2020

Even though it is not officially supported by BurmillaOS, I got RKE + Longhorn working using your snippet.
A small change needs to be made as rc.local needs to be executable:

write_files:
- content: |+
    #!/bin/bash
    /etc/init.d/iscsid start
    modprobe iscsi_tcp
    exit 0
  owner: root
  permissions: '0700'
  path: /etc/rc.local

@olljanat
Copy link
Member

olljanat commented Dec 9, 2020

Even though it is not officially supported by BurmillaOS, I got RKE + Longhorn working

Just to clarify, we are not planning to do any changes which would break this configuration. "Not supported" in this context means that we do not test that configuration or promise that it works on future version. However based on information in here it might be that Kubernetes 1.23 does not anymore contain Docker support so it will not be possible run that on BurmillaOS.

@olljanat olljanat closed this as completed Mar 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants