oxidecomputer / oxidecomputer/helios
helios-build onu fails when lipkg zones present
Open
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 481
- Forks
- 21
- Avg merge
- 1d 17h
- Merged PRs (30d)
- 2
Description
When running the onu subcommand to install my build of Helios when lipkg zones are present on the system I get the following error.
ry@masaka:~/helios$ ./helios-build onu -t helios-router-dev1
[snip]
Sep 23 17:56:50.112 INFO O| beadm create helios-router-dev1
Sep 23 17:56:50.589 INFO O| Created successfully
Sep 23 17:56:50.591 INFO O| beadm mount helios-router-dev1 /tmp/onu.aTayFf
Sep 23 17:56:50.647 INFO O| Mounted successfully on: '/tmp/onu.aTayFf'
Sep 23 17:56:51.356 INFO O| pkg -R /tmp/onu.aTayFf set-publisher -r -e --no-refresh -P --set-property signature-policy=verify -O file:///home/ry/helios/tmp/onu/repo.redist on-nightly
Sep 23 17:56:51.739 INFO E| pkg: No image rooted at '/tmp/onu.aTayFf/falcon-duo/piano/root/'
Sep 23 17:56:51.739 INFO E| pkg: No image rooted at '/tmp/onu.aTayFf/falcon-duo/violin/root/'
Sep 23 17:56:51.740 INFO E| pkg: No image rooted at '/tmp/onu.aTayFf/falcon/root/'
Sep 23 17:56:51.788 INFO O| pkg -R /tmp/onu.aTayFf refresh --full
Sep 23 17:56:54.952 INFO O| Retrieving catalog 'helios-dev' ... Done
Sep 23 17:56:54.975 INFO O| Retrieving catalog 'on-nightly' ... Done
Sep 23 17:56:55.399 INFO O| Caching catalogs ... Done
Sep 23 17:56:55.541 INFO O| **
Sep 23 17:56:55.541 INFO O| ** Preparing for ONU from helios
Sep 23 17:56:55.541 INFO O| **
Sep 23 17:56:55.541 INFO O| pkg -R /tmp/onu.aTayFf change-facet -r onu.ooceonly=false
Sep 23 17:56:55.929 INFO E| pkg: change-facet failed (linked image exception(s)):
Sep 23 17:56:55.929 INFO E| Can't initialize child image (zone:duo_piano) at path: /tmp/onu.aTayFf/falcon-duo/piano/root/
Sep 23 17:56:55.929 INFO E| Can't initialize child image (zone:duo_violin) at path: /tmp/onu.aTayFf/falcon-duo/violin/root/
Sep 23 17:56:55.929 INFO E| Can't initialize child image (zone:falcon-base) at path: /tmp/onu.aTayFf/falcon/root/
Sep 23 17:56:55.978 INFO O| pkg -R /tmp/onu.aTayFf change-facet -r onu.ooceonly=false failed: exit code 1
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the ./helios-build onu -t helios-router-dev1 command on a system with lipkg zones and trace the ONU handling around the pkg -R ... change-facet step. The work is done when ONU completes without the linked-image errors for the affected zones.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100