Skip to content
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

Najdorf not running SmartState analysis #852

Closed
mwlfxag opened this issue Jan 29, 2023 · 3 comments
Closed

Najdorf not running SmartState analysis #852

mwlfxag opened this issue Jan 29, 2023 · 3 comments
Assignees
Labels

Comments

@mwlfxag
Copy link

mwlfxag commented Jan 29, 2023

Possible repeat of #569

Loading production environment (Rails 6.0.5.1)
irb(main):001:0> MiqServer.my_server.is_vix_disk?
=> false
irb(main):002:0> require 'VMwareWebService/VixDiskLib/VixDiskLib'
=> true
irb(main):003:0> MiqServer.my_server.has_active_role?(:SmartProxy)
PostgreSQLAdapter#log_after_checkout, connection_pool: size: 5, connections: 1, in use: 1, waiting_in_queue: 0
=> true
irb(main):004:0> MiqServer.my_server.has_vix_disk_lib?
=> false
irb(main):005:0>
[root@host vmdb]# ls -l /usr/lib/libvix*
lrwxrwxrwx. 1 root root 50 Jan 27 01:29 /usr/lib/libvixDiskLib.so -> /usr/lib/vmware-vix-disklib/lib64/libvixDiskLib.so
lrwxrwxrwx. 1 root root 52 Jan 27 01:29 /usr/lib/libvixDiskLib.so.8 -> /usr/lib/vmware-vix-disklib/lib64/libvixDiskLib.so.8
lrwxrwxrwx. 1 root root 56 Jan 27 01:29 /usr/lib/libvixDiskLib.so.8.0.0 -> /usr/lib/vmware-vix-disklib/lib64/libvixDiskLib.so.8.0.0
[root@host vmdb]# cat VERSION
najdorf-1.3[root@host vmdb]#
[root@host vmdb]# date
Sun Jan 29 16:49:15 EST 2023
[root@host vmdb]# ldconfig -p | grep vix
        libvixDiskLib.so.8.0.0 (libc6,x86-64) => /lib/libvixDiskLib.so.8.0.0
        libvixDiskLib.so (libc6,x86-64) => /lib/libvixDiskLib.so
@agrare agrare self-assigned this Feb 1, 2023
@agrare agrare added the bug label Feb 1, 2023
@mwlfxag
Copy link
Author

mwlfxag commented Feb 2, 2023

I installed some earlier versions of VDDK and now it seems happy:

# ls -l /usr/lib/libvix*
lrwxrwxrwx. 1 root root 50 Jan 27 01:29 /usr/lib/libvixDiskLib.so -> /usr/lib/vmware-vix-disklib/lib64/libvixDiskLib.so
lrwxrwxrwx. 1 root root 53 Feb  1 08:04 /usr/lib/libvixDiskLib.so.6 -> /usr/lib/vmware-vix-disklib6/lib64/libvixDiskLib.so.6
lrwxrwxrwx. 1 root root 57 Feb  1 08:04 /usr/lib/libvixDiskLib.so.6.7.0 -> /usr/lib/vmware-vix-disklib6/lib64/libvixDiskLib.so.6.7.0
lrwxrwxrwx. 1 root root 53 Feb  1 08:03 /usr/lib/libvixDiskLib.so.7 -> /usr/lib/vmware-vix-disklib7/lib64/libvixDiskLib.so.7
lrwxrwxrwx. 1 root root 57 Feb  1 08:03 /usr/lib/libvixDiskLib.so.7.0.3 -> /usr/lib/vmware-vix-disklib7/lib64/libvixDiskLib.so.7.0.3
lrwxrwxrwx. 1 root root 52 Jan 27 01:29 /usr/lib/libvixDiskLib.so.8 -> /usr/lib/vmware-vix-disklib/lib64/libvixDiskLib.so.8
lrwxrwxrwx. 1 root root 56 Jan 27 01:29 /usr/lib/libvixDiskLib.so.8.0.0 -> /usr/lib/vmware-vix-disklib/lib64/libvixDiskLib.so.8.0.0
irb(main):001:0> MiqServer.my_server.has_vix_disk_lib?
=> true

Going by the code in this repo it seemed to support 8.0.0...

@agrare
Copy link
Member

agrare commented Feb 2, 2023

Hey @mwlfxag ! Najdorf uses version 1.2.0 of ffi-vix_disk_lib https://github.com/ManageIQ/manageiq/blob/najdorf/Gemfile.lock.release#L588 which does not support version 8 of the vddk.
This support was added in ffi-vix_disk_lib v1.3.0 https://github.com/ManageIQ/ffi-vix_disk_lib/releases/tag/v1.3.0
vSphere 8 will be supported in the upcoming petrosian release which pulls in ffix-vix_disk_lib 1.3 and rbvmomi2 3.5 (https://github.com/ManageIQ/rbvmomi2/releases/tag/v3.5.0)

@agrare
Copy link
Member

agrare commented Feb 2, 2023

Based on 1.2.0 it looks like the newest vddk version supported is v7.0.1. I do think we should have a better warning if we discover unsupported vddk versions installed I'll open an enhancement issue for that work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants