While enabling the Microservices Infrastructure (CMSP) on Nutanix Prism Central, the deployment failed during the post-deployment prechecks with an error indicating that Prism Central was not compatible to enable Microservices Infrastructure.
๐ก ๐ฅ๐ผ๐ผ๐ ๐๐ฎ๐๐๐ฒ ๐๐ป๐ฎ๐น๐๐๐ถ๐:
- When CMSP is enabled, Prism Central deploys an internal Kubernetes-based platform to host Nutanix microservices.
- For CMSP deployment on Prism Central, the CMSP internal services use the following default networks:
ย --> ๐ฃ๐ซ๐ค.๐ฃ๐จ๐ช.๐ง.๐ข/๐ค๐ฆ - ๐๐ถ๐ฃ๐ฆ๐ณ๐ฏ๐ฆ๐ต๐ฆ๐ด ๐ช๐ฏ๐ง๐ณ๐ข๐ด๐ต๐ณ๐ถ๐ค๐ต๐ถ๐ณ๐ฆ ๐ฏ๐ฆ๐ต๐ธ๐ฐ๐ณ๐ฌ
ย --> ๐ฃ๐ข.๐ฃ๐ข๐ข.๐ข.๐ข/๐ฃ๐จย - ๐๐ถ๐ฃ๐ฆ๐ณ๐ฏ๐ฆ๐ต๐ฆ๐ด ๐ฑ๐ฐ๐ฅ ๐ฏ๐ฆ๐ต๐ธ๐ฐ๐ณ๐ฌ
ย --> ๐ฃ๐ข.๐ค๐ข๐ข.๐ฅ๐ค.๐ข/๐ค๐ฆ - ๐๐ถ๐ฃ๐ฆ๐ณ๐ฏ๐ฆ๐ต๐ฆ๐ด ๐ด๐ฆ๐ณ๐ท๐ช๐ค๐ฆ๐ด ๐ฏ๐ฆ๐ต๐ธ๐ฐ๐ณ๐ฌ
- The upstream network environment cannot overlap with these networks.ย
- Since Kubernetes cannot differentiate between internal container traffic and the production management network, the CMSP prechecks intentionally block the deployment to prevent routing conflicts.
๐ง ๐ฆ๐ผ๐น๐๐๐ถ๐ผ๐ป:
- If the environment requires using these subnet ranges in the upstream network, you must change the CMSP internal network ranges prior to deploying Prism Central.
- Since the deployment had already failed, the first step was cleaning the incomplete CMSP deployment then configure the custom Pod and Service CIDRs
==
1๏ธโฃ SSH PCVM & Clean up the failed deployment:
๐ฑ๐บ๐ต๐ฉ๐ฐ๐ฏ /๐ฉ๐ฐ๐ฎ๐ฆ/๐ฅ๐ฐ๐ค๐ฌ๐ฆ๐ณ/๐ฎ๐ด๐ฑ_๐ค๐ฐ๐ฏ๐ต๐ณ๐ฐ๐ญ๐ญ๐ฆ๐ณ/๐ฃ๐ฐ๐ฐ๐ต๐ด๐ต๐ณ๐ข๐ฑ/๐ฎ๐ด๐ฑ_๐ต๐ฐ๐ฐ๐ญ๐ด/๐ค๐ฎ๐ด๐ฑ-๐ด๐ค๐ณ๐ช๐ฑ๐ต๐ด/๐ค๐ฎ๐ด๐ฑ-๐ค๐ญ๐ฆ๐ข๐ฏ๐ถ๐ฑ.๐ฑ๐บ --๐ง๐ฐ๐ณ๐ค๐ฆ
|
2๏ธโฃ Configure new CMSP networks:
* Edit the Genesis gflags:
~/๐ด๐ฆ๐ณ๐ท๐ช๐ค๐ฆ๐ข๐ฃ๐ช๐ญ๐ช๐ต๐บ/๐ฃ๐ช๐ฏ/๐ฆ๐ฅ๐ช๐ต-๐ข๐ฐ๐ด-๐จ๐ง๐ญ๐ข๐จ๐ด --๐ด๐ฆ๐ณ๐ท๐ช๐ค๐ฆ=๐จ๐ฆ๐ฏ๐ฆ๐ด๐ช๐ด
* Update the default networks to unused subnets, for example:
--๐ค๐ฎ๐ด๐ฑ_๐ฑ๐ฐ๐ฅ_๐ฏ๐ฆ๐ต๐ธ๐ฐ๐ณ๐ฌ=๐ฃ๐ฉ๐ค.๐ฃ๐จ.๐ข.๐ข/๐ฃ๐จ
--๐ค๐ฎ๐ด๐ฑ_๐ด๐ฆ๐ณ๐ท๐ช๐ค๐ฆ_๐ช๐ฑ_๐ฏ๐ฆ๐ต๐ธ๐ฐ๐ณ๐ฌ=๐ฃ๐ฉ๐ค.๐ฃ๐ฉ.๐ฅ๐ค.๐ข/๐ค๐ฆ
|
3๏ธโฃ Restart Genesis:
๐จ๐ฆ๐ฏ๐ฆ๐ด๐ช๐ด ๐ณ๐ฆ๐ด๐ต๐ข๐ณ๐ต
|
4๏ธโฃ Re-deploy CMSP again:
๐ค๐ฅ /๐ฉ๐ฐ๐ฎ๐ฆ/๐ฅ๐ฐ๐ค๐ฌ๐ฆ๐ณ/๐ฎ๐ด๐ฑ_๐ค๐ฐ๐ฏ๐ต๐ณ๐ฐ๐ญ๐ญ๐ฆ๐ณ/๐ฃ๐ฐ๐ฐ๐ต๐ด๐ต๐ณ๐ข๐ฑ/๐ฎ๐ด๐ฑ_๐ต๐ฐ๐ฐ๐ญ๐ด/๐ค๐ฎ๐ด๐ฑ-๐ด๐ค๐ณ๐ช๐ฑ๐ต๐ด/
Then
๐ฑ๐บ๐ต๐ฉ๐ฐ๐ฏ ๐ค๐ฎ๐ด๐ฑ-๐ฆ๐ฏ๐ข๐ฃ๐ญ๐ฆ.๐ฑ๐บ
|
5๏ธโฃ Monitor the deployment progress:
* Check the infrastructure tasks
๐ฆ๐ค๐ญ๐ช ๐ต๐ข๐ด๐ฌ.๐ญ๐ช๐ด๐ต ๐ค๐ฐ๐ฎ๐ฑ๐ฐ๐ฏ๐ฆ๐ฏ๐ต_๐ญ๐ช๐ด๐ต=๐ช๐ฏ๐ง๐ณ๐ข
Or
* Monitor the CMSP deployment pipeline
๐ฎ๐ด๐ฑ๐ค๐ต๐ญ ๐ต๐ข๐ด๐ฌ ๐ญ๐ช๐ด๐ต
ย

ย
