Comments (15)
WDYT, should we change console to non-persistent by default in 2.0.0 release version (or RC2 if we release that)?
After all it is very simple one line change to this
Line 245 in 615b3d4
but challenge is that it might be confusing for those who have used to current behavior.
As recap for those who have not followed whole story. In RancherOS, default console was non-persistent but others was persistent and because in #9 we decided to switch to Debian console it did came as persistent.
Let vote. Leave give 👍 if you support changing console to non-persistent and 👎 if you prefer to keep it console persistent by default.
from os.
Is this the intended behavior that I have to manually update the console container with:
Yes, that why it is also mentioned in documentation https://burmillaos.org/docs/installation/upgrading/#upgrade-rancheros-to-burmillaos
That is because some users like to store some files to console which will disappear on console upgrade.
from os.
But this is only mentioned under "Upgrade RancherOS to BurmillaOS". Maybe there should be a mention also under https://burmillaos.org/docs/installation/upgrading/#upgrading-1, that if you want to use the latest console container you must run
sudo ros console switch default
.
Agreed - it was not immediately clear to me that every upgrade would need sudo ros console switch default
to get the latest. As a user my expectation would be that all system containers are upgraded during ros upgrade
.
A Y/N switch to include console during ros upgrade
or a note at the end of the upgrade command prior to reboot (with a link to console persistence doc) would be the most helpful IMO.
Sample message:
os-console is not upgraded by default - to upgrade after reboot, run
sudo ros console switch default
. Any files stored outside of persistent directories will be permanently deleted. See https://burmillaos.org/docs/installation/custom-builds/custom-console/#console-persistence
from os.
Should we be instructing users to use
ros console enable default
after an upgrade instead?Probably because it is not bug but feature which comes from https://github.com/burmilla/os/blob/v1.9.6/os-config.tpl.yml#L246
In additionally we can instruct users to update that setting to
always
which should make console non-persistent.
I submitted a PR here: burmilla/burmilla.github.io#21
Unfortunately ros console enable
does not force a recreate of the container, so ros console switch
is required to recreate/update the os-console
container so that's what I included.
from os.
But this is only mentioned under "Upgrade RancherOS to BurmillaOS".
Maybe there should be a mention also under https://burmillaos.org/docs/installation/upgrading/#upgrading-1,
that if you want to use the latest console container you must run sudo ros console switch default
.
from os.
Documentation is build from https://github.com/burmilla/burmilla.github.io
Feel free to create pull requests to improve it.
from os.
Documentation is build from https://github.com/burmilla/burmilla.github.io Feel free to create pull requests to improve it.
There's a statement on that page saying "ros console switch has several bugs since RancherOS era, please use “ Enabling consoles” below."
Should we be instructing users to use ros console enable default
after an upgrade instead?
from os.
Should we be instructing users to use
ros console enable default
after an upgrade instead?
Probably because it is not bug but feature which comes from https://github.com/burmilla/os/blob/v1.9.6/os-config.tpl.yml#L246
In additionally we can instruct users to update that setting to always
which should make console non-persistent.
from os.
In additionally we can instruct users to update that setting to
always
which should make console non-persistent.
What I did mean with this one is that it should be possible to use cloud-init like this:
rancher:
services:
console:
labels:
io.rancher.os.scope: system
io.rancher.os.after: network
io.docker.compose.rebuild: "always"
io.rancher.os.console: default
to overwrite values in os-config.tpl.yml
But that need to be tested if it works correctly and that do we really need set all those labels or will it works fine if user just set value for io.docker.compose.rebuild
(might be that other labels disappear from config then).
from os.
But that need to be tested if it works correctly and that do we really need set all those labels or will it works fine if user just set value for
io.docker.compose.rebuild
(might be that other labels disappear from config then).
Thanks @olljanat - I didn't test/verify that so didn't want to write anymore about it.
from os.
The primary issue I have with a non-persistent console is that I do not know of a cron alternative.
from os.
Way how things works with non-persistent console is that everything needs to be configured with cloud-init. So either use https://burmillaos.org/docs/system-services/custom-system-services/#cron or rc.local or with https://burmillaos.org/docs/configuration/advanced/write-files/
However, things gets quite tricky on that one so perhaps we should use logic where console is rebuild automatically in upgrade but not in reboot.
from os.
It could also be that I just don't know patterns here; I have my cron tasks all containerized, but had difficulty figuring out best practices for a scheduler
from os.
WDYT, should we change console to non-persistent by default in 2.0.0 release version (or RC2 if we release that)?
After all it is very simple one line change to this
Line 245 in 615b3d4
but challenge is that it might be confusing for those who have used to current behavior.
As recap for those who have not followed whole story. In RancherOS, default console was non-persistent but others was persistent and because in #9 we decided to switch to Debian console it did came as persistent.
Let vote. Leave give 👍 if you support changing console to non-persistent and 👎 if you prefer to keep it console persistent by default.
I'm avoiding answering because I don't fully understand the implications. If this is done will there not be any persistent directories at all, or is it just limited to locations provided by the console container (which are...?)...will I need to explicitly create any files under /home in cloud-config instead...etc. I recognize there's not a simple answer so don't expect one but hoping to learn from the discussion :)
from os.
Looks that rebuild is not mandatory anymore in v2.0.0 but user can choose upgrade or not the console so closing this one.
from os.
Related Issues (20)
- Add support for ntp server configuration from dhcp HOT 13
- Node problems related to docker version? HOT 4
- Update v2.0.0 console to Debian bookworm HOT 5
- v2.0.0-rc1 issue tracker HOT 24
- How to install burmillaOS and have it boot within Qubes? HOT 8
- Can we get a discord or IRC channel in order to communicate more quickly? HOT 2
- TLS certificate regeneration HOT 2
- Cron - trim volumes on a schedule HOT 1
- "docker-compose" and "docker compose" HOT 19
- References in the docs HOT 1
- Missing entries in `ros` CLI help
- v2.0.0-rc2 missing in https://raw.githubusercontent.com/burmilla/releases/v2.0.x/releases.yml HOT 1
- Bluetooth support HOT 4
- Allow DHCP client in network container to send (correct) hostname to DHCP server HOT 3
- Failed to boot after upgrade from 2.0.0-rc2 to 2.0.0 HOT 9
- CRITICAL: x509: certificate has expired or is not yet valid (all versions affected) HOT 11
- x509: certificate has expired or is not yet valid HOT 4
- Upgrade rancher/os 1.5.8 to burmilla/os 2.0.1 to get latest docker version HOT 14
- "burmilla" user does not exist HOT 1
- "~/.docker" folder is owned by root user & group HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from os.