Comments (4)
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.
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.
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.
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)
- Convert 2 RHEL offline HOT 1
- centos7.4 ---> rhel7.4 HOT 3
- Disabling repositories fails if there are no repositories available through subscriptions HOT 6
- test issue
- CentOS7.4 update to RHEL7.4? HOT 1
- Feature Request: reduce timeout for the 'Checking internet connectivity' check HOT 1
- Convert2rhel failed to convert Rocky 8.9 to rhel 8.9 on Satellete server HOT 5
- `EFI::UNEXPECTED_ERROR` when `blkid -p -s PART_ENTRY_NUMBER` is empty HOT 2
- Exception on Alma/Rocky 8.9 HOT 1
- Version 9.3 not supported yet HOT 2
- Passing environment variables HOT 2
- EFI::BOOTLOADER_ERROR with RAID + UEFI HOT 5
- Convert failed HOT 2
- MySQL downgrade after conversion, service won't start HOT 4
- convert2rhel migration error HOT 4
- Convert2Rhel Migration from Rocky Error HOT 4
- FYI, converting from Rocky 8, issue with packages that have periods in the name HOT 2
- Support for EL9 based clones to convert to RHEL9 HOT 2
- convert2rhel silently hangs if too many (list too long) third-party packages HOT 2
- Error Message if LIST_THIRD_PARTY_PACKAGES HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from convert2rhel.