Git Product home page Git Product logo

Comments (13)

chukka avatar chukka commented on June 12, 2024 1

@oniabifo Thanks for reaching out ! we need more details to reproduce . Can you share below information ?

  1. kubernestes flavour and version ( is it openshift ,if yes , what is the version used)
  2. helm command used
  3. complete console logs

from charts.

oniabifo avatar oniabifo commented on June 12, 2024

Hello @chukka Thanks for reaching out

kubernestes flavour and version
v1.21.5 and it is on AWS

helm command used
This is the helm command used

helm upgrade --install artifactory jfrog/artifactory \
      --set nginx.service.ssloffload=$SSL_OFFLOAD \
      --set nginx.tlsSecretName=tls-ingress \
      --set artifactory.masterKey=$MASTER_KEY \
      --set artifactory.joinKey=$JOIN_KEY \
      --set artifactory.license.secret=artifactory-license \
      --set artifactory.persistence.enabled=false \
      --set artifactory.nginx.enabled=false \
      --set artifactory.uid=1000 \
      --set artifactory.gid=1000 \
      --set artifactory.license.dataKey=$ARTIFACTORY_DATA_KEY $NAMESPACE_COMMAND

complete console logs

This is the output of kubectl logs podname
Testing directory /var/opt/jfrog/router has read/write permissions for user id 1000
Permissions for /var/opt/jfrog/router are good
Setting JF_SHARED_NODE_ID to artifactory-0
Setting JF_SHARED_NODE_IP to 10.98.136.72
Setting JF_SHARED_NODE_NAME to artifactory-0
Using default router's certificate and private key
======= Router PID 265
/opt/jfrog/router/app/bin/entrypoint-router.sh: line 112: /opt/jfrog/router/app/router/router.pid: Permission denied
runtime/cgo: pthread_create failed: Operation not permitted
SIGABRT: abort
PC=0x7f00665a054c m=0 sigcode=18446744073709551610

goroutine 0 [idle]:
runtime: g 0: unknown pc 0x7f00665a054c
stack: frame={sp:0x7ffccb238fa0, fp:0x0} stack=[0x7ffccaa3a520,0x7ffccb239530)
0x00007ffccb238ea0: 0x0000000000000000 0x0000000000000000
0x00007ffccb238eb0: 0x0000000000000000 0x0000000000000000
0x00007ffccb238ec0: 0x6e696c2d72657475 0x3436646d612d7875
0x00007ffccb238ed0: 0x454e524542554b00 0x565245535f534554
0x00007ffccb238ee0: 0x0000000000000000 0x0000000000000000
0x00007ffccb238ef0: 0x0000000000000000 0x0000000000000000
0x00007ffccb238f00: 0x0000000000000000 0x0000000000000000
0x00007ffccb238f10: 0x0000000000000000 0x0000000000000000
0x00007ffccb238f20: 0x0000000000000000 0x0000000000000000
0x00007ffccb238f30: 0x0000000000000000 0x0000000000000000
0x00007ffccb238f40: 0x0000000000000000 0x0000000000000000
0x00007ffccb238f50: 0x0000000000000000 0x0000000000000000
0x00007ffccb238f60: 0x0000000000000000 0x0000000000000000
0x00007ffccb238f70: 0x0000000000000000 0x0000000000000000
0x00007ffccb238f80: 0x0000000000000000 0x0000000000000000
0x00007ffccb238f90: 0x0000000000000000 0x00007f00665a053e
0x00007ffccb238fa0: <0x0000000000000000 0x0000000000000000
0x00007ffccb238fb0: 0x0000000000000000 0x0000000000000000
0x00007ffccb238fc0: 0x0000000000000000 0x0000000000000000
0x00007ffccb238fd0: 0x0000000000000000 0x0000000000000000
0x00007ffccb238fe0: 0x0000000000000000 0x0000000000000000
0x00007ffccb238ff0: 0x0000000000000000 0x0000000000000000
0x00007ffccb239000: 0x0000000000000000 0x0000000000000000
0x00007ffccb239010: 0x0000000000000000 0x0000000000000000
0x00007ffccb239020: 0x0000000000000000 0xf8b108eb38f38600
0x00007ffccb239030: 0x00007f00664fc740 0x0000000000000006
0x00007ffccb239040: 0x000000000856b2e0 0x0000000000000000
0x00007ffccb239050: 0x000000000729da00 0x00007f0066553d06
0x00007ffccb239060: 0x00007f00666fae90 0x00007f00665277f3
0x00007ffccb239070: 0x0000000000000020 0x0000000000000000
0x00007ffccb239080: 0x0000000000000000 0x0000000000000000
0x00007ffccb239090: 0x0000000000000000 0x0000000000000000
runtime: g 0: unknown pc 0x7f00665a054c
stack: frame={sp:0x7ffccb238fa0, fp:0x0} stack=[0x7ffccaa3a520,0x7ffccb239530)
0x00007ffccb238ea0: 0x0000000000000000 0x0000000000000000
0x00007ffccb238eb0: 0x0000000000000000 0x0000000000000000
0x00007ffccb238ec0: 0x6e696c2d72657475 0x3436646d612d7875
0x00007ffccb238ed0: 0x454e524542554b00 0x565245535f534554
0x00007ffccb238ee0: 0x0000000000000000 0x0000000000000000
0x00007ffccb238ef0: 0x0000000000000000 0x0000000000000000
0x00007ffccb238f00: 0x0000000000000000 0x0000000000000000
0x00007ffccb238f10: 0x0000000000000000 0x0000000000000000
0x00007ffccb238f20: 0x0000000000000000 0x0000000000000000
0x00007ffccb238f30: 0x0000000000000000 0x0000000000000000
0x00007ffccb238f40: 0x0000000000000000 0x0000000000000000
0x00007ffccb238f50: 0x0000000000000000 0x0000000000000000
0x00007ffccb238f60: 0x0000000000000000 0x0000000000000000
0x00007ffccb238f70: 0x0000000000000000 0x0000000000000000
0x00007ffccb238f80: 0x0000000000000000 0x0000000000000000
0x00007ffccb238f90: 0x0000000000000000 0x00007f00665a053e
0x00007ffccb238fa0: <0x0000000000000000 0x0000000000000000
0x00007ffccb238fb0: 0x0000000000000000 0x0000000000000000
0x00007ffccb238fc0: 0x0000000000000000 0x0000000000000000
0x00007ffccb238fd0: 0x0000000000000000 0x0000000000000000
0x00007ffccb238fe0: 0x0000000000000000 0x0000000000000000
0x00007ffccb238ff0: 0x0000000000000000 0x0000000000000000
0x00007ffccb239000: 0x0000000000000000 0x0000000000000000
0x00007ffccb239010: 0x0000000000000000 0x0000000000000000
0x00007ffccb239020: 0x0000000000000000 0xf8b108eb38f38600
0x00007ffccb239030: 0x00007f00664fc740 0x0000000000000006
0x00007ffccb239040: 0x000000000856b2e0 0x0000000000000000
0x00007ffccb239050: 0x000000000729da00 0x00007f0066553d06
0x00007ffccb239060: 0x00007f00666fae90 0x00007f00665277f3
0x00007ffccb239070: 0x0000000000000020 0x0000000000000000
0x00007ffccb239080: 0x0000000000000000 0x0000000000000000
0x00007ffccb239090: 0x0000000000000000 0x0000000000000000

goroutine 1 [running]:
runtime.systemstack_switch()
runtime/asm_amd64.s:474 +0x8 fp=0xc0000a6740 sp=0xc0000a6730 pc=0x5f0448
runtime.main()
runtime/proc.go:169 +0x6d fp=0xc0000a67e0 sp=0xc0000a6740 pc=0x5bd4cd
runtime.goexit()
runtime/asm_amd64.s:1650 +0x1 fp=0xc0000a67e8 sp=0xc0000a67e0 pc=0x5f2421

