Jump to content
Welcome to our new Citrix community!

CPX Container does not start up


Recommended Posts

Hi Team, 

Need your help to get the CPX container running. 

I see these errors at startup and then it hangs at this stage. Can you please let me know if i'm missing something?

 

May 19 04:43:39  nsconfigd: _dispatch(): RPC timeout
May 19 04:43:39nsconfigd: _dispatch():   Failing command: "add ca action NOOP_CA -type noop"
May 19 04:43:59  nsconfigd: _dispatch(): RPC timeout
May 19 04:43:59  nsconfigd: _dispatch():   Failing command: "add authorization action ALLOW ALLOW"
May 19 04:44:19  nsconfigd: _dispatch(): RPC timeout
May 19 04:44:19  nsconfigd: _dispatch():   Failing command: "add authorization action DENY DENY"
May 19 04:44:19 6nsconfigd: source_builtins(): Took longer than a minute to source builtins, sourcing add authorization action
May 19 04:44:39 nsconfigd: _dispatch(): RPC timeout
May 19 04:44:39nsconfigd: _dispatch():   Failing command: "add authentication loginSchema LSCHEMA_INT -authenticationSchema noschema"
 

Container started with command -

docker run -dt --privileged=true --cap-add=NET_ADMIN  --name cpx-test --ulimit core=-1 -e EULA=yes  store/citrix/netscalercpx:12.0-56.20

Link to comment
Share on other sites

Hi Swaroop,

 

Please share the complete docker logs for cpx-test container. 

This error usually comes when there is resource crunch on docker host. Can you please share the CPU and memory details of the docker host?

Please make sure that the prerequisites are met as listed here - https://docs.citrix.com/en-us/citrix-adc-cpx/12/deploy-using-docker-image-file.html

 

Thanks & Regards,

Akshay Budhauliya

Link to comment
Share on other sites

Hi Akshay,

 

Thank your response. Please fnd infos below and logs attached.

Also  the docker host is not a physical machine. It a VDI.

If only Ubuntu Docker host is supported, then that is also an issue in my case. Since i tried running it on CentOS.

 

CPU


Architecture:          x86_64
CPU op-mode(s):        32-bit, 64-bit
Byte Order:            Little Endian
CPU(s):                8
On-line CPU(s) list:   0-7
Thread(s) per core:    1
Core(s) per socket:    2
Socket(s):             4
NUMA node(s):          1
Vendor ID:             GenuineIntel
CPU family:            15
Model:                 6
Model name:            Intel(R) Xeon(R) CPU E5-2680 v4 @ 2.40GHz
Stepping:              1
CPU MHz:               2394.454
BogoMIPS:              4788.90
Hypervisor vendor:     KVM
Virtualization type:   full
L1d cache:             32K
L1i cache:             32K
L2 cache:              4096K
L3 cache:              16384K
NUMA node0 CPU(s):     0-7

 

top - 14:50:30 up  5:27,  2 users,  load average: 0.75, 0.60, 0.44
Tasks: 399 total,   1 running, 398 sleeping,   0 stopped,   0 zombie
%Cpu(s):  2.6 us,  0.8 sy,  0.0 ni, 96.5 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
KiB Mem : 16230344 total,  4070076 free,  7111852 used,  5048416 buff/cache
KiB Swap: 10485756 total, 10485756 free,        0 used.  7808636 avail Memcontainer.log

Link to comment
Share on other sites

Hi Swaroop,

 

Thanks for sharing the logs and machine details. From the information you shared, the prerequisites are being met wrt CPU and memory. Please make sure that the hypervisor is not overloaded so that CPX processes can get sufficient CPU cycles. 

 

Can you please share the distro and kernel version running on your VDI?

 

Can you please execute this command inside CPX's shell to collect tech-support information and share the output archive file -

/netscaler/showtechsupport.pl

 

Above command will generate an archive file which will collect the necessary information to debug this issue. Please note that scp'ing the archive file to docker host won't work since CPX is stuck at boot. So please use 'docker cp' command to copy the archive file from CPX filesystem to docker host's filesystem.

 

Thanks & Regards,

Akshay Budhauliya

Link to comment
Share on other sites

Hi Akshay,

 

here is the distro information. The hyper-v is not overloaded.

NAME="CentOS Linux"
VERSION="7 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="7"
PRETTY_NAME="CentOS Linux 7 (Core)"
CPE_NAME="cpe:/o:centos:centos:7"
BUG_REPORT_URL="https://bugs.centos.org/"

CENTOS_MANTISBT_PROJECT="CentOS-7"
CENTOS_MANTISBT_PROJECT_VERSION="7"
REDHAT_SUPPORT_PRODUCT="centos"
REDHAT_SUPPORT_PRODUCT_VERSION="7"

 

I tried running the script you mentioned. But it is stuck as well.

 

root@9a734d83211a:/netscaler# ./showtechsupport.pl

showtechsupport data collector tool - $Revision: #1 $!
Creating /var/tmp/support ....
Copying selected configuration files ....
sysctl: cannot stat /proc/sys/netscaler/sysid: No such file or directory
sysctl: cannot stat /proc/sys/netscaler/num_pe_running: No such file or directory
Running shell commands ....
grep: /var/nslog/dmesg.boot: No such file or directory
Running CLI show commands ....

 

Link to comment
Share on other sites

Hi Swaroop,

 

Thanks for sharing the information related to distro.

There is a known issue with store/citrix/netscalercpx:12.0-56.20 on CentOS-7. Please use the latest version of CPX from quay registry. You can use the following to spin up latest released version of CPX - 

docker run -dt --privileged=true --cap-add=NET_ADMIN --name cpx-test --ulimit core=-1 -e EULA=yes quay.io/citrix/citrix-k8s-cpx-ingress:13.0-52.24

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...