Skip to content
This repository was archived by the owner on Jul 1, 2021. It is now read-only.
This repository was archived by the owner on Jul 1, 2021. It is now read-only.

PBM methods are missing from vmodl.db #90

@agrare

Description

@agrare

Starting with v1.9.0 all of our PBM calls are failing:

vim = RbVmomi::VIM.connect(vim_connect_opts)
pbm = RbVmomi::PBM.connect(vim, pbm_connect_opts)
resourceType = RbVmomi::PBM::PbmProfileResourceType(:resourceType => "STORAGE")
NoMethodError: undefined method `PbmProfileResourceType' for RbVmomi::PBM:Class
    from /var/lib/gems/2.3.0/gems/rbvmomi-1.9.2/lib/rbvmomi/connection.rb:260:in `method_missing'

None of the PBM methods are defined in vmodl.db anymore, git bisect points to 5ed2c41

git bisect start v1.9.0 v1.8.2
git bisect run grep PbmQueryProfile vmodl.db
5ed2c41516a066907dc2b807152cf505469dfdca is the first bad commit

It looks like when vmodl.db was updated for 6.0 all SPBM types and methods got dropped.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions