targetcli saveconfig fails after install
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
targetcli (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
New/fresh install of 16.04 server. (Ubuntu 16.04 LTS)
disable qlini_mode on qla2xxx, mkinitramfs, reboot
Enter targetcli and configure a FC LUN.
saveconfig fails with....
ConfigError: Unknown value type 'qla2xxx_wwn' when validating <WWPN>
Can exit targetcli and re-enter with config intact (running), but cannot save the config (will not survive a reboot).
Seen in 2014 > https:/
uberk@aphrodite:~$ apt-cache policy targetcli
targetcli:
Installed: 1:3.0~pre4.
Candidate: 1:3.0~pre4.
Version table:
*** 1:3.0~pre4.
500 http://
500 http://
100 /var/lib/
Hardware is QLE2564 HBA.
Set attachment for full targetcli usage details.
Error output:
/qla2xxx> saveconfig
Save configuration? [Y/n]: y
Saving new startup configuration
Traceback (most recent call last):
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
result = target.
File "/usr/lib/
return UINode.
File "/usr/lib/
pparams, kparams)
File "/usr/lib/
result = method(*pparams, **kparams)
File "/usr/lib/
CliConfig.
File "/usr/lib/
config.
File "/usr/lib/
source=source, allow_new_
File "/usr/lib/
token = self.validate_
File "/usr/lib/
valid_value = self.validate_
File "/usr/lib/
% (val_type, value))
ConfigError: Unknown value type 'qla2xxx_wwn' when validating 21:00:00:
uberk@aphrodite:~$ apt-cache policy python-configshell us.archive. ubuntu. com/ubuntu xenial/universe amd64 Packages us.archive. ubuntu. com/ubuntu xenial/universe i386 Packages dpkg/status
python-configshell:
Installed: 1.6.1~g020d540-2
Candidate: 1.6.1~g020d540-2
Version table:
*** 1.6.1~g020d540-2 500
500 http://
500 http://
100 /var/lib/