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

Fixes vmware 8 u2 iso detach #292

Merged
merged 1 commit into from
Mar 4, 2024

Conversation

Manisha15
Copy link
Contributor

No description provided.

@chris1984
Copy link
Collaborator

Will start to test and get it added to our board

@sbernhard
Copy link
Contributor

Will start to test and get it added to our board

To fix the vmware 8 issue, you need to have theforeman/foreman_bootdisk#158, too

@chris1984
Copy link
Collaborator

Thanks! Will get this tested today/tomorrow then look at the code again

Copy link
Collaborator

@chris1984 chris1984 left a comment

Choose a reason for hiding this comment

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

Code looks fine, thanks for addressing Ewouds comments. Test failures are unrelated, have a card on the board to get them fixed.

Work with PR and bootdisk_pr

Before:

Traceback from production.log

==> /var/log/foreman/production.log <==
2024-03-04T14:37:50 [W|app|ed510f37] Failed to detach ISO image from CDROM drive of instance sean-horth.lab.eng.rdu2.redhat.com: InvalidPowerState: The attempted operation cannot be performed in the current state (Powered on).
2024-03-04T14:37:50 [I|app|ed510f37] Backtrace for 'Failed to detach ISO image from CDROM drive of instance sean-horth.lab.eng.rdu2.redhat.com: InvalidPowerState: The attempted operation cannot be performed in the current state (Powered on).' error (RbVmomi::Fault): InvalidPowerState: The attempted operation cannot be performed in the current state (Powered on).
 ed510f37 | /usr/share/gems/gems/rbvmomi2-3.7.0/lib/rbvmomi/vim/Task.rb:15:in `wait_for_completion'

Screenshot showing error in VMware:

before

With PR, no traceback in production log and we can see good tasks in VMware:

after
after1

@chris1984 chris1984 merged commit 952fec5 into fog:master Mar 4, 2024
1 of 5 checks passed
dosas added a commit to ATIX-AG/fog-vsphere that referenced this pull request May 2, 2024
952fec5

fog#292

Between vmware 8 and 7 these properties changed

ha-property-collector vs. propertyCollector
ha-searchindex vs. SearchIndex
chris1984 pushed a commit that referenced this pull request May 2, 2024
952fec5

#292

Between vmware 8 and 7 these properties changed

ha-property-collector vs. propertyCollector
ha-searchindex vs. SearchIndex
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants