This is kind of an dual issue on the Authentic theme when clicking the button to install the Xen kernel etc, nothing happens. I switched to the framed theme and things got worse. After screwing around with it, things started working. I now get the button to do the install. It gets halfway through the process and quits.
Setting up Xen host system .. Checking system status .. .. done Installing required commands .. .. done Setting up Xen kernel repository .. .. done Installing Xen kernel and tools .. .. done Removing virbr network interfaces .. .. none found Setting up xenbr0 network bridge .. .. failed to copy setup script : cp: cannot create regular file `/net/create-net-bridge.pl': Permission denied .. setup failed! See the error message above.
There are two bridges already on here, br0 and br1. Is it a matter of removing them and then running this again?
The process fails even far worse on CentOS 7. I'll have to try that again later on. Joe and I spent a few hours with it and got nowhere.
Status:
Active
Comments
Submitted by JamieCameron on Wed, 06/21/2017 - 12:21 Comment #1
Is Webmin or Virtualmin already installed on the Xen host system?
Clean install of CentOS 6 (since 7 didn't work at all). Setup nfs and a couple other small things. Added br0 and br1 not knowing the new version does it for you. Downloaded the install script for CM and ran it. Went to that screen to add the CM master which is also a host for Xen and thats where I ran into this issue.
Submitted by andreychek on Wed, 06/21/2017 - 12:31 Comment #3
I believe this is one Joe is planning to work on -- I've notified him about it.
Joe said he could work on the theme issue but as far as the issues with CM itself, he deferred to Jamie.
Just for the fun of it, I clicked on Host Systems > Xen Host Systems and it crashed the webmin server. Can't get to that page. Did a force refresh and tried again, the frame shows the error that it can't load that page. Something with CM trying to set the server up for Xen is playing hell on the miniserv.
Jamie, my h1 crashed and I had to wipe clean and start over. You have the credentials to it to login and look if you need to.
I'm working on it, Jamie, if you need to poke at it, ping me.
I'm seeing the network bridge setup error (not related to an existing br0 interface, I don't think...just trying to do something that maybe doesn't work). I'm gonna reboot and make sure the xen kernel setup worked.
I haven't been able to reproduce the UI issues or Webmin shutting down issue.
I've checked in a fix for the Authentic theme bug (invalid HTML that did't close several tags due to lack of a footer in the edit_xen.cgi if xen kernel isn't running).
There's still an issue creating the bridge interface:
Setting up xenbr0 network bridge ..
.. failed to copy setup script : cp: cannot create regular file '/net/create-net-bridge.pl': No such file or directory
Which occurs on both CentOS6 and 7. I'm not sure I understand why it's trying to do something out of /net. Maybe just a path error...I don't see how that could ever work. Gonna poke at it a little more.
OK, I see why it's failing, and it may be that Jamie's check-in of a fix to xen-type-lib fixes the problem. It's this line in xen-type-lib.pl:
my $dst = $vhost->{'webminroot'}."/net/create-net-bridge.pl";
Which, if $vhost->{'webminroot'} is not defined (due to the installer not finding Webmin on the new host system) would result in a bogus path that we see in the error.
Found another issue with the install process. It's either an issue of the xen packages you use or CM may need to do it. Without the following symlink:
ln -s /usr/lib64/xen/boot/hvmloader /usr/lib/xen/boot/hvmloader
you will get an error:
Who takes ownership of the issue? CM or The Xen repo?
Submitted by JamieCameron on Mon, 06/26/2017 - 23:50 Comment #11
This is a Cloudmin bug - I'll fix it in the next release.