-
Notifications
You must be signed in to change notification settings - Fork 124
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 Domain support. #3106
Add Domain support. #3106
Conversation
This is very draft - pushing it up to make it possible to have eyes on it when/if/as I run into problems. |
cd9991a
to
690ece2
Compare
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.
Not sure if you need any changes in the task code as well. If they use queries then they probably need a filter by task domain.
Almost certainly - it's next on The List... |
690ece2
to
8c47431
Compare
8c47431
to
e54ae55
Compare
Tests that check content-access will fail until pulp/pulpcore#3748 gets merged. |
e54ae55
to
63b611d
Compare
709da07
to
370a3cd
Compare
OK folks - for the moment this is still in draft, but I need eyes, because I've looked at these files for Too Long. The tests all pass in both domain-on and domain-off mode. Improvements for the tests/fixtures very gratefully accepted, I based what I'm doing on pulp_file's work, but RPM is Different (and so is my brain). @gerrod3 I am Absurdly Positive I have missed something Important - let me know if you think of/see anything. |
Looking reasonable so far, I'll take a deeper dive tomorrow |
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.
Looking good, this is close to being ready. What do you think about for adding docs?
370a3cd
to
64c8de8
Compare
@ggainey Have you gone over this checklist: https://docs.pulpproject.org/pulpcore/plugin_dev/plugin-writer/concepts/domains/domains_compatibility.html I think some of the task code might still need to be looked over and more importantly you need to update the |
dd9aa88
to
9ef3dc7
Compare
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.
Implementation looks good! Some questions on the tests.
c6c50c1
to
b43108a
Compare
pulp-cli test failures: The acs failure, I can't yet explain. All the tests end with "success" (start here ), it feels like cleanup() is what's triggering a failure here. Thoughts anyone? |
The acs test fails due to the |
Ah yes, exactly so, thanks @gerrod3 . OK - so my proposal is, we allow these failures for this PR. I will work on fixing pulp-cli, which will need a release before pulp_rpm PRs will stop noticing these failures. As long as we recognize that they're test-bugs, not rpm-domain-bugs, and are ok with seeing them for a few days, I think we can accept this PR. Assuming nobody thinks of Something Else... |
Test-failures are addressed in this PR |
With the release of pulp-cli/0.19.2, the test failures were addressed and this PR is now green. Can has merge please? kthxbai |
closes #3008
(cherry picked from commit 67067318fecf83e0bbe471739b052a1668c893df)
Co-authored by: Grant Gainey ggainey@redhat.com