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

Trying to Bind ipv6 in an environment where ipv6 is disabled #1250

Open
tkyggit opened this issue Apr 15, 2024 · 1 comment
Open

Trying to Bind ipv6 in an environment where ipv6 is disabled #1250

tkyggit opened this issue Apr 15, 2024 · 1 comment
Labels

Comments

@tkyggit
Copy link

tkyggit commented Apr 15, 2024

Version
pulp-operator: 1.0.0-beta.4
pulp images:

  spec:
  deployment_type: galaxy
  image: [quay.io/pulp/galaxy-minimal](http://quay.io/pulp/galaxy-minimal)
  image_version: 4.6.3
  image_web: [quay.io/pulp/galaxy-web](http://quay.io/pulp/galaxy-web)
  image_web_version: 4.6.3

Describe the bug
Failure to start in environment with ipv6 disabled

To Reproduce

  • disable ipv6
  • install k3s
  • install galaxy
helm install -n galaxy --create-namespace pulp pulp-operator/pulp-operator --set namespace=galaxy

cat << EOT > "galaxy.yaml"
---
apiVersion: repo-manager.pulpproject.org/v1beta2
kind: Pulp
metadata:
  name: galaxy
  namespace: galaxy
spec:
  deployment_type: galaxy
  image: quay.io/pulp/galaxy-minimal
  image_version: 4.6.3
  image_web: quay.io/pulp/galaxy-web
  image_web_version: 4.6.3
  api:
    replicas: 1
    env_vars:
    - name: PULP_GALAXY_ENABLE_UNAUTHENTICATED_COLLECTION_ACCESS
      value: "true"
    - name: PULP_GALAXY_ENABLE_UNAUTHENTICATED_COLLECTION_DOWNLOAD
      value: "true"
  content:
    replicas: 1
  worker:
    replicas: 1
  web:
    replicas: 1
EOT

kubectl apply -f galaxy.yaml

The next three are CrashLoopBackOff due to ipv6 issues.

  • content
  • web
  • api
2024/04/15 01:13:06 [emerg] 1#0: socket() [::]:8080 failed (97: Address family not supported by protocol)
nginx: [emerg] socket() [::]:8080 failed (97: Address family not supported by protocol)

Expected behavior
Option to disable ipv6 to be provided.

Additional context
Can i disable ipv6 ? like below

ansible/awx-operator#1017

@mikedep333
Copy link
Member

mikedep333 commented Apr 16, 2024

Hi @tkyggit ,

Although we have yet to update our docs, you should switch to using the galaxy-operator. It is the recommended approach. This includes using images published by their team.

https://ansible.readthedocs.io/projects/galaxy-operator

2nd of all, this is a bug in both galaxy-operator and in pulp-operator. We will keep this issue here so that we can fix it, but you can file an almost identical issue under galaxy-operator (they'll probably recognize the same example code & output because their operator is derived from ours):

https://github.com/ansible/galaxy-operator/issues

-Mike

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants