Bug 1216451 - Cockpit - update and reboot hit error `snapper --no-dbus --csvout list --columns default,number` returned with error code 1.'
Summary: Cockpit - update and reboot hit error `snapper --no-dbus --csvout list --colu...
Status: RESOLVED FEATURE
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Cockpit (show other bugs)
Version: Current
Hardware: aarch64 openSUSE Tumbleweed
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Cockpit Bugs
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-10-20 14:50 UTC by Zaoliang Luo
Modified: 2024-06-03 15:05 UTC (History)
3 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
yast logs (644.18 KB, application/x-xz)
2023-10-20 14:50 UTC, Zaoliang Luo
Details
screen shot (176.72 KB, image/png)
2023-10-20 14:51 UTC, Zaoliang Luo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Zaoliang Luo 2023-10-20 14:50:43 UTC
Created attachment 870359 [details]
yast logs

Install Tumbleweed on my Raspberry Pi compute Module 4 and enable cockpit WebUI.

Later I checked for updates and want to install updates and reboot. But I got an error: `snapper --no-dbus --csvout list --columns default,number` returned with error code 1.'

if I run zypper ref/dup for upgrade, I don't get any error:

---
compute:~ # zypper lr
Repository priorities are without effect. All enabled repositories share the same priority.

# | Alias         | Name                                   | Enabled | GPG Check | Refresh
--+---------------+----------------------------------------+---------+-----------+--------
1 | repo-debug    | openSUSE-Tumbleweed-Debug              | No      | ----      | ----
2 | repo-openh264 | Open H.264 Codec (openSUSE Tumbleweed) | Yes     | (r ) Yes  | Yes
3 | repo-oss      | openSUSE-Tumbleweed-Oss                | Yes     | (r ) Yes  | Yes
4 | repo-source   | openSUSE-Tumbleweed-Source             | No      | ----      | ----
5 | repo-update   | openSUSE-Tumbleweed-Update             | Yes     | (r ) Yes  | Yes
compute:~ # zypper ref
Repository 'Open H.264 Codec (openSUSE Tumbleweed)' is up to date.                                                      
Repository 'openSUSE-Tumbleweed-Oss' is up to date.                                                                     
Repository 'openSUSE-Tumbleweed-Update' is up to date.                                                                  
All repositories have been refreshed.
compute:~ # zypper dup
Loading repository data...
Reading installed packages...
Warning: You are about to do a distribution upgrade with all enabled repositories. Make sure these repositories are compatible before you continue. See 'man zypper' for more information about this command.
Computing distribution upgrade...

The following 21 packages are going to be upgraded:
  dirmngr dracut-kiwi-lib dracut-kiwi-oem-repart gnome-sudoku gnome-sudoku-lang gpg2 gpg2-lang libncurses6 libnghttp2-14
  ncurses-utils openSUSE-release openSUSE-release-ftp suse-module-tools suse-module-tools-scriptlets terminfo
  terminfo-base terminfo-iterm terminfo-screen xterm xterm-bin xterm-resize

The following product is going to be upgraded:
  openSUSE Tumbleweed  20231016-0 -> 20231017-0

21 packages to upgrade.
Overall download size: 0 B. Already cached: 9.8 MiB. After the operation, additional 1.8 KiB will be used.
Continue? [y/n/v/...? shows all options] (y): n

--- 

Please check screen shot and yast logs.
Comment 1 Zaoliang Luo 2023-10-20 14:51:10 UTC
Created attachment 870360 [details]
screen shot
Comment 2 Miika Alikirri 2023-10-30 12:37:00 UTC
Hi!

Did you install Tumbleweed from a raw image?
The official raspberry pi raw image uses ext4 filesystem which is not
supported by snapper.

If you're using ext4, you have to either reinstall the OS with btrfs or
update it from terminal.

While this cannot be fixed from Cockpit's side, the error message should
be improved to warn about incompatible filesystems.
Comment 3 Zaoliang Luo 2023-10-30 17:02:10 UTC
(In reply to Miika Alikirri from comment #2)
> Hi!
> 
> Did you install Tumbleweed from a raw image?
> The official raspberry pi raw image uses ext4 filesystem which is not
> supported by snapper.
> 
> If you're using ext4, you have to either reinstall the OS with btrfs or
> update it from terminal.
> 
> While this cannot be fixed from Cockpit's side, the error message should
> be improved to warn about incompatible filesystems.

okay, thanks for the explanation. I'll check this behavior on with btrfs then.
Comment 5 Robert Simai 2024-06-03 13:47:28 UTC
@Zaoling: potential improvement is tracked in https://jira.suse.com/browse/CPT-49
Any reason to keep this bug still open?
Comment 6 Zaoliang Luo 2024-06-03 14:46:02 UTC
(In reply to Robert Simai from comment #5)
> @Zaoling: potential improvement is tracked in
> https://jira.suse.com/browse/CPT-49
> Any reason to keep this bug still open?

no, if this has been tracked already, thanks!
Comment 7 Robert Simai 2024-06-03 15:04:15 UTC
closed as agreed, thanks for your report and contribution