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

add ability for omicron to observe v2p mappings #494

Merged
merged 7 commits into from
Apr 25, 2024

Conversation

internet-diglett
Copy link
Contributor

@internet-diglett internet-diglett commented Apr 12, 2024

We're adding rpws to Omicron so we can keep the v2p mappings consistent across sled reboots and other unfortunate-but-necessary events. Currently, sled-agent nor omicron has the ability to determine what mappings already exists, so it's difficult to reconcile or detect conflicting mappings.

Related

Closes #332

internet-diglett and others added 2 commits April 16, 2024 18:55
This PR contains the following updates:

| Update | Change |
|---|---|
| lockFileMaintenance | All locks refreshed |

🔧 This Pull Request updates lock files to use the latest dependency
versions.

---

### Configuration

📅 **Schedule**: Branch creation - "before 4am on monday" in timezone
America/Los_Angeles, Automerge - "after 8pm,before 6am" in timezone
America/Los_Angeles.

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config help](https://togithub.com/renovatebot/renovate/discussions) if
that's undesired.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Renovate
Bot](https://togithub.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yOTUuMCIsInVwZGF0ZWRJblZlciI6IjM3LjI5NS4wIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbImRlcGVuZGVuY2llcyJdfQ==-->

Co-authored-by: oxide-renovate[bot] <146848827+oxide-renovate[bot]@users.noreply.github.com>
@internet-diglett internet-diglett marked this pull request as ready for review April 24, 2024 22:17
Copy link
Collaborator

@FelixMcFelix FelixMcFelix left a comment

Choose a reason for hiding this comment

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

Thanks Levon, this looks good! Thank you for also moving the V2B/V2P ioctl structs out from overlay and into api; having to reach through engine in a userland consumer would have been... odd. :)

@internet-diglett internet-diglett merged commit 4cc823b into master Apr 25, 2024
10 checks passed
@internet-diglett internet-diglett deleted the add-apis-for-rpw branch April 25, 2024 19:33
internet-diglett added a commit to oxidecomputer/omicron that referenced this pull request May 22, 2024
TODO
---
- [x] Extend db view to include probe v2p mappings
- [x] Update sagas to trigger rpw activation instead of directly
configuring v2p mappings
- [x] Test that the `delete` functionality cleans up v2p mappings

Related
---
Resolves #5214 
Resolves #4259 
Resolves #3107

- [x] Depends on oxidecomputer/opte#494
- [x] Depends on oxidecomputer/meta#409
- [x] Depends on oxidecomputer/maghemite#244

---------

Co-authored-by: Levon Tarver <levon@oxidecomputer.com>
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.

Feature request: the ability to delete Virt2Phys mappings
2 participants