Code Monkey home page Code Monkey logo

Comments (10)

pkolmann avatar pkolmann commented on July 28, 2024 4

I just had the same issue and was able to override it with:

~ # esxcli software profile update -d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml -p ESXi-5.5.0-20160904001-standard -f

from ghettovcb.

ucola avatar ucola commented on July 28, 2024 1

Found a simple solution... Uninstall the VIB, then Upgrade ESXi, after Upgrade install the VIB again

  • esxcli software vib remove  --vibname=ghettoVCB

from ghettovcb.

creativeview avatar creativeview commented on July 28, 2024

I've had the same issue: VIB virtuallyGhetto_bootbank_ghettoVCB_1.0.0-0.0.0's acceptance level is community, which is not compliant with the ImageProfile acceptance level partner
To change the host acceptance level, use the 'esxcli software acceptance set' command.

I tried to change the acceptance level using

esxcli software acceptance set --level=CommunitySupported

* [AcceptanceConfigError]
Unable to set acceptance level of community due to installed VIBs virtuallyGhetto_bootbank_ghettoVCB_1.0.0-0.0.0 having a lower acceptance level.
*

from ghettovcb.

zoic21 avatar zoic21 commented on July 28, 2024

Hi,

You can change acceptance level by remove ghetto vib :
esxcli software vib remove -n ghettoVCB

Change acceptance :
esxcli software acceptance set --level=CommunitySupported

And readd vib :
esxcli software vib install -v https://github.com/lamw/ghettoVCB/raw/master/vghetto-ghettoVCB.vib -f

But even after that I get this error :

 [DependencyError]
 VIB virtuallyGhetto_bootbank_ghettoVCB_1.0.0-0.0.0 violates extensibility rule checks: [u'(line 24: col 0) Element vib failed to validate content']
 Please refer to the log file for more details.

from ghettovcb.

CollinChaffin avatar CollinChaffin commented on July 28, 2024

Is there any traction on a fix for this? This VIB literally breaks a ESX6.0 installer. The image will fail, and the warning above "VIB virtuallyGhetto_bootbank_ghettoVCB_1.0.0-0.0.0 violates extensibility" is thrown when using customizer to even add this VIB to the ISO installer. It was always really nice to be able to include this VIB directly in my installers, but this issue is really causing a lot of headaches so hopefully someone can come up with a code fix to again allow it to be integrated into the initial installer and not have to use the above posted workaround to force the install after the host is already built.

from ghettovcb.

jjrbg avatar jjrbg commented on July 28, 2024

This is an issue stopping me upgrading ESXi...
esxcli software vib remove --vibname=ghettoVCB --force
[ValueError]
Invalid acceptance level value ''
Please refer to the log file for more details.

from ghettovcb.

enoch85 avatar enoch85 commented on July 28, 2024

Any update on this? It's really annoying tbh.

from ghettovcb.

jesseborden avatar jesseborden commented on July 28, 2024

I found a solution to use just the script, with some modification for ESXi 6.5. I had to reinstall ESXi, due to having the same problem as everyone else here, but it might help to never use the VIB again.

(1.) Modify the ghettoVCB script...


Remove this.... (lines 280-290)
if [[ -f /usr/bin/vmware-vim-cmd ]]; then

    VMWARE_CMD=/usr/bin/vmware-vim-cmd

    VMKFSTOOLS_CMD=/usr/sbin/vmkfstools

elif [[ -f /bin/vim-cmd ]]; then

    VMWARE_CMD=/bin/vim-cmd

    VMKFSTOOLS_CMD=/sbin/vmkfstools

else

    logger "info" "ERROR: Unable to locate *vimsh*! You're not running ESX(i) 3.5+, 4.x+, 5.x+ or 6.x!"

    echo "ERROR: Unable to locate *vimsh*! You're not running ESX(i) 3.5+, 4.x+, 5.x+ or 6.x!"

    exit 1

fi

Add this...
VMWARE_CMD=/bin/vim-cmd
VMKFSTOOLS_CMD=/sbin/vmkfstools


Change this.....
VM_BACKUP_VOLUME=/vmfs/volumes/mini-local-datastore-hdd/backups

to this (or wherever you want the backups to be in the datastore)....
VM_BACKUP_VOLUME=/vmfs/volumes/datastore2/backups

THEN SAVE THE FILE IN YOUR DATASTORE
(3.) Edit the local.sh file to re-add the cron task following a reboot.
cd /etc/rc.local.d
vi local.sh

Add this to local.sh....

#Kill cron service
/bin/kill $(cat /var/run/crond.pid)

#Ensure scheduled task is added
/bin/echo '0 23 * * 0,3 /vmfs/volumes/datastore2/scripts/ghettoVCB.sh -a > /dev/null'>> /var/spool/cron/crontabs/root

#Start cron service
/usr/lib/vmware/busybox/bin/busybox crond

(4.) from the SSH terminal, test the script...
cd /vmfs/volumes/datastore2/scripts/ghettoVCB.sh
chmod a+x ./ghettoVCB.sh
./ghettoVCB.sh -a

if working well, make sure it's stored in your crontabs by....
cd /etc/rc.local.d
./local.sh

The local.sh file should not be overwritten following reboots.

from ghettovcb.

ucola avatar ucola commented on July 28, 2024

Same issue with ESXi 6.7U1. I want to try to upgrade it to U2 and became also this issue. Any ideas?

from ghettovcb.

SQLSlacker avatar SQLSlacker commented on July 28, 2024

uninstalling the vib removes /etc/ghettovcb/ghettoVCB.conf, so if you're ok with re-doing any custom settings, I guess that's a workaround.

from ghettovcb.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.