Hyper-V Upgrade Issues

[Edit by xrobau: Moved this into a new thread, it had nothing to do with the old one]

I just ran across this thread I know it’s old.

We’ve leveraged Hyper-V at a number of customers to eliminate a dedicated hardware appliance that has to be taken care of. We do not have any of the issues others are reporting with Hyper-V. That said, none of our systems have more than 30 extensions - so we well might hit problems as we grow, hope not. We’ve also been able to successfully run other network appliances under Hyper-v without too much grief.

What was an unpleasant surprise was when we went to upgrade from 6.12.65-32 to 10.13.66. We are unable to boot after the upgrade, had to restore back to a snapshot. This has happened on two systems and I’ve got three more that also need the upgrade.

The FreePBX distro is supposed to be based on CentOS 6.5 or 6.6 - we have not had any issues upgrading our Centos 6.5 web servers to CentOS 6.6 under Hyper-V, so I’m trying to figure out what’s different about the FreePBX distro that causes this.

Any ideas?

There is no difference. Sorry.

What error are you having when booting?

Rob,

By the time I noticed your reponse I had restored to 6.12.65 and gave up for the time being.

I just tried the upgrade again after downloading the “upgrade-10.13.66-1.sh” script from this page:
http://wiki.freepbx.org/display/PPS/FreePBX-Distro-6.12.65

Looks like I’ve got the same problem after I rebooted. Here’s a screen shot right after the update:

I’ve reviewed the output from the script - other than some warnings that some modules could not be installed, for what seem to be good reasons (we have commercial EPM so OSS EPM cannot be installed, etc.) I did not notice any real errors. Still I’m including the output below.

Any help/suggestions are appreciated.

I created a checkpoint just before the reboot and have VM backup from before that I can restore from - but would really like to get to this upgrade so I can try out Zulu for me and my customers.

Thank you - Richard

Upgrade script follows:

Stopping old running processes...Done
Starting new Zulu Process...Started!
Generating CSS...Done
Module zulu successfully installed
Updating Hooks...Done

Done. All modules installed.
Updating Hooks...Done
No repos specified, using: [commercial,standard,extended,unsupported] from last GUI settings

Up to date.
Installing: arimanager, endpointman, restart
Downloading & Installing arimanager...
Starting arimanager download..
Processing arimanager
Verifying local module download...Verified
Extracting...Done
Module arimanager successfully downloaded
Unable to install module arimanager:
 - Requires engine asterisk (>= 12), you have: asterisk 11.21.0
Updating Hooks...Done

Downloading & Installing endpointman...
Starting endpointman download..
Processing endpointman
Verifying local module download...Verified
Extracting...Done
Module endpointman successfully downloaded
Unable to install module endpointman:
 - Failed to install OSS PBX End Point Manager due to the following conflicting module(s): EndPoint Manager
Updating Hooks...Done

Downloading & Installing restart...
Starting restart download..
Processing restart
Verifying local module download...Verified
Extracting...Done
Module restart successfully downloaded
Unable to install module restart:
 - Failed to install Bulk Phone Restart due to the following conflicting module(s): EndPoint Manager
Updating Hooks...Done

Done. All modules installed.
Updating Hooks...Done
Taking too long? Customize the chown command, See http://wiki.freepbx.org/display/FOP/FreePBX+Chown+Conf
Setting Permissions...
		Collecting Files...Done
 51020/51020 [============================] 100%
Finished setting permissions
Reloading FreePBX
Successfully reloaded
Getting Remote Repo list...Done
Getting Remote Repo list...Done
Using repos: [commercial,standard,extended,unsupported]

Up to date.
Installing: arimanager, endpointman, restart
Downloading & Installing arimanager...
Starting arimanager download..
Processing arimanager
Verifying local module download...Verified
Extracting...Done
Module arimanager successfully downloaded
Unable to install module arimanager:
 - Requires engine asterisk (>= 12), you have: asterisk 11.21.0
Updating Hooks...Done

Downloading & Installing endpointman...
Starting endpointman download..
Processing endpointman
Verifying local module download...Verified
Extracting...Done
Module endpointman successfully downloaded
Unable to install module endpointman:
 - Failed to install OSS PBX End Point Manager due to the following conflicting module(s): EndPoint Manager
Updating Hooks...Done

Downloading & Installing restart...
Starting restart download..
Processing restart
Verifying local module download...Verified
Extracting...Done
Module restart successfully downloaded
Unable to install module restart:
 - Failed to install Bulk Phone Restart due to the following conflicting module(s): EndPoint Manager
