Skip to content
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

[Bug]: [freeipa] AssertionError: Another instance named 'ORG-MYCOMPANY-ORG' may already exist - on pod startup #54

Open
MurzNN opened this issue Dec 21, 2023 · 0 comments
Assignees

Comments

@MurzNN
Copy link

MurzNN commented Dec 21, 2023

Expected Behavior?

I deployed the freeipa Helm chart using my custom domain in values.yaml like this:

hostname: freeipa.mycompany.org

args:
  realm: ORG.MYCOMPANY.ORG
  domain: org.mycompany.org
  dspassword: XXXX
  adminpassword: XXXX

ingress:
  enabled: true
  hostname: freeipa.mycompany.org
  tls: true
  annotations:
    cert-manager.io/cluster-issuer: letsencrypt-prod
    kubernetes.io/ingress.class: nginx

All was deployed successfully.

Current Behavior

But I have an error on the freeipa pod startup:

  [error] AssertionError: Another instance named 'ORG-MYCOMPANY-ORG' may already exist

I tried to change the name to ORG2.MYCOMPANY.ORG and to other values, but the error still remains.

How can I fix it?

Screenshots

No response

Additional information

Full pod logs:

Validate installation settings ...
Another instance named 'ORG-MYCOMPANY-ORG' may already exist
The ipa-server-install command failed. See /var/log/ipaserver-install.log for more information
IPA Server.
Version 4.10.1

This includes:
  * Configure a stand-alone CA (dogtag) for certificate management
  * Create and configure an instance of Directory Server
  * Create and configure a Kerberos Key Distribution Center (KDC)
  * Configure Apache (httpd)
  * Configure SID generation
  * Configure the KDC to enable PKINIT

Excluded by options:
  * Configure the NTP client (chronyd)

Warning: skipping DNS resolution of host freeipa.mycompany.org
Trust is configured but no NetBIOS domain name found, setting it now.

The IPA Master Server will be configured with:
Hostname:       freeipa.mycompany.org
IP address(es): 10.233.106.101
Domain name:    org.mycompany.org
Realm name:     ORG.MYCOMPANY.ORG

The CA will be configured with:
Subject DN:   CN=Certificate Authority,O=ORG.MYCOMPANY.ORG
Subject base: O=ORG.MYCOMPANY.ORG
Chaining:     self-signed

Disabled p11-kit-proxy
Configuring directory server (dirsrv). Estimated time: 30 seconds
  [1/42]: creating directory server instance
  [error] AssertionError: Another instance named 'ORG-MYCOMPANY-ORG' may already exist
@shivani446 shivani446 self-assigned this Mar 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants