Giter VIP home page Giter VIP logo

yomi's Issues

What happended with yomi?

I started showing interest in Yomi in 2019, now I looked how far the project has gone but it looks completely dead. What was happening with this project?

Snapper install fails

I'm trying to install a new kubic node using the yomi installation scripts and I'm experiencing failures when snapper installs.

My salt master is a newly installed kubic master node installation:

NAME="openSUSE MicroOS"
VERSION="20200720"
ID="opensuse-microos"
ID_LIKE="suse opensuse opensuse-tumbleweed"
VERSION_ID="20200720"
PRETTY_NAME="openSUSE MicroOS"
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:opensuse:microos:20200720"
BUG_REPORT_URL="https://bugs.opensuse.org"
HOME_URL="https://www.opensuse.org/"
LOGO="distributor-logo"

And the worker node is booted from:
openSUSE-Tumbleweed-Yomi.x86_64-1.0.0-livecd-Build108.22.iso

The installation step fails with the following error message:

 ID: snapper_step_two_/dev/sda2
Function: snapper_install.step_two
  Result: False
 Comment: An exception occurred in this state: Traceback (most recent call last):
            File "/usr/lib/python3.8/site-packages/salt/state.py", line 1987, in call
              ret = self.states[cdata['full']](*cdata['args'], **cdata['kwargs'])
            File "/usr/lib/python3.8/site-packages/salt/loader.py", line 2031, in wrapper
              return f(*args, **kwargs)
            File "/var/cache/salt/minion/extmods/states/snapper_install.py", line 97, in wrapper
              device = kwargs['device']
          KeyError: 'device'
 Started: 09:47:46.330177
Duration: 3.079 ms
 Changes:   

The configuration that I've updated in the yomi pillar's installer.sls
{% set efi = False %}
{% set partition = 'gpt' %}
{% set device_type = 'sd' %}
{% set root_filesystem = 'btrfs' %}
{% set home_filesystem = False %}
{% set snapper = True %}
{% set swap = False %}
{% set mode = 'kubic' %}

Please find attched the output from running : salt 'kubenodetst05' state.apply yomi
salt_output_28-07-2020.2.txt

salt-master can't access /usr/share/yomi

On suse the salt-master runs as the user salt so all files that yomi-formula provides should have the following permissions: root:salt so the salt user can read the files.

"salt node state.apply yomi" fails to create subvolumes

I'm trying to install a new kubic node using the yomi installation scripts and I'm experiencing failures when creating the required btrfs subvolumes.

My salt master is a newly installed kubic master node installation:

NAME="openSUSE MicroOS"
VERSION="20200717"
ID="opensuse-microos"
ID_LIKE="suse opensuse opensuse-tumbleweed"
VERSION_ID="20200717"
PRETTY_NAME="openSUSE MicroOS"
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:opensuse:microos:20200717"
BUG_REPORT_URL="https://bugs.opensuse.org"
HOME_URL="https://www.opensuse.org/"
LOGO="distributor-logo"

And the worker node is booted from:
openSUSE-Tumbleweed-Yomi.x86_64-1.0.0-livecd-Build108.14.iso

The installation step fails with the following error message:
ID: subvol_create_/dev/sda2_usr/local
Function: btrfs.subvolume_created
Name: @/usr/local
Result: False
Comment: An exception occurred in this state: Traceback (most recent call last):
File "/usr/lib/python3.8/site-packages/salt/state.py", line 1987, in call
ret = self.states[cdata['full']](*cdata['args'], **cdata['kwargs'])
File "/usr/lib/python3.8/site-packages/salt/loader.py", line 2031, in wrapper
return f(*args, **kwargs)
File "/usr/lib/python3.8/site-packages/salt/states/btrfs.py", line 106, in wrapper
name = kwargs['name']
KeyError: 'name'
Started: 12:33:12.563867
Duration: 1.278 ms
Changes:

I've attached the hardware configuration of the node that I'm trying to install

node_5_salt_installation

salt_output.txt

The configuration that I've updated in the yomi pillar's installer.sls
{% set efi = False %}
{% set partition = 'gpt' %}
{% set device_type = 'sd' %}
{% set root_filesystem = 'btrfs' %}
{% set home_filesystem = False %}
{% set snapper = True %}
{% set swap = False %}
{% set mode = 'kubic' %}

"salt node state.apply yomi" fails to add custom zypper repos

I'm trying to install a new kubic node using the yomi installation scripts. Our servers sit behind a corporate firewall and I thus require customer zypper repositories to proxy my connection to the outside world.

My salt master is a newly installed kubic master node installation:

NAME="openSUSE MicroOS"
VERSION="20200720"
ID="opensuse-microos"
ID_LIKE="suse opensuse opensuse-tumbleweed"
VERSION_ID="20200720"
PRETTY_NAME="openSUSE MicroOS"
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:opensuse:microos:20200720"
BUG_REPORT_URL="https://bugs.opensuse.org"
HOME_URL="https://www.opensuse.org/"
LOGO="distributor-logo"

And the worker node is booted from:
openSUSE-Tumbleweed-Yomi.x86_64-1.0.0-livecd-Build108.22.iso

The installation step fails with the following error message:

      ID: add_repository_http://registry.domain/repository/Tumbleweed-oss/
Function: pkgrepo.managed
    Name: repo_oss
  Result: False
 Comment: Failed to configure repo 'repo_oss': Zypper command failure: Unknown problem when adding repository:
          Can't open file '/mnt/etc/zypp/repos.d/repo_oss.repo' for writing.
 Started: 08:22:58.263955
Duration: 89.853 ms
 Changes:   

I've attached the full output for further reference.
salt_output_28-07-2020.1.txt

Adding my installer.sls file
installer.sls.txt

Unable to run yomi livecd

I'm unable to boot a yomi live CD. I can reach the boot loader, but nothing after that. I've attached screenshots of my configuration. I've experience similar issue with the PXE boot.

vm_setup
yomi_boot
hardware_setup

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.