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

Update Manta for use with OpenCHAMI #61

Open
alexlovelltroy opened this issue Sep 19, 2024 · 3 comments
Open

Update Manta for use with OpenCHAMI #61

alexlovelltroy opened this issue Sep 19, 2024 · 3 comments
Assignees
Labels
Partner Objective A broadly scoped objective that is important to a partner

Comments

@alexlovelltroy
Copy link
Member

No description provided.

@alexlovelltroy alexlovelltroy added the Partner Objective A broadly scoped objective that is important to a partner label Sep 19, 2024
@Masber
Copy link

Masber commented Nov 10, 2024

  • Primary users OCHAMI sysadmins and developers
  • Create a priority list of commands to create with OCHAMI devs/admins?
  • Primary use case, simplify OCHAMI most common operations using a CLI instead of curl commands
  • Focus on GET, POST, PUT and DELETE http requests (PATCH are not a priority)
  • Decide which license to use (MIT/ETHz/somethinig else?)?

@alexlovelltroy
Copy link
Member Author

Ideally, we'd like to get away from mapping a single command to a single GET/PUT/POST and focus on use cases. We haven't done that completely yet, but here's where we're finding our admins needing help.

  • Authentication Sysadmins need to be able to authenticate with an oidc provider using the device authorization flow to obtain a jwt and refresh token. The jwt must be reusable, but because if very short refresh times, the token should be refreshed automatically when it is within (n) minutes of expiration. This refresh cycle should be transparent to the user. In addition, the authentication command should provide a way of checking the jwt validity including valid dates, scopes, and cryptography. Our admins debug REST API failures by first re-checking the jwt validity.
  • Node Management Sysadmins need to be able to manually add nodes as single items, update group information for nodes, and set/update boot parameters for groups of nodes. You can see the python cli we're using today at https://github.com/OpenCHAMI/ochami-cmdline
  • Boot Management This is a subset of the Node Management, but without BOS/BOA, we do it all with BSS and powerman at the moment. In addition, we're expanding what our cloud-init service can do. [DEV] Generate metadata from SMD and groups cloud-init#22 describes these changes.
  • Device Management While Magellan has become our primary interface for updating ethernet interface information and redfish endpoints, we sometimes need to query/update information for those as well. (I consider this a secondary use case)

@synackd
Copy link

synackd commented Nov 12, 2024

I'll also add that the ochami-cmdline Python script was conceived as a "just get it working" solution. We also have https://github.com/OpenCHAMI/ochami that is a bit more refined (and perhaps more intuitive as far as invocation) and is written in Go, which allows the ability to import our central schemas as well as import API structures from the services directly. It's main purpose at this point is to be a stop-gap for our admins until the manta integration is complete, so you might take a look there as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Partner Objective A broadly scoped objective that is important to a partner
Projects
Status: No status
Development

No branches or pull requests

4 participants