[go: nahoru, domu]

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

UI: Fix new UI missing 4 parameters when adding a BareMetal host #5812

Conversation

utchoang
Copy link
@utchoang utchoang commented Dec 29, 2021

Description

This PR fixes #5772

Types of changes

  • Breaking change (fix or feature that would cause existing functionality to change)
  • New feature (non-breaking change which adds functionality)
  • Bug fix (non-breaking change which fixes an issue)
  • Enhancement (improves an existing feature and functionality)
  • Cleanup (Code refactoring and cleanup, that may add test cases)

Feature/Enhancement Scale or Bug Severity

Feature/Enhancement Scale

  • Major
  • Minor

Bug Severity

  • BLOCKER
  • Critical
  • Major
  • Minor
  • Trivial

Screenshots (if appropriate):

image

How Has This Been Tested?

@utchoang utchoang changed the title fix new UI missing 4 parameters when adding a BareMetal host UI: Fix new UI missing 4 parameters when adding a BareMetal host Dec 29, 2021
@utchoang
Copy link
Author

@blueorangutan ui

@blueorangutan
Copy link

@utchoang a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress.

@blueorangutan
Copy link

UI build: ✔️
Live QA URL: http://qa.cloudstack.cloud:8080/client/pr/5812 (SL-JID-946)

@sureshanaparti
Copy link
Contributor

Hi @utchoang, Is this good to go in 4.16.1? If so, please rebase with 4.16. Thanks.

@utchoang utchoang changed the base branch from main to 4.16 December 29, 2021 06:55
@utchoang
Copy link
Author

@blueorangutan ui

@blueorangutan
Copy link

@utchoang a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress.

@blueorangutan
Copy link

UI build: ✔️
Live QA URL: http://qa.cloudstack.cloud:8080/client/pr/5812 (SL-JID-950)

Copy link
Contributor
@harikrishna-patnala harikrishna-patnala left a comment

Choose a reason for hiding this comment

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

Thanks for the quick changes @utchoang .

I've tried adding the host with dummy values, but it failed with a NPE error. On the further check, it is found that hosttag is a mandatory field in case of baremetal

Can you please make hosttag as mandatory field in UI in case of baremetal and also add a null check at ResourceManagerImpl.java#L731 to fix the API flow.

@utchoang
Copy link
Author

@blueorangutan ui

@blueorangutan
Copy link

@utchoang a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress.

@blueorangutan
Copy link

UI build: ✔️
Live QA URL: http://qa.cloudstack.cloud:8080/client/pr/5812 (SL-JID-951)

Copy link
Contributor
@harikrishna-patnala harikrishna-patnala left a comment

Choose a reason for hiding this comment

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

Looks good to me. I've tested with dummy values to see if the proper API is fired.

@sureshanaparti sureshanaparti added this to the 4.16.1.0 milestone Jan 3, 2022
@sureshanaparti
Copy link
Contributor

Hi @utchoang Can you resolve the conflicts in this PR branch. Thanks.

# Conflicts:
#	ui/src/views/infra/HostAdd.vue
@utchoang
Copy link
Author
utchoang commented Jan 4, 2022

@blueorangutan ui

1 similar comment
@sureshanaparti
Copy link
Contributor

@blueorangutan ui

@blueorangutan
Copy link

@sureshanaparti a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress.

@blueorangutan
Copy link

UI build: ✔️
Live QA URL: http://qa.cloudstack.cloud:8080/client/pr/5812 (SL-JID-971)

@sureshanaparti
Copy link
Contributor
sureshanaparti commented Jan 4, 2022

Hi @utchoang noticed error message: "Username and Password need to be provided." after submitting the details (including username and password) in 'Add Host' form. Please check.

PR5812_UI_ErrorMessage

@utchoang
Copy link
Author
utchoang commented Jan 4, 2022

@blueorangutan ui

@blueorangutan
Copy link

@utchoang a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress.

@blueorangutan
Copy link

UI build: ✔️
Live QA URL: http://qa.cloudstack.cloud:8080/client/pr/5812 (SL-JID-972)

@sureshanaparti
Copy link
Contributor

Verified the missing parameters (CPU cores, CPU MHz, Memory, Host Mac) in 'Add Host' UI form for BareMetal host, and the API fired from the UI with dummy values.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

when add BareMetal host, new ui misses 4 parameters: cpu cores, cpu MHz,memory,host mac
5 participants