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

[BUG] Virtual BMC's credentials are not respected #61

Open
starbops opened this issue Jan 12, 2025 · 0 comments
Open

[BUG] Virtual BMC's credentials are not respected #61

starbops opened this issue Jan 12, 2025 · 0 comments
Labels
area/ipmi Front-end protocol related and it's IPMI area/redfish Front-end protocol related and it's Redfish component/agent Relevant to the virtualized BMCs component/manager Relevant to the custom Kubernetes controllers kind/bug Something isn't working

Comments

@starbops
Copy link
Owner

starbops commented Jan 12, 2025

Describe the bug

Even though the virtual BMC's username and password are provided in the VirtualMachineBMC CR, there are not respected. Both IPMI and Redfish only work with the default username and password: admin/password. The IPMI service does not even do the authentication. You can provide any credential and still be able to access the IPMI service.

To Reproduce

  1. Install KubeVirtBMC chart
  2. Create a virtual machine
  3. Modify the auto-created VirtualMachineBMC CR, changing its username or password, e.g., from admin/password to demo/secret
  4. Query the services with the updated username and password
    • The IPMI service works (because it does not even do the authentication)
    • The Redfish service fails, which is wrong
  5. Query the services with the original username and password
    • The IPMI service works, which is wrong
    • The Redfish service works, which is also wrong

Expected behavior

KubeVirtBMC should support custom credentials, not just the default one. The IPMI service should implement the authentication.

Screenshots

N/A

Desktop (please complete the following information):

  • OS: Harvester v1.4.0 (based on SLE Micro 5.5)
  • KubeVirtBMC version: v0.4.1

Additional context

Because we're going to work on #4, I'd expect this issue could be solved with that one.

@starbops starbops added the kind/bug Something isn't working label Jan 12, 2025
@starbops starbops moved this to Backlog in KubeVirtBMC project Jan 12, 2025
@starbops starbops added component/manager Relevant to the custom Kubernetes controllers component/agent Relevant to the virtualized BMCs area/ipmi Front-end protocol related and it's IPMI area/redfish Front-end protocol related and it's Redfish labels Jan 14, 2025
@starbops starbops moved this from Backlog to In progress in KubeVirtBMC project Jan 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/ipmi Front-end protocol related and it's IPMI area/redfish Front-end protocol related and it's Redfish component/agent Relevant to the virtualized BMCs component/manager Relevant to the custom Kubernetes controllers kind/bug Something isn't working
Projects
Status: In progress
Development

No branches or pull requests

1 participant