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
Conversion inside containers (Virtuozzo) #87
Comments
Hello Andreas, |
Hello @SandakovMM, Thank you for your response. As far as I know, Virtuozzo has already developed processes to perform this migration (without Plesk) successfully. I believe it would be beneficial if this feature is implemented in a similar manner as Virtuozzo's migration process, which can be found at https://github.com/vzlinux/vzupgrade. (https://docs.virtuozzo.com/virtuozzo_linux_8_quick_start_guide/converting-from-centos/converting-from-centos7.html) Thank you, |
Hello @futureweb
Therefore, there is no way to start the initrd inside a container. This is why the Leapp framework and as a result our current centos2alma tool cannot be used to convert the OS inside any container (e.g., Docker, Virtuozzo, etc). Regarding vzupgrade, if I understand correctly, it is a tool to upgrade the bare-metal server that hosts virtual machines and containers. We have attempted to use it to convert a Virtuozzo container on our side without success. Additionally, there is the vzdeploy tool that can be used to convert CentOS 7 into VZLinux 7 inside a container. However, it simply reinstalls packages from the VZLinux repository within the container. As far as I can see, it cannot convert your CentOS 7 into VZLinux 8, for example. Therefore, it does not appear to be a solution to your problem. We are also exploring other options for container owners:
I hope this information will be helpful in addressing your situation. Additionally, we will reach out to the Virtuozzo developers to inquire about their perspective on the problem. |
Virtuozzo have a special script to convert CentOS 7 containers now. Unfortunately, it does not support Plesk. I believe we will be able to discuss it with virtuozzo developers some day and fix the problem. |
@SandakovMM thank you very much for the update on this topic! :-) |
Hi, As an active user of Plesk, I believe it would greatly enhance if support for the conversion process within Virtuozzo containers could be extended. Given that a significant number of users predominantly opt for VPS servers over dedicated ones, this feature would be highly valuable. I wholeheartedly support the inclusion of this functionality and appreciate your attention to this matter. Many thanks, |
Just chiming in to say I'd also love to see the option to convert a CentOS 7 Virtuozzo container running Plesk to AlmaLinux 8. I totally understand the problems with using the existing tool - leapp essentially requires a bootloader within the container/VM, which OpenVZ/Virtuozzo does not have. That means the only way to do this is by triggering the process from the host node to happen on the container, as that provides the same 'external' environment that booting into a temporary OS would. This is how the almaconvert8 project works. And so rather than modifying the existing centos2alma project, it would make more sense for either:
I considered integrating the two myself, but I'm not as comfortable with Python as I likely need to be for an undertaking like this. I've found Plesk devs to be more transparent about development plans these days than Virtuozzo devs have been, and so I think I would personally rather see (1) happen. Plus Plesk customers are also the only Virtuozzo/OpenVZ users to benefit from this, so that's another reason why it would make sense for Plesk devs take charge of this plan. At least they wouldn't have to start from scratch as the almaconvert8 project should cover everything needed except for the Plesk-specific stuff. Got my fingers crossed! |
Light amusement... when running almaconvert8 on an OpenVZ node, like
Hey Plesk devs: this is my request! ;) Tried removing
|
I've gotten around the above conflicts by removing those packages before beginning (similar to what centos2alma does, from what I can see in the code), however no matter what packages I remove ahead of time, it always gets to a point where it wants to remove basically all plesk-* packages, then fails due to some dependency or another. That's hardly a surprise given just how many packages Plesk installs. The elevate-cpanel tool provides an option under the heading "Using an alternative tool to upgrade your distro" that's described like this:
And sure enough in the almaconvert8 utility from Virtuozzo, they utilize that function to prepare the system before completing the OS packages changes:
It sure would be nice if we could have a
That way Plesk devs wouldn't be responsible for ensuring this all works; just that the ability is there for others to help make it work. |
I was able to make this all work using Virtuozzo's This has been scripted and published here: https://github.com/websavers/centos2alma_openvz Please note:
Because of this, I strongly recommend that you only use this IF:
I look forward to the community engagement on it. Feel free to submit issues and pull requests, but I can't guarantee that I'll have the time to devote to directly addressing issues unless they directly affect our own usage. Enjoy! |
Great work, thank you! |
Hello,
are there plans to support conversion inside containers? (Virtuozzo?)
As all our Plesk Servers are running within Virtuozzo Containers ... :-(
Thank you
Andreas
Futureweb GmbH
The text was updated successfully, but these errors were encountered: