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

Can't install VIB - failed to validate content #64

Closed
GabryJay opened this Issue Oct 15, 2015 · 4 comments

Comments

Projects
None yet
3 participants
@GabryJay
Copy link

GabryJay commented Oct 15, 2015

Hi there!
I've 2 free HP esxi 5.5 servers. On the main one I installed months ago ghettoVCB with the old method.
Now I tried to install the VIB in the second server, but i get this error:

VIB virtuallyGhetto_bootbank_ghettoVCB_1.0.0-0.0.0 violates extensibility rule checks: [u'(line 23: col 0) Element vib failed to validate content']

Is there a solution? Otherwise I'll proceed installing with the zip files as usual.
Thank you in advance!

@lamw

This comment has been minimized.

Copy link
Owner

lamw commented Oct 15, 2015

Did you change the Acceptance Level to "Community" as Custom VIBs require lowering that to be able to install? You can always take a look at the logs to see what the issue is under /var/log/esxupdate.log

@GabryJay

This comment has been minimized.

Copy link
Author

GabryJay commented Oct 16, 2015

Sure, I changed the acceptance level after the first error message (which also contained the one I reported). Launching the installation the second time I received only the error above.
Here's the logs below: I read it yesterday but after reading and googling I didn't manage to find a solution, that's why I asked here :)

[can't upload a file here, so I paste the last lines]

2015-10-16T07:44:18Z esxupdate: vmware.runcommand: INFO: runcommand called with: args = '['/sbin/esxcfg-advcfg', '-q', '-g', '/UserVars/EsximageNetTimeout']', outfile = 'None', returnoutput = 'True', timeout = '0.0'.
2015-10-16T07:44:18Z esxupdate: vmware.runcommand: INFO: runcommand called with: args = '['/sbin/esxcfg-advcfg', '-q', '-g', '/UserVars/EsximageNetRetries']', outfile = 'None', returnoutput = 'True', timeout = '0.0'.
2015-10-16T07:44:18Z esxupdate: vmware.runcommand: INFO: runcommand called with: args = '['/sbin/esxcfg-advcfg', '-q', '-g', '/UserVars/EsximageNetRateLimit']', outfile = 'None', returnoutput = 'True', timeout = '0.0'.
2015-10-16T07:44:18Z esxupdate: root: INFO: Command = vib.install
2015-10-16T07:44:18Z esxupdate: root: INFO: Options = {'profile': None, 'nosigcheck': False, 'force': False, 'level': None, 'nomaintmode': False, 'downgrade': None, 'updateonly': False, 'proxy': None, 'viburl': ['/vmfs/volumes/datastore1/vghetto-ghettoVCB.vib'], 'dryrun': False, 'depot': None, 'nameid': None, 'noliveinstall': False, 'pending': None, 'oktoremove': False}
2015-10-16T07:44:18Z esxupdate: BootBankInstaller.pyc: INFO: Unrecognized value "title=Loading VMware ESXi" in boot.cfg
2015-10-16T07:44:18Z esxupdate: BootBankInstaller.pyc: INFO: Unrecognized value "title=Loading VMware ESXi" in boot.cfg
2015-10-16T07:44:18Z esxupdate: vmware.runcommand: INFO: runcommand called with: args = '['/sbin/bootOption', '-rp']', outfile = 'None', returnoutput = 'True', timeout = '0.0'.
2015-10-16T07:44:18Z esxupdate: vmware.runcommand: INFO: runcommand called with: args = '['/sbin/bootOption', '-ro']', outfile = 'None', returnoutput = 'True', timeout = '0.0'.
2015-10-16T07:44:18Z esxupdate: imageprofile: INFO: Adding VIB VMware_locker_tools-light_5.5.0-2.33.2068190 to ImageProfile HP-ESXi-5.5.0-Update2-iso-5.77.3
2015-10-16T07:44:18Z esxupdate: vmware.runcommand: INFO: runcommand called with: args = '['/sbin/esxcfg-advcfg', '-U', 'host-acceptance-level', '-G']', outfile = 'None', returnoutput = 'True', timeout = '0.0'.
2015-10-16T07:44:18Z esxupdate: Transaction: INFO: Skipping installed VIBs
2015-10-16T07:44:18Z esxupdate: Transaction: INFO: Final list of VIBs being installed: virtuallyGhetto_bootbank_ghettoVCB_1.0.0-0.0.0
2015-10-16T07:44:18Z esxupdate: imageprofile: INFO: Adding VIB virtuallyGhetto_bootbank_ghettoVCB_1.0.0-0.0.0 to ImageProfile HP-ESXi-5.5.0-Update2-iso-5.77.3
2015-10-16T07:44:18Z esxupdate: root: ERROR: Traceback (most recent call last):
2015-10-16T07:44:18Z esxupdate: root: ERROR: File "/usr/lib/vmware/esxcli-software", line 441, in
2015-10-16T07:44:18Z esxupdate: root: ERROR: main()
2015-10-16T07:44:18Z esxupdate: root: ERROR: File "/usr/lib/vmware/esxcli-software", line 432, in main
2015-10-16T07:44:18Z esxupdate: root: ERROR: ret = CMDTABLEcommand
2015-10-16T07:44:18Z esxupdate: root: ERROR: File "/usr/lib/vmware/esxcli-software", line 341, in VibInstallCmd
2015-10-16T07:44:18Z esxupdate: root: ERROR: checkacceptance=checkacceptance)
2015-10-16T07:44:18Z esxupdate: root: ERROR: File "/build/mts/release/bora-2068190/bora/build/esx/release/vmvisor/sys-boot/lib/python2.6/site-packages/vmware/esximage/Transaction.py", line 245, in InstallVibsFromSources
2015-10-16T07:44:18Z esxupdate: root: ERROR: File "/build/mts/release/bora-2068190/bora/build/esx/release/vmvisor/sys-boot/lib/python2.6/site-packages/vmware/esximage/Transaction.py", line 347, in _installVibs
2015-10-16T07:44:18Z esxupdate: root: ERROR: File "/build/mts/release/bora-2068190/bora/build/esx/release/vmvisor/sys-boot/lib/python2.6/site-packages/vmware/esximage/Transaction.py", line 384, in _validateAndInstallProfile
2015-10-16T07:44:18Z esxupdate: root: ERROR: DependencyError: VIB virtuallyGhetto_bootbank_ghettoVCB_1.0.0-0.0.0 violates extensibility rule checks: [u'(line 23: col 0) Element vib failed to validate content']

@GabryJay

This comment has been minimized.

Copy link
Author

GabryJay commented Oct 22, 2015

I managed to install the VIB using the offline package, giving the full path to the zip file.
I still can't understand why the other installer didn't work... but now if you want you have some logs to check. Thank you for your patience!

@GabryJay GabryJay closed this Oct 22, 2015

@zeerayne

This comment has been minimized.

Copy link

zeerayne commented Dec 15, 2015

To fix an error use an custom install command (add an -f option):

esxcli software vib install -v /full/path/to/vghetto-ghettoVCB.vib -f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment