-
Notifications
You must be signed in to change notification settings - Fork 21
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
Support IPA IPA Trust with additional IPA server #106
base: master
Are you sure you want to change the base?
Conversation
@@ -221,7 +221,7 @@ | |||
dnf: | |||
state: present | |||
name: sssd-kcm | |||
when: "'base_ipa' in group_names or 'ipa' in group_names" | |||
when: "'base_ipa' in group_names or 'base_ipa2' in group_names or 'ipa' in group_names" |
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.
Is there a reason to use base_ipa2? Wouldn't it be tha same as base_ipa?
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.
Fixed to use base_ipa
only, this was an oversight on my part.
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.
Does not look fixed yet.
src/ansible/inventory.yml
Outdated
@@ -14,6 +14,9 @@ all: | |||
base_ipa: | |||
hosts: | |||
base-ipa | |||
base_ipa2: |
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.
why create base_ipa2?
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.
Fixed to use base_ipa only, this was an oversight on my part.
6301e05
to
46ac0c5
Compare
Hi @pbrezina Can you help me understand why
I ran However, these are not being copied into the
|
Makefile
Outdated
@@ -18,13 +18,18 @@ up-keycloak: | |||
docker-compose -f docker-compose.yml -f docker-compose.keycloak.yml up \ | |||
--no-recreate --detach ${LIMIT} | |||
|
|||
up-ipaipatrust: |
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.
This is something we can test in PR CI, so I think we can start second IPA with just make up
. What do you think?
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.
Sure, PR updated.
data/configs/dnsmasq.conf
Outdated
@@ -12,6 +12,7 @@ cache-size=0 | |||
|
|||
# These zones have their own DNS server | |||
server=/ipa.test/172.16.100.10 | |||
server=/ipa2.test/172.16.100.80 |
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.
It does not matter much but you can use .11
instead of .80
to keep IPA servers grouped together.
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.
Fixed, switched to 172.16.100.11
Ubuntu does not provide ipa package so base-ipa container is actually pulled from |
Actually it wouldn't work because we run each distro on different host. We would need to store it as artifact and then download it and install it. |
46ac0c5
to
fe0bad4
Compare
Can ssh keys from both IPA servers |
@@ -264,7 +264,7 @@ | |||
- ci-sssd-random | |||
- umockdev | |||
when: passkey_support | |||
when: "'base_client' in group_names or 'client' in group_names or 'base_ipa' in group_names or 'ipa' in group_names" | |||
when: "'base_client' in group_names or 'client' in group_names or 'base_ipa' in group_names or 'base_ipa2' in group_names or 'ipa' in group_names" |
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.
Here is still base_ipa2.
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.
Removed.
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.
The base_ipa2 is still present.
fe0bad4
to
192a817
Compare
Removed fully. |
@@ -16,7 +16,9 @@ | |||
roles: | |||
- samba | |||
|
|||
- hosts: master.ipa.test | |||
- hosts: |
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.
This should target group ipa.
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 as part of rebase.
No until this PR is merged. But you could do it manually, however it's probably not worth the effort. |
Justin, you can try removing the ssh host keys completely when you will rebase on top of Jakub's changes. I'm pretty sure I added them as a workaround for something, but I don't remember anymore. Maybe, it is not needed anymore. |
192a817
to
48104c2
Compare
I rebased and removed the host keys. |
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.
LGTM
Add new server
master2.ipa2.test
which deploys an IPA domainipa2.test
to be used in IPA IPA trust.with this PR checked out
sudo make down
sudo make build
`sudo REGISTRY="localhost/sssd" make up
Linked PRs:
SSSD/sssd-test-framework#119
SSSD/sssd#7517