Bug 1495374 - ValueError: new value xfs is not valid as a default fs type
Summary: ValueError: new value xfs is not valid as a default fs type
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 27
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Anaconda Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-09-26 00:10 UTC by Konrad Rzeszutek Wilk
Modified: 2019-07-16 11:38 UTC (History)
13 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2017-10-07 12:28:17 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Serial log of the guest (49.15 KB, text/plain)
2017-09-26 00:15 UTC, Konrad Rzeszutek Wilk
no flags Details

Description Konrad Rzeszutek Wilk 2017-09-26 00:10:12 UTC
Description of problem:

When installing Fedora 27 Beta 1.2 x86_64 as an guest (over the same LVM in which Fedora 27 Branched 20170901.n.1 was installed) I get:



[19;1H14:10:40 Please manually connect your vnc client to rawhide-64-hvm.dumpdata.com:1 (192.168.106.89:1) to begin the install.
14:10:40 Attempting to start vncconfig
14:10:40 Attempting to start vncconfig[1;24r[23;1HTraceback (most recent call last):[1;23r[23;80H
[1;24r[23;1H  File "/sbin/anaconda", line 602, in <module>[1;23r[23;80H
[1;24r[23;1H    display.setup_display(anaconda, opts, addon_paths=addon_paths)[1;23r[23;80H
[1;24r[23;1H[1;23r[23;80H
[22;1H  File "/usr/lib64/python3.6/site-packages/pyanaconda/display.py", line 334, in setup_display[1;24r[23;14H[1;23r[23;80H





















[H  File "/usr/lib64/python3.6/site-packages/pyanaconda/anaconda.py", line 312, in initInterface
    self._intf = GraphicalUserInterface(self.storage, self.payload,
  File "/usr/lib64/python3.6/site-packages/pyanaconda/anaconda.py", line 173, in storage
    self._set_default_fstype(self._storage)
  File "/usr/lib64/python3.6/site-packages/pyanaconda/anaconda.py", line 247, in _set_default_fstype
    storage.set_default_fstype(fstype)
  File "/usr/lib/python3.6/site-packages/blivet/threads.py", line 45, in run_with_lock
    return m(*args, **kwargs)
  File "/usr/lib/python3.6/site-packages/blivet/blivet.py", line 1597, in set_default_fstype
    self._check_valid_fstype(newtype)
  File "/usr/lib/python3.6/site-packages/blivet/threads.py", line 45, in run_with_lock
    return m(*args, **kwargs)
  File "/usr/lib/python3.6/site-packages/blivet/blivet.py", line 1572, in _check_valid_fstype
    raise ValueError("new value %s is not valid as a default fs type" % newtype)[22;1HValueError: new value xfs is not valid as a default fs type[1;24r[23;1H[1;23r[23;80H

[1mPane is dead[1;24r[23;13H[m(B[H initInterface      [K
    self._intf = GraphicalUserInterface(self.storage, self.payload,             [3;1H  File "/usr/lib64/python3.6/site-packages/pyanaconda/anaconda.py", line 173, in storage            [K
    self._set_default_fstype(self._storage)                                     [6;1H  File "/usr/lib64/python3.6/site-packages/pyanaconda/anaconda.py", line 247, in _set_default_fstype                    [K
    storage.set_default_fstype(fstype)  [K
  File "/usr/lib/python3.6/site-packages/blivet/threads.py", line 45, in run_with_lock              [K
    return m(*args, **kwargs)           [K
  File "/usr/lib/python3.6/site-packages/blivet/blivet.py", line 1597, in set_default_fstype        [K
    self._check_valid_fstype(newtype)   [K
  File "/usr/lib/python3.6/site-packages/blivet/threads.py", line 45, in run_with_lock              [K
    return m(*args, **kwargs)           [K
  File "/usr/lib/python3.6/site-packages/blivet/blivet.py", line 1572, in _check_valid_fstype       [K
    raise ValueError("new value %s is not valid as a default fs type" % newtype)[21;1HValueError: new value xfs is not valid as a default fs type                     [22;1H[K
[1mPane is dead[m(B        [K
[7m[anaconda]1:main* 2:shell  3:log  4:storage-log >Switch tab: Alt+Tab | Help: F1 [m(B[23;13H

Version-Release number of selected component (if applicable):

https://kojipkgs.fedoraproject.org/compose/27/Fedora-27-20170922.0/compose/Server/x86_64/iso/Fedora-Server-dvd-x86_64-27_Beta-1.2.iso

How reproducible:

100%

Steps to Reproduce:
1. virt-install a guest under a freshly installed 27-Beta-1.2 using a kickstart
2. See it fail.
3.

Actual results:




[H  File "/usr/lib64/python3.6/site-packages/pyanaconda/anaconda.py", line 312, in initInterface
    self._intf = GraphicalUserInterface(self.storage, self.payload,
  File "/usr/lib64/python3.6/site-packages/pyanaconda/anaconda.py", line 173, in storage
    self._set_default_fstype(self._storage)
  File "/usr/lib64/python3.6/site-packages/pyanaconda/anaconda.py", line 247, in _set_default_fstype
    storage.set_default_fstype(fstype)
  File "/usr/lib/python3.6/site-packages/blivet/threads.py", line 45, in run_with_lock
    return m(*args, **kwargs)
  File "/usr/lib/python3.6/site-packages/blivet/blivet.py", line 1597, in set_default_fstype
    self._check_valid_fstype(newtype)
  File "/usr/lib/python3.6/site-packages/blivet/threads.py", line 45, in run_with_lock
    return m(*args, **kwargs)
  File "/usr/lib/python3.6/site-packages/blivet/blivet.py", line 1572, in _check_valid_fstype
    raise ValueError("new value %s is not valid as a default fs type" % newtype)[22;1HValueError: new value xfs is not valid as a default fs type[1;24r[23;1H[1;23r[23;80H

[1mPane is dead[1;24r[23;13H[m(B[H initInterface      [K
    self._intf = GraphicalUserInterface(self.storage, self.payload,             [3;1H  File "/usr/lib64/python3.6/site-packages/pyanaconda/anaconda.py", line 173, in storage            [K
    self._set_default_fstype(self._storage)                                     [6;1H  File "/usr/lib64/python3.6/site-packages/pyanaconda/anaconda.py", line 247, in _set_default_fstype                    [K
    storage.set_default_fstype(fstype)  [K
  File "/usr/lib/python3.6/site-packages/blivet/threads.py", line 45, in run_with_lock              [K
    return m(*args, **kwargs)           [K
  File "/usr/lib/python3.6/site-packages/blivet/blivet.py", line 1597, in set_default_fstype        [K
    self._check_valid_fstype(newtype)   [K
  File "/usr/lib/python3.6/site-packages/blivet/threads.py", line 45, in run_with_lock              [K
    return m(*args, **kwargs)           [K
  File "/usr/lib/python3.6/site-packages/blivet/blivet.py", line 1572, in _check_valid_fstype       [K
    raise ValueError("new value %s is not valid as a default fs type" % newtype)[21;1HValueError: new value xfs is not valid as a default fs type                     [22;1H[K
[1mPane is dead[m(B        [K
[7m[anaconda]1:main* 2:shell  3:log  4:storage-log >Switch tab: Alt+Tab | Help: F1 [m(B[23;13H

Expected results:

None of that

Additional info:

Comment 1 Konrad Rzeszutek Wilk 2017-09-26 00:15:20 UTC
Created attachment 1330750 [details]
Serial log of the guest

Comment 2 Jiri Konecny 2017-09-26 08:44:43 UTC
Hello,

In most cases this will happen when you mix initrd and vmlinuz versions, or you have broken one of these.

Could you please try this with a different image / boot.iso ?

Thank you!

Comment 3 Konrad Rzeszutek Wilk 2017-09-29 15:41:20 UTC
I tried a brand new ISO:

Fedora-Server-dvd-x86_64-26-1.5.iso

And still seeing it.

Comment 4 Jiri Konecny 2017-10-02 08:03:13 UTC
This should work.

Could you please give us logs from /tmp/*.log and content of the /proc/filesystems file?

Also could you please try the "modprobe xfs" command and write here output of this command and its return code?

Thank you for your cooperation.

Comment 5 Konrad Rzeszutek Wilk 2017-10-07 12:28:17 UTC
I am going to close this as CLOSED as I can't reproduce this
anymore.

I think the issue was an operator error - mainly that I somehow managed to over-write the ISO with a symbolic link to an much much older version of the ISO (like pre-Alpha). And naturally this was happening _after_ I downloaded the ISO. <sigh>


Note You need to log in before you can comment on or make changes to this bug.