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
SLES import: Support conversion to on-demand #1368
SLES import: Support conversion to on-demand #1368
Conversation
Skipping CI for Draft Pull Request. |
/test all |
48d5293
to
2390aef
Compare
There are many "no changes" file included, is it by accident? |
Good question -- the message means that it's an empty file. These occur for two reasons:
compute-image-tools/daisy_workflows/image_import/suse/suse_import/on_demand/validate_chroot.py Line 67 in 2390aef
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall lgtm, e2e test is the real gate for the correctness
If SUSE releases a new version of tarballs, copy them to a new `{timestamp}` | ||
directory, and update the tarball metadata in `translate.py`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To whom is this instruction addressed? Us?
Do we have a notification system in place for new versions of tarballs?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Future maintainers is the intended audience. The updated README gives clearer instructions.
Regarding the notification system, my current thinking is that our e2e tests have sufficient coverage to detect problems with on-demand conversion. All minor versions, and all flavors are covered.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we chatted about it: maybe add instructions if those tests fail so we know what to do?
daisy_workflows/image_import/suse/suse_import/tests/test-data/validate_chroot/etc/resolv.conf
Outdated
Show resolved
Hide resolved
ff02::2 ip6-allrouters | ||
|
||
10.128.0.14 inst-translator-import-image-946jb.c.edens-test.internal inst-translator-import-image-946jb # Added by Google | ||
169.254.169.254 metadata.google.internal # Added by Google |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Github is showing a missing new line in this file. Not sure it's an issue.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated with a trailing newline (I copied the file directly from a debian 9 worker instance).
2390aef
to
8f90daa
Compare
8f90daa
to
4ac1f90
Compare
@zoran15 -- Added a debugging tip when the on-demand import tests fail (talked about this offline) |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: dntczdx, EricEdens, zoran15 The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
4ac1f90
to
77d68b2
Compare
New changes are detected. LGTM label has been removed. |
This PR adds:
OS targets
Eight targets are available for the
--os
flag, covering all combinations of:See
cli_tools/common/utils/daisy/daisy_utils.go
for the new targets.Noteworthy changes
fingerprints the instance. Running in a guestfs appliance fails registration.
the license that will be applied to the final image.
Testing: