Jump to content

NetScaler SDX 8920 upgrade failing


Recommended Posts

Posted (edited)

Hi,

We're trying to run the bundle upgrade from 13.0-83.27 to 14.1-21.57 and getting the error

Quote

Error:
Software image details could not be fetched, reason = Pre-validation failed. Reason: Available disk space in SVM is 33G. Minimum disk space of 4GB is required for SDX upgrade
Following is the list of Citrix ADC instances that have unsaved configuration. Please select the instances for which configuration needs to be saved before upgrading the appliance.

There's plenty of space in the SVM as stated in the error message and the configuration is saved on the ADCs.

The XenServer disk use looks like this:

Filesystem                                                                                 Size  Used Avail Use% Mounted on
devtmpfs                                                                                   999M   20K  999M   1% /dev
tmpfs                                                                                     1008M  240K 1008M   1% /dev/shm
tmpfs                                                                                     1008M  2.1M 1006M   1% /run
tmpfs                                                                                     1008M     0 1008M   0% /sys/fs/cgroup
/dev/sda2                                                                                  3.9G  3.2G  439M  89% /
xenstore                                                                                  1008M     0 1008M   0% /var/lib/xenstored
/dev/loop0                                                                                  44M   44M     0 100% /var/xen/xc-install
/dev/sm/backend/60c06438-4672-4821-89af-082a27050bbc/f8ec5614-7137-4537-8ce6-eb209a4f997b  2.0G  3.1M  1.9G   1% /var/sdx
tmpfs                                                                                      202M     0  202M   0% /run/user/0
tmpfs                                                                                      202M     0  202M   0% /run/user/1000

My money's on the /dev/sda2 filling up, we have already checked this article:

https://support.citrix.com/article/CTX236339/adc-sdx-single-bundle-upgrade-failure-when-upgrading-from-1115813-or-1205724-to-12058x-or-1214813.

We already deleted *.gz from under /var/log, but it didn't seem to help.

Worth mentioning that when we ran the upgrade via ADM/Console, the SVM got updated correctly and seems to be running on 14.1. We also tried upgrading to 13.1-53.17, but ended with same result.

Edited by Kari Ruissalo
Additional info
Link to comment
Share on other sites

That's an issue currently with all 89X Appliances... 

When you try to update and the pre-validation check is done, in parallel (you have a few seconds time for that!) go to /var/mps/cmp_sb_images/sb_details and replace the upgradebundle.pl with a modified upgradebundle.pl.

The modified upgradebundle.pl should look like this:

New file: if ($available_size >= 4.0 && $available_unit eq "G") {
Old file: if ($available_size ge 4.0 && $available_unit eq "G") {

Best Regards

Julian

 

  • Thanks 1
Link to comment
Share on other sites

28 minutes ago, Julian Jakob said:

That's an issue currently with all 89X Appliances... 

When you try to update and the pre-validation check is done, in parallel (you have a few seconds time for that!) go to /var/mps/cmp_sb_images/sb_details and replace the upgradebundle.pl with a modified upgradebundle.pl.

The modified upgradebundle.pl should look like this:

New file: if ($available_size >= 4.0 && $available_unit eq "G") {
Old file: if ($available_size ge 4.0 && $available_unit eq "G") {

Best Regards

Julian

 

It's not possible to edit a post, anymore?! So there's a little typo, the correct directory is /var/mps/cb_sb_images/sb_details

  • Thanks 1
Link to comment
Share on other sites

Posted (edited)

Here are the steps from support:

  1. login into svm and go to /var/mps/cb_sb_images/ folder
  2. mkdir temp (create temp folder)
  3. cd temp
  4. copy build-sdx-14.1-21.57.tgz file here (in temp folder)
  5. tar zxvf build-sdx-14.1-21.57.tgz
  6. rm build-sdx-14.1-21.57.tgz
  7. replace  upgradebundle.pl  file here (check Julian's message above, the "ge" to ">=")
  8. tar -czvf build-sdx-14.1-21.57.tgz *
  9. mv build-sdx-14.1-21.57.tgz ../
  10. now go to SVM UI and upgrade
Edited by Kari Ruissalo
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...