GithubHelp home page GithubHelp logo

Comments (4)

Venefilyn avatar Venefilyn commented on June 8, 2024

Hi!

Are you able to get the machine working by rebooting and running yum update -y after the error has occurred? Does this happen on version 0.13 or an older version? yum list convert2rhel

from convert2rhel.

bocekm avatar bocekm commented on June 8, 2024

Hi, thanks for the report.

Please make sure that your / and /sys/ folders are not mounted as read-only (https://unix.stackexchange.com/questions/173896/sys-cpio-chown-failed-read-only-file-system-building-passenger-rpm-using-d).
Are the CentOS 6 systems VMs or containers?

Regarding the possible recovery - the failure happened after the point where conver2rhel is able to do a rollback.
But you can try going to /var/lib/convert2rhel/ and run rpm -i --replacepkgs *rpm. That should at least get you to a point from where you can run convert2rhel again.

from convert2rhel.

ahilden avatar ahilden commented on June 8, 2024

The version of convert2rhel I have installed was 0.9-1.el6. I was able to revert. The backup of the rpms was in /tmp/convert2rhel as opposed to /var/lib/convert2rhel. I was able to run rpm -i --replacepkgs *rpm and will be trying to move forward again. I'm not sure what is wrong with sys, although it seems like all of our centos6 system are like this though and they indirectly cause the filesystem package to fail to install.

[root@dashdb-prod-staging-txn-test2 ahilden]# mount |grep sys
sysfs on /sys type sysfs (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
[root@dashdb-prod-staging-txn-test2 ahilden]# chown root /sys
chown: changing ownership of `/sys': Read-only file system
[root@dashdb-prod-staging-txn-test2 ahilden]# 

I was able remount /sys rw to correct the issue with filesystem.
mount -o remount,rw /sys

After this the conversion was successful. I'm not sure why all of our systems are like this or if it's a common occurrence on centos6.

from convert2rhel.

bocekm avatar bocekm commented on June 8, 2024

We'll be adding checks for /sys/ being mounted as rw to convert2rhel. It's tracked internally under https://issues.redhat.com/browse/OAMG-4310.
Before that happens, we'll have a warning in the main article https://access.redhat.com/articles/2360841 soon.
Thanks for your time spent on this issue, @ahilden.

from convert2rhel.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.