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

feat(hatchery/openstack): check flavor #5148

Merged
merged 5 commits into from
Apr 28, 2020
Merged

feat(hatchery/openstack): check flavor #5148

merged 5 commits into from
Apr 28, 2020

Conversation

yesnault
Copy link
Member

No description provided.

engine/hatchery/openstack/init.go Outdated Show resolved Hide resolved
engine/hatchery/openstack/init.go Outdated Show resolved Hide resolved
engine/hatchery/openstack/init.go Outdated Show resolved Hide resolved
engine/hatchery/openstack/init.go Outdated Show resolved Hide resolved
engine/hatchery/openstack/init.go Outdated Show resolved Hide resolved
engine/hatchery/openstack/init.go Outdated Show resolved Hide resolved
// if there is a model, we have to check if the flavor attached to model is knowned by this hatchery
if model != nil {
if _, err := h.flavorID(model.ModelVirtualMachine.Flavor); err != nil {
log.Debug("CanSpawn> flavor '%s' not found", model.ModelVirtualMachine.Flavor)
Copy link
Member

Choose a reason for hiding this comment

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

it could be nice to check the error

Copy link
Member Author

Choose a reason for hiding this comment

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

fixed

Copy link
Member

Choose a reason for hiding this comment

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

sorry, i don't see how you are checking the error is "flavor not found"

@ovh-cds
Copy link
Collaborator

ovh-cds commented Apr 27, 2020

CDS Report build-all-cds#13083.0 ✘

  • Build
    • Build and Package All ✔
    • Build Debpacker ✔
    • Build OS-Ansible-Inventory ✔
    • Build SMTPMock ✔
    • Lint UI Translate ✔
    • Test CLI ✔
    • Test Engine ✔
    • Test SDK ✔
    • Test SDK Rust ✔
    • Test UI ✘

yesnault and others added 3 commits April 27, 2020 15:12
Signed-off-by: Yvonnick Esnault <[email protected]>
Signed-off-by: Yvonnick Esnault <[email protected]>
@yesnault yesnault requested a review from fsamin April 27, 2020 15:04
@yesnault yesnault merged commit 1e25af6 into master Apr 28, 2020
@richardlt richardlt deleted the ye-openstack-model branch May 20, 2020 14:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants