[smf] Update manifests to reflect self assembling switch zone#239
[smf] Update manifests to reflect self assembling switch zone#239karencfv wants to merge 2 commits intooxidecomputer:mainfrom
Conversation
Oof, this is unfortunate. Other repos seem to not have a problem with those services living in omicron 🤔 From the contents of the build.sh file I can't really tell what's going on. @jclulow, is this a buildomat thing? Do you have a clue about what's going on? |
|
Ok, after looking into this a bit further, this issue appears to stem from https://github.com/oxidecomputer/pkg5. I'm guessing we probably don't want to change any functionality there directly 🤔 @citrus-it do you have any suggestions on how to best resolve this issue? |
|
If it's IPS (pkg) saying that, it's probably sad that the things you're depending on are not delivered in a package themselves, so it cannot create an appropriate dependency. It's possible to have IPS just ignore certain files from a dependency resolution perspective, I believe. |
|
Looking at the manual:
If you look in that manual, I believe the It's possible, if the package is also supposed to work outside the switch zone, that the right thing to do is actually change them from being require_all dependencies to being something more relaxed about missing services. The manual page for smf(7) describes the depenency grouping types. If you look at the descriptions there it's possible that optional_all might be more appropriate? I'm not sure! |
|
Thanks @jclulow! Looks like I was looking at the wrong build.sh file 😄
hmmm, that's interesting! That could be a good workaround. I'll try it out. |
DO NOT MERGE - let's wait until release 8 is out the door
In Omicron, we are converting all zones to be self assembling. This means we are no longer having to boot the zone, configure zone networking, configure all the services and finally refresh each service.
For the switch zone we have two new services that configure common zone networking in oxidecomputer/omicron#5593. This PR adds these dependencies to the SMF files that require them, and sets the service default instance as enabled by default.
This PR should be merged in conjunction with oxidecomputer/omicron#5593