Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

clr-installer: 2.3.1: "no such file or directory" error when mounting rootfs, so unable to install Clear Linux from live-server image #588

Closed
thac0 opened this issue Oct 16, 2019 · 17 comments
Assignees
Labels
high priority functional bug w/o a work-around and with high impact to be investigated need to try to reproduce this local or investigate

Comments

@thac0
Copy link
Contributor

thac0 commented Oct 16, 2019

Describe the bug
While attempting to install 31310 from the live-server image from the console, I am not able to install Clear Linux because clr-installer errors out with a "no such file or directory" when attempting to mount the rootfs.

To Reproduce
Steps to reproduce the behavior:

  1. Boot live-server image
  2. As root, run "clr-installer"
  3. Attempt a destructive installation on an NVME target (also reproducible if attempting to install from a --config YAML)
  4. Begin installation
  5. See error when clr-installer attempts to mount rootfs

Expected behavior
Clear Linux installs normally, from TUI interface or from a --config YAML.

Screenshots
N/A

Environment (please complete the following information):

  • Clear Linux OS Version: 31310
  • Installer Version 2.3.1
  • Platform: Dell XPS 13 9380

Additional context
N/A

@thac0 thac0 added the bug_triage Newly report and needs review label Oct 16, 2019
@thac0
Copy link
Contributor Author

thac0 commented Oct 16, 2019

Snippet from pre-install-clr-installer.yaml:

targetMedia:
- name: nvme0n1
  size: "0"
  ro: "false"
  rm: "false"
  type: disk
  children:
  - name: nvme0n1p1
    fstype: vfat
    mountpoint: /boot
    label: boot
    size: "524288000"
    ro: "false"
    rm: "false"
    type: part
  - name: nvme0n1p2
    fstype: swap
    label: swap
    size: "8589934592"
    ro: "false"
    rm: "false"
    type: part
  - name: nvme0n1p3
    fstype: xfs
    mountpoint: /
    label: root
    size: "0"
    ro: "false"
    rm: "false"
    type: part

Snippet from clr-installer.log:

[snip]
2019/10/16 15:52:41 [INF] Mounting: /
2019/10/16 15:52:41 [DBG] telem-record-gen [snip]
mount /dev/nvme0n1p3 /tmp/install-822812093 xfs: no such file or directory

Error Trace:
storage.mountFs()
     storage/ops.go:965
storage.(*BlockDevice).Mount()
     storage/ops.go:178
[snip]

@mdhorn
Copy link
Contributor

mdhorn commented Oct 16, 2019

@thac0 Is this consistently failing or intermittent?
I have seen this recently testing the tip on master on the latest release of Clear Linux OS, but only noticed it in QEMU.
There is something that changed in the OS in the past few days creating this instability.
Since the problem is in a native golang call, I'll first be trying creating a new build using the previous release of golang - we bumped from 1.13 to 1.13.1 this week.

@thac0
Copy link
Contributor Author

thac0 commented Oct 16, 2019

@mdhorn - Consistent. I poked around the clr-installer go code to see if there was something obvious, and nothing jumped at me, hence the filing.

@mdhorn
Copy link
Contributor

mdhorn commented Oct 16, 2019

Could I get you to try an older release of Clear Linux OS,
https://download.clearlinux.org/releases/31290/clear/clear-31290-live-server.iso

@thac0
Copy link
Contributor Author

thac0 commented Oct 16, 2019

@mdhorn - No issue when I roll back to 31290.

@mdhorn
Copy link
Contributor

mdhorn commented Oct 16, 2019

@thac0 If you are willing, it would be super helpful to know if 31300 works
https://download.clearlinux.org/releases/31300/clear/clear-31300-live-server.iso
or if I can borrow your system for a few. My QEMU failures aren't appearing for me in 31300, but are intermittent in 31310.

@thac0
Copy link
Contributor Author

thac0 commented Oct 16, 2019

@mdhorn - 31300 fails, same as 31310

@mdhorn
Copy link
Contributor

mdhorn commented Oct 16, 2019

@mdhorn - 31300 fails, same as 31310

Thank you for the information; it increases the scope of change but very useful.

@blsz
Copy link

blsz commented Oct 17, 2019

I had similar errors when trying to install from clear-31310-live-desktop to an xfs root on an Intel NUC8i7HVK. Rolling back to 31290 worked. I did not save the install logs.

@mdhorn
Copy link
Contributor

mdhorn commented Oct 17, 2019

I had similar errors when trying to install from clear-31310-live-desktop to an xfs root on an Intel NUC8i7HVK. Rolling back to 31290 worked. I did not save the install logs.

@blsz thank you for the report.

We’ve requested the default Desktop and Server ISO images be frozen at 31290 while this is under investigation.

@mdhorn mdhorn self-assigned this Oct 17, 2019
@mdhorn mdhorn added high priority functional bug w/o a work-around and with high impact to be investigated need to try to reproduce this local or investigate and removed bug_triage Newly report and needs review labels Oct 17, 2019
@mdhorn mdhorn added this to To do in Basic Kanban Board via automation Oct 17, 2019
@mdhorn mdhorn moved this from To do to In progress in Basic Kanban Board Oct 17, 2019
clrpackages pushed a commit to clearlinux-pkgs/linux that referenced this issue Oct 21, 2019
It was Power Super Save which

  Enable PCI Express ASPM L0s and L1 where possible, even if the
  BIOS did not, and also enables L1 substates where
  possible. This would result in higher power savings while staying in L1
  where the components support it.

Now it is

  Disable PCI Express ASPM L0s and L1, even if the BIOS enabled them.

