You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CommunityIssues or pull requests relevant for SIG CommunityIAMIssues or pull requests relevant for SIG IAMIaaSIssues or pull requests relevant for Team1: IaaSSCS-VP10Related to tender lot SCS-VP10enhancementNew feature or requestupstreamImplemented directly in the upstream
Keystone just updated their code base with new code formatting which introduced a lot of merge conflicts, so I rebased all my changes in the upstream patchset and also used black to format my changes accordingly.
I'm a bit surprised that they did it. I like to use Black myself and on all my projects. But with such an old code base like Keystone, where backports are important, you're really breaking a lot.
I attended today's reviewathon meeting with the Keystone devs. Here are the key points of open tasks to finish up the patchset:
I was asked to add the project manager persona to all rbac tests of keystone-tempest-plugin as kind of negative tests (they should not be allowed to do anything a domain manager can)
I need to add a release notes entry using the tool reno in the keystone repository
some lines being too long due to the variable naming of changed policy rule variables is not an issue anymore, because Keystone switched the tox configuration from flake8 to black (which is not as strict)
I attended today's reviewathon meeting with the Keystone devs. Here are the key points of open tasks to finish up the patchset:
I was asked to add the project manager persona to all rbac tests of keystone-tempest-plugin as kind of negative tests (they should not be allowed to do anything a domain manager can)
I need to add a release notes entry using the tool reno in the keystone repository
some lines being too long due to the variable naming of changed policy rule variables is not an issue anymore, because Keystone switched the tox configuration from flake8 to black (which is not as strict)
I implemented and tested the requested changes and announced this in today's Keystone IRC meeting. Expecting to get another round of reviews soon.
I received another review on my upstream patchset suggesting a bunch of simplifications possible due to the role inheritance in Keystone. Because the role manager implies reader, a lot of reader permissions are already part of manager without the need to explicitly address the manager role in the policies.
I incorporated the simplifications, retested it using both the SCS test script as well as the Tempest tests and pushed the changes. Shortly after I now got a positive vote on the Keystone patchset.
Now that the Domain Manager patchset is merged, it will be part of the 2024.2 release ("Dalmatian"). The upcoming SCS release (R7) on the other hand will still be based on 2024.1 ("Caracal"), where the Domain Manager is not yet upstream. In addition to that, our current SCS Domain Manager standard1 is still in "Draft" state. As such, the Domain Manager would not yet be part of R7.
Hence I suggest the following next steps:
Update the Domain Manager standard where necessary:
test with Caracal if disabling enforce_scope and enforce_new_defaults is still a requirement
check if all limitations still apply with Caracal, otherwise remove them
add implementation note that this will be an upstream feature in the future
Stabilize the Domain Manager standard for R7, so that it will be included as an actual standard
Create an issue in the SCS/standards repo to deprecate the Domain Manager standard once 2024.2 will be part of a future SCS release, leaving only the Roles standard to reference the manager role
Check the current documentation about the Domain Manager role for docs.scs.community (maybe update the admonition banner to mention the actual release version when the feature will be upstream)
I attended today's Reviewathon of the Keystone team and they gave the Tempest core patchset1 some review priority votes (since directly reviewing that is out of scope for the Keystone team). Additionally, I raised awareness of the keystone-tempest-plugin patchset2, which relies on that Tempest core patchset.
I was advised to ping in #openstack-qa to ask people to merge the base Tempest patchset.
I did get a review now and was asked to implement unit tests for the changes. I did this for the dynamic credentials but had trouble adding tests for the preprovisioned credentials as the existing unit test implementation was non-obvious and lacked tests for the member and reader personas so I had little to build on. Eventually, a Tempest dev nudged me into the right direction thankfully1 and I added some tests.
FTR, patchsets for documentation and Tempest tests are still not merged. I raided today's Reviewathon meeting on Google Meet for a few minutes just to check if there is anything to do on my side (because I wasn't able to attend the IRC meetings recently) but it's just that it hasn't been reviewed by the some of the devs yet. There don't seem to be any unaddressed blockers, it just takes time until people get to it.
FTR, patchsets for documentation and Tempest tests are still not merged. I raided today's Reviewathon meeting on Google Meet for a few minutes just to check if there is anything to do on my side (because I wasn't able to attend the IRC meetings recently) but it's just that it hasn't been reviewed by the some of the devs yet. There don't seem to be any unaddressed blockers, it just takes time until people get to it.
They are still open. I brought up the topic again in today's IRC meeting and one of the developers promised to convince the others to do their final reviews1.
Upstream patchsets for dedicated tests and documentation are still open but the main contribution (implementation of the role) is concluded. So, technically the upstreaming of the role itself is done and I will close this issue to not prolong it any further unnecessarily.
CommunityIssues or pull requests relevant for SIG CommunityIAMIssues or pull requests relevant for SIG IAMIaaSIssues or pull requests relevant for Team1: IaaSSCS-VP10Related to tender lot SCS-VP10enhancementNew feature or requestupstreamImplemented directly in the upstream
Activity
markus-hentsch commentedon Sep 28, 2023
(comment removed and migrated to a separate issue: #446)
45 remaining items
berendt commentedon Jul 30, 2024
I'm a bit surprised that they did it. I like to use Black myself and on all my projects. But with such an old code base like Keystone, where backports are important, you're really breaking a lot.
markus-hentsch commentedon Aug 9, 2024
I attended today's reviewathon meeting with the Keystone devs. Here are the key points of open tasks to finish up the patchset:
renoin the keystone repositorymarkus-hentsch commentedon Aug 14, 2024
I implemented and tested the requested changes and announced this in today's Keystone IRC meeting. Expecting to get another round of reviews soon.
markus-hentsch commentedon Aug 28, 2024
I received another review on my upstream patchset suggesting a bunch of simplifications possible due to the role inheritance in Keystone. Because the role manager implies reader, a lot of reader permissions are already part of manager without the need to explicitly address the manager role in the policies.
I incorporated the simplifications, retested it using both the SCS test script as well as the Tempest tests and pushed the changes. Shortly after I now got a positive vote on the Keystone patchset.
markus-hentsch commentedon Aug 29, 2024
The Keystone patchset is now finally merged!
Only the Tempest patchsets are left now.
markus-hentsch commentedon Aug 30, 2024
Now that the Domain Manager patchset is merged, it will be part of the 2024.2 release ("Dalmatian"). The upcoming SCS release (R7) on the other hand will still be based on 2024.1 ("Caracal"), where the Domain Manager is not yet upstream. In addition to that, our current SCS Domain Manager standard1 is still in "Draft" state. As such, the Domain Manager would not yet be part of R7.
Hence I suggest the following next steps:
enforce_scopeandenforce_new_defaultsis still a requirementFootnotes
https://github.com/SovereignCloudStack/standards/blob/main/Standards/scs-0302-v1-domain-manager-role.md ↩
markus-hentsch commentedon Aug 30, 2024
I attended today's Reviewathon of the Keystone team and they gave the Tempest core patchset1 some review priority votes (since directly reviewing that is out of scope for the Keystone team). Additionally, I raised awareness of the keystone-tempest-plugin patchset2, which relies on that Tempest core patchset.
Footnotes
https://review.opendev.org/c/openstack/tempest/+/924133 ↩
https://review.opendev.org/c/openstack/keystone-tempest-plugin/+/924222 ↩
markus-hentsch commentedon Sep 4, 2024
I attended today's Keystone IRC meeting and asked about the releation between the Tempest patchsets and the release deadline. I was told:
I was advised to ping in
#openstack-qato ask people to merge the base Tempest patchset.I also asked about good places for documentation contributions. For SCS we have this: https://docs.scs.community/docs/iam/domain-manager-setup-and-usage/ and it would be good to move this upstream.
The following places were suggested:
It seems that "Administrative operation" from the SCS docs would best fit in 2 and "Domain Manager operation" would best fit in 1.
UPDATE:
markus-hentsch commentedon Sep 9, 2024
I did get a review now and was asked to implement unit tests for the changes. I did this for the dynamic credentials but had trouble adding tests for the preprovisioned credentials as the existing unit test implementation was non-obvious and lacked tests for the member and reader personas so I had little to build on. Eventually, a Tempest dev nudged me into the right direction thankfully1 and I added some tests.
Footnotes
https://review.opendev.org/c/openstack/tempest/+/924133/comments/2b165e48_50854718 ↩
markus-hentsch commentedon Sep 10, 2024
The patchset for the Tempest core library has now been merged, leaving only the tempest-keystone-plugin patchset and the small documentation patchset for now. I've added this to this week's Keystone IRC meeting agenda.
markus-hentsch commentedon Oct 4, 2024
FTR, patchsets for documentation and Tempest tests are still not merged. I raided today's Reviewathon meeting on Google Meet for a few minutes just to check if there is anything to do on my side (because I wasn't able to attend the IRC meetings recently) but it's just that it hasn't been reviewed by the some of the devs yet. There don't seem to be any unaddressed blockers, it just takes time until people get to it.
markus-hentsch commentedon Oct 16, 2024
They are still open. I brought up the topic again in today's IRC meeting and one of the developers promised to convince the others to do their final reviews1.
Footnotes
https://meetings.opendev.org/meetings/keystone/2024/keystone.2024-10-16-15.05.log.html ↩
markus-hentsch commentedon Nov 19, 2024
Upstream patchsets for dedicated tests and documentation are still open but the main contribution (implementation of the role) is concluded. So, technically the upstreaming of the role itself is done and I will close this issue to not prolong it any further unnecessarily.