Solved

Ansible K8s cluster deployment failed to deploy the ntnx dvp

  • 15 November 2022
  • 1 reply
  • 199 views

Userlevel 1
Badge +3

Hi guys,

Currently working on Ansible  to deploy K8s clusters through Karbon and i got a fatal issue.

Ansible is version core 2.12.9, PC is 2022.1, nutanix.ncp collection has been tested in version 1.6.0 and 1.7.0 and there’s absolutely no traffic denied between ansible and PC (to sum up, everything is opened).

 

I use this playbook, based on example provided in ansible-doc (i also tried the example, and i got the same errors in any cases)

 

###EDIT : i can’t add code in this post, got a banner Something gone wrong everytime ###

 

Here’s the logs when the playbook fails (after ~5min running, from PC, ETCD deployment get stuck at 8%) : 

 

###EDIT : i can’t add code in this post, got a banner Something gone wrong everytime ###

Moreover, K8s cluster deployment through PC GUI is working smoothly.

 

Does anyone got an idea to fix the “failed to deploy ntnx dvp” error ? 

 

Thanks a lot :) 

 

Gael

icon

Best answer by gael01 6 December 2022, 08:47

View original

This topic has been closed for comments

1 reply

Userlevel 1
Badge +3

Well here’s the solution, even though the error message wasn’t really clear to me, it seems that the

storage_class:  block needed Prism Element credentials rather than Prism Central.

 

According to french support team, it may change in a future release but at the moment, just let use PE credentials and everything runs smoothly.