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

[WIP] Fix destroy provider #207

Closed
wants to merge 2 commits into from
Closed

Conversation

aufi
Copy link
Member

@aufi aufi commented Jan 23, 2018

Change introduced in ManageIQ/manageiq#16755 is not
compatible with OSP provider which uses cascade deletion of related providers.

Nullification introduced in #198
breaks tests and possibly affects Infra provider deletion.

Trying override destroy method with original from AR until we get better solution (preferably in main repo).

Hostname validation was added to newest version, updating gemspec to include it.
Change introduced in ManageIQ/manageiq#16755 is not
compatible with OSP provider which uses cascade deletion of related providers.

Nullification introduced in ManageIQ#198
breaks tests and possibly affects Infra provider deletion.

Trying override destroy method with original from AR until we get better solution (preferably in main repo).
@aufi
Copy link
Member Author

aufi commented Jan 23, 2018

@Ladas First attempt..

@miq-bot miq-bot added the wip label Jan 23, 2018
@miq-bot
Copy link
Member

miq-bot commented Jan 23, 2018

Checked commits aufi/manageiq-providers-openstack@df8ced4~...831a7af with ruby 2.3.3, rubocop 0.52.0, haml-lint 0.20.0, and yamllint 1.10.0
2 files checked, 0 offenses detected
Everything looks fine. 👍

Copy link
Member

@agrare agrare left a comment

Choose a reason for hiding this comment

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

We are doing this intentionally using this method to ensure that providers are destroyed after their workers are shutdown to prevent them bringing the EMS back.
Overriding the destroy method is not going to work

@aufi
Copy link
Member Author

aufi commented Jan 24, 2018

@agrare Ok, thanks for review. Closing in favor of #208

@aufi aufi closed this Jan 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants