Commit b4ccadd
authored
Overhaul packaging, launching services within a
This PR provides support for launching and managing services as zones.
### Nexus
- Exposes types in a way which can interoperate with Sled Agent.
### Sled Agent
- Parse a config file, rather than taking arguments over CLI
- Add a "Service Manager", responsible for zones that run independently of datasets (e.g., Nexus, Oximeter)
#### Networking
- Allow specifying static IP addresses for Zone addresses
- In doing so: Add some utilities to `sled-agent/src/illumos/zone.rs` to ensure that link-local addresses are available for IPv6 addressing. This lets us provide static IPv6 addresses for services, which we use elsewhere in the PR when setting up zones.
#### Storage
- Adds a "filesystem_put" endpoint to the Sled Agent, which allows a caller to request the creation of a local filesystem.
- Adds a "service_put" endpoint to the Sled Agent, which allows a caller to request the creation of a local service.
- Enable installation of `omicron1` branded zones.
- Overhaul the process of auto-loading installed zones and managing running zones.
#### Bootstrapping
- Enable the parsing of a `config-rss.toml` file, which provides requests that would *normally* arrive from the Rack Setup Service.
- Process the "rss requests" in the bootstrap agent, where they are injected before starting any local services.
### Packaging Tools
- Rely on [omicron-package](https://github.com/oxidecomputer/omicron-package) for package construction.
- Adds a new "zone" type package to omicron-package, allowing the creation of `omicron1`-branded `*.tar.gz` files.
- Adds a "cockroachdb", "clickhouse" packages to `package-manifest.toml`, with an associated `manifest.xml` file.omicron1 branded zones (#686)1 parent 547b9c3 commit b4ccadd
File tree
49 files changed
+2851
-1795
lines changed- common/src
- api/internal
- nexus-client/src
- openapi
- package
- src
- bin
- sled-agent-client/src
- sled-agent
- src
- bin
- bootstrap
- common
- illumos
- smf
- clickhouse
- cockroachdb
- nexus
- oximeter
- propolis-server
- sled-agent
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
49 files changed
+2851
-1795
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | | - | |
| 9 | + | |
| 10 | + | |
11 | 11 | | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
452 | 452 | | |
453 | 453 | | |
454 | 454 | | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
455 | 463 | | |
456 | 464 | | |
457 | 465 | | |
| |||
481 | 489 | | |
482 | 490 | | |
483 | 491 | | |
| 492 | + | |
| 493 | + | |
484 | 494 | | |
485 | | - | |
| 495 | + | |
486 | 496 | | |
487 | 497 | | |
488 | 498 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
32 | 31 | | |
33 | 32 | | |
34 | 33 | | |
| |||
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
67 | 80 | | |
68 | 81 | | |
69 | 82 | | |
| |||
0 commit comments