rax 0x0
rbx 0x7f00664fc740
rcx 0x7f00665a054c
rdx 0x6
rdi 0x109
rsi 0x109
rbp 0x109
rsp 0x7ffccb238fa0
r8 0x7ffccb239070
r9 0x7f00666b04e0
r10 0x8
r11 0x246
r12 0x6
r13 0x0
r14 0x729da00
r15 0x6
rip 0x7f00665a054c
rflags 0x246
cs 0x33
fs 0x0
gs 0x0

from charts.

chukka avatar chukka commented on June 12, 2024

@oniabifo can you let us know the license that you are using Enterprise/Pro/oss ?

from charts.

oniabifo avatar oniabifo commented on June 12, 2024

@chukka I am using the 30 days free trial from the jfrog website for this

from charts.

chukka avatar chukka commented on June 12, 2024

@oniabifo I tried with below commands , it works with out any issues , can you try again with latest version 107.77.3

helm repo update jfrog
helm upgrade --install artifactory jfrog/artifactory --set artifactory.uid=1000,artifactory.gid=1000 --namespace test --create-namespace --version 107.77.3

from charts.

oniabifo avatar oniabifo commented on June 12, 2024

@chukka still failing. Also noticed nginx isn't starting up

Using deprecated password for user _internal.
2024-02-01 14:58:17  [169 entrypoint-nginx.sh] Preparing to run Nginx in Docker
2024-02-01 14:58:17   [14 entrypoint-nginx.sh] Dockerfile for this image can found inside the container.
2024-02-01 14:58:17   [15 entrypoint-nginx.sh] To view the Dockerfile: 'cat /docker/nginx-artifactory-pro/Dockerfile.nginx'.
2024-02-01 14:58:17   [19 entrypoint-nginx.sh] Setting up directories if missing
2024-02-01 14:58:17  [160 entrypoint-nginx.sh] Generating ssl example.key and example.crt
2024-02-01 14:58:17   [83 entrypoint-nginx.sh] Artifactory configuration already in /var/opt/jfrog/nginx/conf.d/artifactory.conf
2024-02-01 14:58:17  [177 entrypoint-nginx.sh] Adding logrotate configuration
2024-02-01 14:58:17   [92 entrypoint-nginx.sh] Adding logrotate to crontab
2024-02-01 14:58:17  [187 entrypoint-nginx.sh] Starting updateConf.sh in the background
Using deprecated password for user _internal.
2024-02-01 14:58:17  [192 entrypoint-nginx.sh] Starting nginx daemon...

from charts.

chukka avatar chukka commented on June 12, 2024

@oniabifo can you confirm if you are using latest version of chart 107.77.3 ?

Can you provide me output of this command
helm list -n $NAMESPACE_COMMAND

from charts.

oniabifo avatar oniabifo commented on June 12, 2024

@chukka it returned nothing.
Screenshot 2024-02-06 at 2 43 40 PM

I also have another question, i pulled this image releases-docker.jfrog.io/jfrog/nginx-artifactory-pro:7.77.3 and i tried running it locally on docker and i noticed it never got past this stage

Using deprecated password for user _internal.
2024-02-06 22:39:52  [169 entrypoint-nginx.sh] Preparing to run Nginx in Docker
2024-02-06 22:39:52   [14 entrypoint-nginx.sh] Dockerfile for this image can found inside the container.
2024-02-06 22:39:52   [15 entrypoint-nginx.sh] To view the Dockerfile: 'cat /docker/nginx-artifactory-pro/Dockerfile.nginx'.
2024-02-06 22:39:52   [19 entrypoint-nginx.sh] Setting up directories if missing
2024-02-06 22:39:52  [160 entrypoint-nginx.sh] Generating ssl example.key and example.crt
2024-02-06 22:39:52   [77 entrypoint-nginx.sh] Unable to find Artifactory configuration (/var/opt/jfrog/nginx/conf.d/artifactory.conf). Copying a default one
2024-02-06 22:39:52  [177 entrypoint-nginx.sh] Adding logrotate configuration
2024-02-06 22:39:52   [92 entrypoint-nginx.sh] Adding logrotate to crontab
2024-02-06 22:39:52  [187 entrypoint-nginx.sh] Starting updateConf.sh in the background
Using deprecated password for user _internal.
2024-02-06 22:39:52  [192 entrypoint-nginx.sh] Starting nginx daemon...

