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

Refs #21580 - require rbvmomi #5659

Merged
merged 1 commit into from
Jun 7, 2018
Merged

Refs #21580 - require rbvmomi #5659

merged 1 commit into from
Jun 7, 2018

Conversation

tstrachota
Copy link
Member

The compute resource for VMware was using rbvmomi classes wihout explicitly requiring rbvmomi. That can cause "NameError: uninitialized constant RbVmomi" errors in tests (https://ci.theforeman.org/job/puppetdb_foreman-pull-request/11/database=mysql,label=fast,ruby=2.4/testReport/junit/(root)/Foreman__Model__VmwareTest___normalize_vm_attrs/).

rbvmomi is dependency of fog-vsphere that we require when foreman is installed with WMware support. We have that already packaged.

The compute resource for VMware was using rbvmomi classes wihout
explicitly requiring rbvmomi. That can cause issues in tests.
@theforeman-bot
Copy link
Member

Issues: #21580

@tstrachota
Copy link
Member Author

@timogoebel would you mind taking a look?

Copy link
Member

@dLobatog dLobatog left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @tstrachota - I'm going to go with merging so our test_develop can go green again. I haven't tested but I doubt the require + rescue is a problem

@dLobatog dLobatog merged commit 0cab9e6 into theforeman:develop Jun 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants