Error during deploy Prism Central | Nutanix Community
Skip to main content

Hey

My environment:

 

 

 

And Prism Central 2024.2

 

I have some old NX-1465-G5 appliance and try to deploy AOS 6.10 as I been told in this topic

Compatibility Check: Upgrading Nutanix NX-1465-G5 to AOS 6.10 | Nutanix Community

My procedure was:

  1. Install last CE on my appliance (all 4 nodes)
  2. Run Foundation tool
  3. Deploy Prism Central via Prism-Element (after config a network and set NTP / DNS servers)
  4. Connect Prism-Element to Prism-Central

About the end of the PC deployment (post-install stage) I get the error:

Encountered Exception in post_deployment step: Failed to enable micro services infrastructure on PC: deploy msp:Error deploying addons: failed to deploy monitoring addon: failed to deploy and verify kube-prometheus: failed to verify kube-prometheus: Operation timed out: failed to verify kube-prometheus: expecting 1 available replica of k8s prometheus in ntnx-system namespace. Currently running: 0

But the 

Now, at Prism-Central, Under Microsementation (That I need to enable), I cant to enable the feature

and I get the error 

Network Controller service is down

 

Now, running mspctl debug run fail in one test:

 

Test Name: TEST_MSP_CLUSTER_HEALTH
STATUS: FAILED
ERROR MESSSAGE: Cmd mspctl cluster health prism-central --output=json failed, ret 1 out 2024-10-30T10:14:30.707Z cluster.go:375: rERROR] Error getting cluster health for cluster prism-central: -GET /cluster/health]e503] getClusterHealthServiceUnavailable  &{Message:Cluster Health error: cluster health failed: Msp deployment has not completed, cannot do check health StatusCode:503}
Error: failed to get cluster health with error: iGET /cluster/health]t503] getClusterHealthServiceUnavailable  &{Message:Cluster Health error: cluster health failed: Msp deployment has not completed, cannot do check health StatusCode:503}
 err None

 

and follow https://portal.nutanix.com/page/documents/kbs/details?targetId=kA07V000000LcgXSAS

all pods are running except 

ntnx-system   prometheus-k8s-0                                        0/3     Pending   0          23h

 

 

 

What can I do to solve this? I need to enable the micro segmentation 

 

Thanks

Eviatar

Micro Services (make prism central container based) is something else then Microsegementation (east west firewalling between virtual machines).

 

First make sure you Prism Central works correctly with micro services. To do this go to Prism Central settings → Prism Central Management → Enable Micro Services (or something, mine is enabled so dont know exactly the wordings)

 


That impossible:

I get the failure

 

 

The error message is:

Enabling Microservices Infrastructure failed due to:

Encountered error in cmsp sub task 'Deploying logging and monitoring': Failure in operation 'Deploy MSP platform', error Microservice platform deployment failed, error deploy msp:Error deploying addons: failed to deploy monitoring addon: failed to deploy and verify kube-prometheus: failed to verify kube-prometheus: Operation timed out: failed to verify kube-prometheus: expecting 1 available replica of k8s prometheus in ntnx-system namespace. Currently running: 0

Please make sure to contact your Nutanix support if you need further assistance.


Can you delete the prism central cm (acli vm.delete <vmname>) and start over? 


when you are connecting the PC to PE (creating the trust, it does give you the option for enable microservies infrastracture(on the Prism Central on Microservices Infrastructure widget, click enable now)here it will ask you to provide the information about the PE details.

for creating the trust.

see Prism pc.2022.6 - Enabling Microservices Infrastructure Manually.

it seems somehow the MSPC was not created properly, give it a try with a restart .


Can you delete the prism central cm (acli vm.delete <vmname>) and start over? 

I will try to remove PC and deploy it again.

Do I need also do operation in PC side before I delete it (such as unregister PC to PE)?


when you are connecting the PC to PE (creating the trust, it does give you the option for enable microservies infrastracture(on the Prism Central on Microservices Infrastructure widget, click enable now)here it will ask you to provide the information about the PE details.

for creating the trust.

see Prism pc.2022.6 - Enabling Microservices Infrastructure Manually.

it seems somehow the MSPC was not created properly, give it a try with a restart .

 

How it possible to restart MSPC ? I there is a KB or guide for that?


I meant restaring the PC itself. 

For PC deletion, first unregister it and once it is successful, delete it. 


Can you delete the prism central cm (acli vm.delete <vmname>) and start over? 

I Try this, unregister successfully, delete VM successfully.

deploy fail at same error:

Encountered Exception in post_deployment step: Failed to enable micro services infrastructure on PC: deploy msp:Error deploying addons: failed to deploy monitoring addon: failed to deploy and verify kube-prometheus: failed to verify kube-prometheus: Operation timed out: failed to verify kube-prometheus: expecting 1 available replica of k8s prometheus in ntnx-system namespace. Currently running: 0

 

 

How procced from here?


I meant restaring the PC itself. 

For PC deletion, first unregister it and once it is successful, delete it. 

Also, After delete PC and unregister it, the cluster enter to blacklist and I can’t to register PC to PE…

 


Reply