Could there be a reason why? it seems it is running updateConf.sh in the background and there might be something going on in that file

from charts.

gitta-jfrog avatar gitta-jfrog commented on June 12, 2024

Closing, If additional support is required please let us know.

from charts.

nola-it avatar nola-it commented on June 12, 2024

Has this been closed as a resolution has been provided? Could you clarify as I am getting a similar error while trying to install xRay?

from charts.

gitta-jfrog avatar gitta-jfrog commented on June 12, 2024

The issue closed without resolution as our team wasn't able to reproduce the issue with the information provided.
Please open a new ticket with all the details for additional investigation. In addition, We are recommending to reach out JFrog Support team if possible.
Thanks!

from charts.

awolde avatar awolde commented on June 12, 2024

Hitting this error as well, I have a cluster with kubeadm, k8s version v1.29.3. Closing it without a resolution doesn't make sense @gitta-jfrog . This is the error I'm getting from the router container:

Testing directory /var/opt/jfrog/router has read/write permissions for user id 1000
Permissions for /var/opt/jfrog/router are good
Setting JF_SHARED_NODE_ID to artifactory-0
Setting JF_SHARED_NODE_IP to 192.168.145.218
Setting JF_SHARED_NODE_NAME to artifactory-0
Using default router's certificate and private key
======= Router PID 256
/opt/jfrog/router/app/bin/entrypoint-router.sh: line 112: /opt/jfrog/router/app/router/router.pid: Permission denied
2024-04-11T14:20:58.192Z [jfrou] [FATAL] [64938e467fb39198] [home.go:56                    ] [main                ] [] - Could not create service home: stat /opt/jfrog/router/var/data/router: permission denied

Im getting similar issues with the other containers 'permission denied'. I think there is some setup we need to do for the PV. This helm chart expects a pv to exists before it can claim it with pvc. My pv setup is with nfs. Here is my setup:

awolde@k8s-lab-01:~$ k -n jfrog get pvc
NAME                               STATUS   VOLUME         CAPACITY   ACCESS MODES   STORAGECLASS   VOLUMEATTRIBUTESCLASS   AGE
artifactory-volume-artifactory-0   Bound    db-pv-volume   300Gi      RWO,RWX        standard       <unset>                 9h
data-artifactory-postgresql-0      Bound    cc-pv-volume   300Gi      RWO,RWX        standard       <unset>                 9h
awolde@k8s-lab-01:~$ k -n jfrog get pv 
NAME           CAPACITY   ACCESS MODES   RECLAIM POLICY   STATUS   CLAIM                                    STORAGECLASS   VOLUMEATTRIBUTESCLASS   REASON   AGE
cc-pv-volume   300Gi      RWO,RWX        Delete           Bound    jfrog/data-artifactory-postgresql-0      standard       <unset>                          9h
db-pv-volume   300Gi      RWO,RWX        Delete           Bound    jfrog/artifactory-volume-artifactory-0   standard       <unset>                          9h

from charts.

oumkale avatar oumkale commented on June 12, 2024

Hi @awolde and @oniabifo,

Thank you for raising these concerns. However, we were unable to reproduce them, and it seems the issue stems from Docker on the host. Could you please take a look into below ref and let us know if you need any help?

Reference issue: docker-library/golang#467

from charts.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.