opensuse / yomi Goto Github PK
View Code? Open in Web Editor NEWYet one more installer
License: Apache License 2.0
Yet one more installer
License: Apache License 2.0
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?
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
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.
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
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' %}
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
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.