os: Console container not updated after upgrade
BurmillaOS Version: (ros os version) v1.9.6
Where are you running BurmillaOS? (docker-machine, AWS, GCE, baremetal, etc.) HyperV VM
Which processor architecture you are using? amd64
After Upgrading from v1.9.5 to v1.9.6 I noticed that the console container is not upgraded and still running version v1.9.5:
$ sudo ros os version
v1.9.6
$ sudo system-docker container ls --filter name=console
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
70f34c0f6968 burmilla/os-console:v1.9.5 "/usr/bin/ros entr..." 3 months ago Up 9 minutes console
Is this the intended behavior that I have to manually update the console container with:
$ sudo ros console switch default
$ sudo system-docker container ls --filter name=console
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
68caeb726815 burmilla/os-console:v1.9.6 "/usr/bin/ros entr..." 43 seconds ago Up 42 seconds console
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 15 (7 by maintainers)
Commits related to this issue
- add note about console container during upgrade see https://github.com/burmilla/os/issues/150#issuecomment-1399436927 — committed to PrplHaz4/burmilla.github.io by PrplHaz4 4 years ago
- add note about console container during upgrade see https://github.com/burmilla/os/issues/150#issuecomment-1399436927 — committed to burmilla/burmilla.github.io by PrplHaz4 4 years ago
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 https://github.com/burmilla/os/blob/615b3d4f7c4710580ba689e515082baa132548ea/os-config.tpl.yml#L245 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 submitted a PR here: https://github.com/burmilla/burmilla.github.io/pull/21
Unfortunately
ros console enabledoes not force a recreate of the container, soros console switchis required to recreate/update theos-consolecontainer so that’s what I included.Agreed - it was not immediately clear to me that every upgrade would need
sudo ros console switch defaultto get the latest. As a user my expectation would be that all system containers are upgraded duringros upgrade.A Y/N switch to include console during
ros upgradeor 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:
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.