Summary: | sys-block/targetcli-fb-2.1.51 fails to load config | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Mario Bachmann <grafgrimm77> |
Component: | Current packages | Assignee: | Diogo Pereira <sir.suriv> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | jstein, mstockin, nemunaire, proxy-maint |
Priority: | Normal | Keywords: | PullRequest |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://github.com/gentoo/gentoo/pull/17142 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Mario Bachmann
2020-05-12 11:15:14 UTC
# targetcli --version /usr/lib/python-exec/python3.7/targetcli version 2.1.51 # targetcli targetcli shell version 2.1.51 Copyright 2011-2013 by Datera, Inc and others. For help on commands, type 'help'. /> ls [shows my running config configured with targetcli-fb-2.1.49] /> exit Global pref auto_save_on_exit=true Configuration saved to /etc/target/saveconfig.json so saveconfig.json is saved with targetcli-fb-2.1.51 try to reload the saved config with targetcli-fb-2.1.51 fails: targetcli restoreconfig /etc/target/saveconfig.json restore_from_file() takes from 1 to 4 positional arguments but 5 were given The cause seems to be this commit in rtslib-fb: https://github.com/open-iscsi/rtslib-fb/commit/e3758d96e1a1baaedd46514446a1f75cc1e234ce#diff-b46ec0ec91651274dde0f46f9a6cde4cL406 The dependency should be >=dev-python/rtslib-fb-2.1.70, but the only version in the tree is 2.1.69. I opened a PR to bump rtslib-fb to 2.1.72: https://github.com/gentoo/gentoo/pull/15856 The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=934814f627d542bae52f0500ad6cf003525e23f2 commit 934814f627d542bae52f0500ad6cf003525e23f2 Author: Diogo Pereira <sir.suriv@gmail.com> AuthorDate: 2020-08-16 23:14:05 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2020-08-25 00:06:07 +0000 sys-block/targetcli-fb: bump to 2.1.53 Bug: https://bugs.gentoo.org/722674 Bug: https://bugs.gentoo.org/736086 Closes: https://bugs.gentoo.org/718528 Package-Manager: Portage-2.3.103, Repoman-2.3.23 Signed-off-by: Diogo Pereira <sir.suriv@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/17142 Signed-off-by: Sam James <sam@gentoo.org> sys-block/targetcli-fb/Manifest | 1 + sys-block/targetcli-fb/targetcli-fb-2.1.53.ebuild | 28 +++++++++++++++++++++++ 2 files changed, 29 insertions(+) |