Loading

×Sorry to interrupt
This page has an error. You might just need to refresh it.
[NoErrorObjectAvailable] Uncaught ReferenceError: addCTracking is not defined
Failing descriptor: {markup://c:KM_ArticleThemeLayout}

Refresh

Cookie Preference Center

General Information on cookies

When you visit our website, we use cookies to ensure that we give you the best experience. This information does not usually directly identify you, but it can give you a more personalized web experience. Because we respect your right to privacy, you can choose not to allow some types of cookies by clicking on the different category headings to find out more and change your settings. However, blocking some types of cookies may impact your experience on the site and the services we are able to offer. Further information can be found in our

Cookie Policy.

Strictly Necessary

Strictly Necessary

Always Active

Strictly Necessary

Strictly necessary cookies are always enabled since they are essential for our website to function. They enable core functionality such as security, network management, and website accessibility. You can set your browser to block or alert you about these cookies, but this may affect how the website functions. For more information please visit www.aboutcookies.org or www.allaboutcookies.org.

Cookie Details‎

Performance

Performance

Performance

Performance cookies are used to analyze the user experience to improve our website by collecting and reporting information on how you use it. They allow us to know which pages are the most and least popular, see how visitors move around the site, optimize our website and make it easier to navigate.

Cookie Details‎

Please confirm your settings by refreshing the page.

Functional

Functional

Functional

Functional cookies help us keep track of your past browsing choices so we can improve usability and customize your experience. These cookies enable the website to remember your preferred settings, language preferences, location and other customizable elements such as font or text size. If you do not allow these cookies, then some or all of these services may not function properly.

Cookie Details‎

Advertising

Advertising

Advertising

Advertising cookies are used to send you relevant advertising and promotional information. They may be set through our site by third parties to build a profile of your interests and show you relevant advertisements on other sites. These cookies do not directly store personal information, but their function is based on uniquely identifying your browser and internet device.

Cookie Details‎

Advertising Cookies

Consent Leg.Interest

Select All Vendors

Select All Vendors

Select All Hosts

Select All

Clear Filters

Information storage and access

Apply

Confirm My Choices Reject All Allow All

My Subscriptions

Loading

Knowledge Base

An Enterprise PKS cluster is in a failed state when the ncp process is failed on a primary node (70618)

Last Updated: 7/16/2020Categories: TroubleshootingTotal Views: 2895Language:
Chinese (Simplified)JapaneseEnglish

Subscribe to get an email
newsletter with new updates

Please provide article feedback:

Symptoms

You see output similar to the following when running the monit summary command on a primary node:

Process 'kube-apiserver'            running
Process 'kube-controller-manager'   running
Process 'kube-scheduler'            running
Process 'etcd'                      running
Process 'blackbox'                  running
Process 'ncp'                       Does not exist

You see messages similar to the following in the/var/vcap/sys/log/ncp/ncp.stdout.log file:

2019-04-26T11:08:53.990Z c431a4c7-992b-4d9d-815c-375e3984a24b NSX 8550 - [nsx@6876 comp="nsx-container-ncp" subcomp="ncp" level="ERROR" errorCode="NCP00007"] nsx_ujo.common.utils NSX configuration error: [u'IP block 16fc3f03-ae64-4c7e-8031-cd560a071184 overlaps with IP space 16fc3f03-ae64-4c7e-8031-cd560a071184']
2019-04-26T11:08:53.990Z c431a4c7-992b-4d9d-815c-375e3984a24b NSX 8550 - [nsx@6876 comp="nsx-container-ncp" subcomp="ncp" level="CRITICAL" security="True" errorCode="NCP00001"] nsx_ujo.ncp.main NSX configuration validation failed

Note: The preceding log excerpts are only examples. Date, time, and environmental variables may vary depending on your environment.

Cause

This error is generated when an Owned IpBlock (container ip block) conflicts with an external block (for routable pods).

This can be validated by checking the ncp.ini file on the primary VM, per the following process:

cat /var/vcap/jobs/ncp/config/ncp.ini

Note: You will see output similar to the following:

tier0_router = 16963613-6961-4c68-987f-3bc5b9a5725f
lb_service = lb-pks-d80ed3f2-44a3-4e9c-a1ee-ae477092a6e4
no_snat_ip_blocks = 16fc3f03-ae64-4c7e-8031-cd560a071184
external_ip_pools = bbb1813b-5ee2-4c4d-a42f-c2e303fa7dca
election_profile = election-profile-pks-d80ed3f2-44a3-4e9c-a1ee-ae477092a6e4

In ncp.ini there is no entry for container ip blocks and IpBlock IP Block UUID (in the error message from the Symptoms section, the UUID is 16fc3f03-ae64-4c7e-8031-cd560a071184) is configured as no-snat block which means it is part of the external_ip_blocks.
NCP is considering IP Block UUID block as an owned IpBlock.

Resolution

Verify that the IP Block UUID block has a cluster tag on it in NSX-T manager from the Networking --> IPAM --> IP Blocks --> Overview --> Tags page.

Remove the tag in NSX-T manager and restart NCP on the primary node by issuing the following commands:

monit stop ncp
monit start ncp

Detectable by VMware SkylineTM

Actions

Copy

link to clipboard
copied!

Print

Language:
Chinese (Simplified)JapaneseEnglish

Attachments

Additional Resources

KB
•
Enterprise PKS のワーカー ノードとマスター ノードで CPU 使用率が高くなる (70608)

KB
•
End Of General Availability of the Free vSphere Hypervisor (ESXi 7.x and 8.x) (2107518)

KB
•
Enterprise PKS クラスタ内のマスター ノードが、NCP の再起動のために障害状態になる (70632)

Results 1-3 of 3

Ask The Community

Get answers quickly from VMware experts in the community

Post Subject

CONTINUE IN COMMUNITIES

Related Products:

VMware PKS

Related Versions:

VMware PKS 1.x

Take Our Survey

Support Assistant