Updating Hooks...Done

Done. All modules installed.
Updating Hooks...Done
Getting Remote Repo list...Done
Getting Remote Repo list...Done
Using repos: [commercial,standard,extended,unsupported]

Up to date.
Installing: arimanager, endpointman, restart
Downloading & Installing arimanager...
Starting arimanager download..
Processing arimanager
Verifying local module download...Verified
Extracting...Done
Module arimanager successfully downloaded
Unable to install module arimanager:
 - Requires engine asterisk (>= 12), you have: asterisk 11.21.0
Updating Hooks...Done

Downloading & Installing endpointman...
Starting endpointman download..
Processing endpointman
Verifying local module download...Verified
Extracting...Done
Module endpointman successfully downloaded
Unable to install module endpointman:
 - Failed to install OSS PBX End Point Manager due to the following conflicting module(s): EndPoint Manager
Updating Hooks...Done

Downloading & Installing restart...
Starting restart download..
Processing restart
Verifying local module download...Verified
Extracting...Done
Module restart successfully downloaded
Unable to install module restart:
 - Failed to install Bulk Phone Restart due to the following conflicting module(s): EndPoint Manager
Updating Hooks...Done

Done. All modules installed.
Updating Hooks...Done
Taking too long? Customize the chown command, See http://wiki.freepbx.org/display/FOP/FreePBX+Chown+Conf
Setting Permissions...
		Collecting Files...Done
 51152/51152 [============================] 100%
Finished setting permissions
Reloading FreePBX
Successfully reloaded

Moving to Next Step

 Update MOTD
Loaded plugins: fastestmirror, kmod, security
Setting up Remove Process
Resolving Dependencies
--> Running transaction check
---> Package distro-motd-fpbx.noarch 2:1.0.0-37.shmz65.1.5 will be erased
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package               Arch        Version                      Repository
																		   Size
================================================================================
Removing:
 distro-motd-fpbx      noarch      2:1.0.0-37.shmz65.1.5        @pbx      3.3 k

Transaction Summary
================================================================================
Remove        1 Package(s)

Installed size: 3.3 k
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Erasing    : 2:distro-motd-fpbx-1.0.0-37.shmz65.1.5.noarch                1/1
  Verifying  : 2:distro-motd-fpbx-1.0.0-37.shmz65.1.5.noarch                1/1

Removed:
  distro-motd-fpbx.noarch 2:1.0.0-37.shmz65.1.5

Complete!

Moving to Next Step


STAGE 3 COMPLETED - Misc Items - Moving to Stage 4




STAGE 4 STARTING - Clean Up

 updatedb for locate command

 Restart incron to be safe


STAGE 4 COMPLETED - Clean Up - Moving to Stage 5




STAGE 5 STARTING - Final Verifications


STAGE 5 COMPLETED - Final Verifications - Moving to Stage 6



Mon Nov 28 16:35:53 MST 2016 UPGRADE 100% COMPLETED
Unlocked.
REBOOT YOUR BOX NOW
If you would like to change your Asterisk release version from
1.8, 10, 11 or 12 you can do so by typing asterisk-version-switch
from the linux CLI at anytime

[root@pbxccc freepbx_updates]#
[root@pbxccc freepbx_updates]#
[root@pbxccc freepbx_updates]# reboot

Broadcast message from root@pbxccc
		(/dev/pts/0) at 17:38 ...

The system is going down for reboot NOW!
[root@pbxccc freepbx_updates]#

Try this to see if you can get some more info on why it’s crashing:

When you see the bootloader do the following:
1: Hit “e” to edit the commands before booting
2: Select the your OS in the next screen and hit “e” again.
3: Remove the “quiet” option from the end of that line.
4: Have the system try to boot.

OK, looks like I’m good now. I was able to refer to another post with the same issue - was not there before, but I guess I waited long enough:
http://community.freepbx.org/t/kernel-panic-after-freepbx-13-upgrade/32137/7

After using the second grub entry to successfully boot, I uninstalled the Microsoft Linux Integration Services (LIS) and then rebooted. Default boot worked fine now.

I tried installing an updated MS LIS 4.1.2 but the install script does not recognize the FreePBX Distro as a valid CentOS or RHEL version.

No worries, the RHEL integration drivers work fine, just run (AFTER LIS is uninstalled):

  • yum install hyperv-daemons

Thank you!

1 Like

you’re welcome!

Glad to help!