Related-to: clearlinux/clr-installer#588
Related-to: clearlinux/distribution#392
Related-to: clearlinux/distribution#1312
clrpackages pushed a commit to clearlinux-pkgs/linux that referenced this issue Oct 21, 2019
Multifunction device drivers

MFD_INTEL_LPSS_ACPI "Intel Low Power Subsystem support in ACPI mode"
	  This driver supports Intel Low Power Subsystem (LPSS) devices such as
	  I2C, SPI and HS-UART starting from Intel Sunrisepoint (Intel Skylake
	  PCH) in ACPI mode.

MFD_INTEL_LPSS_PCI "Intel Low Power Subsystem support in PCI mode"
	  This driver supports Intel Low Power Subsystem (LPSS) devices such as
	  I2C, SPI and HS-UART starting from Intel Sunrisepoint (Intel Skylake
	  PCH) in PCI mode.

Related-to: clearlinux/clr-installer#588
Related-to: clearlinux/distribution#392
Related-to: clearlinux/distribution#1312
@mdhorn
Copy link
Contributor

mdhorn commented Oct 23, 2019

The problem was due to a new release of parted in Clear Linux OS. It jumped from 3.2 to 3.3 and this is causing the issue.
We are adding a check to help catch this and we will ensure the bug is fixed before moving to a new parted release.

The OS has reverted to 3.2 and the problem is resolved in the ISO images in release 31370 and greater.

@mdhorn mdhorn closed this as completed Oct 23, 2019
Basic Kanban Board automation moved this from In progress to Done Oct 23, 2019
clrpackages pushed a commit to clearlinux-pkgs/linux-lts2018 that referenced this issue Mar 2, 2020
It was Power Super Save which

  Enable PCI Express ASPM L0s and L1 where possible, even if the
  BIOS did not, and also enables L1 substates where
  possible. This would result in higher power savings while staying in L1
  where the components support it.

Now it is

  Disable PCI Express ASPM L0s and L1, even if the BIOS enabled them.

Related-to: clearlinux/clr-installer#588
Related-to: clearlinux/distribution#392
Related-to: clearlinux/distribution#1312
clrpackages pushed a commit to clearlinux-pkgs/linux-lts2018 that referenced this issue Mar 2, 2020
Multifunction device drivers

MFD_INTEL_LPSS_ACPI "Intel Low Power Subsystem support in ACPI mode"
	  This driver supports Intel Low Power Subsystem (LPSS) devices such as
	  I2C, SPI and HS-UART starting from Intel Sunrisepoint (Intel Skylake
	  PCH) in ACPI mode.

MFD_INTEL_LPSS_PCI "Intel Low Power Subsystem support in PCI mode"
	  This driver supports Intel Low Power Subsystem (LPSS) devices such as
	  I2C, SPI and HS-UART starting from Intel Sunrisepoint (Intel Skylake
	  PCH) in PCI mode.

Related-to: clearlinux/clr-installer#588
Related-to: clearlinux/distribution#392
Related-to: clearlinux/distribution#1312
clrpackages pushed a commit to clearlinux-pkgs/linux-lts2017 that referenced this issue Mar 2, 2020
commit clearlinux-pkgs/linux@eeb54f6

It was Power Super Save which

  Enable PCI Express ASPM L0s and L1 where possible, even if the
  BIOS did not, and also enables L1 substates where
  possible. This would result in higher power savings while staying in L1
  where the components support it.

Now it is

  Disable PCI Express ASPM L0s and L1, even if the BIOS enabled them.

Related-to: clearlinux/clr-installer#588
Related-to: clearlinux/distribution#392
Related-to: clearlinux/distribution#1312
clrpackages pushed a commit to clearlinux-pkgs/linux-lts2017 that referenced this issue Mar 2, 2020
commit clearlinux-pkgs/linux@e6fd1a7

Multifunction device drivers

MFD_INTEL_LPSS_ACPI "Intel Low Power Subsystem support in ACPI mode"
	  This driver supports Intel Low Power Subsystem (LPSS) devices such as
	  I2C, SPI and HS-UART starting from Intel Sunrisepoint (Intel Skylake
	  PCH) in ACPI mode.

MFD_INTEL_LPSS_PCI "Intel Low Power Subsystem support in PCI mode"
	  This driver supports Intel Low Power Subsystem (LPSS) devices such as
	  I2C, SPI and HS-UART starting from Intel Sunrisepoint (Intel Skylake
	  PCH) in PCI mode.

Related-to: clearlinux/clr-installer#588
Related-to: clearlinux/distribution#392
Related-to: clearlinux/distribution#1312
@blackthorne
Copy link

blackthorne commented Jun 17, 2020

I'm having the same problem with the Clearlinux Server v33390 .

@blackthorne
Copy link

follow up: I was able to get away with a previous release. I don't know what is the exact version in which this problem was introduced but I was able to narrow it down to somewhere in between v33000 (fails) and v32950 (works).

@ericcurtin
Copy link

Getting the same using clear-36010-live-server.iso

image

@ericcurtin
Copy link

Re-ran installation seemed to be fine, seemed intermittent as suggested.

@ericcurtin
Copy link

It happens more often than not for me though struggling today

@ericcurtin
Copy link

while ! clr-installer -c /root/pre-install-clr-installer.yaml; do true; done might be a hacky workaround for this if it fails first time

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
high priority functional bug w/o a work-around and with high impact to be investigated need to try to reproduce this local or investigate
Projects
None yet
Development

No branches or pull requests

5 participants