Loading

×Sorry to interrupt
Uncaught ReferenceError: addCTracking is not defined
throws at https://kb.vmware.com/resource/KM_TealiumTrackingJS?v=0.5:100:1

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

Creating an NSX-T Workload Domain fails when configuring the backup schedule in VMware Cloud Foundation. (70602)

Last Updated: 11/18/2019Categories: TroubleshootingTotal Views: 5851Language:
English

2 like this article

Subscribe to get an email
newsletter with new updates

2 people found this helpful Please provide article feedback:

Symptoms

Messages similar to the following are seen:

Failed to configure backup schedule for NSX-T Manager - nsxt-vip.domain.corp.local

Message: InvalidRequest (com.vmware.vapi.std.errors.invalid_request) => { messages = [], data = struct => {error_message=Field level validation errors: {passphrase is too week. It must be at least 8 characters long and contain at least one each: lowercase, uppercase, numeric character and special character.}, httpStatus=BAD_REQUEST, details=Field level validation errors: {passphrase is too week. It must be at least 8 characters long and contain at least one each: lowercase, uppercase, numeric character and special character.}, error_code=255, module_name=common-services} }

Cause

NSX-T password policy requires that that the backup credentials meet the following requirements:

Must be at least 8 characters in length.

Contain at least one each: lowercase, uppercase, numeric character and special character.

Resolution

To ensure that all backup tasks for NSX-T are taken successfully, validate that all passwords meet the password policy requirements mentioned above.

Workaround

Before proceeding, please ensure that all NSX backup schedules are turned off on all existing Workload Domains, including the Management domain.

For Cloud Foundation 3.7.x
This workaround will be changing the password for the FTP backup user so that it will meet the requirements of NSX-T password policy.

Open an SSH to SDDC Manager VM and change to the root user.

su -

Run the following command to update the backup user password:

passwd backup

Note: Make sure to meet password policy requirement in choosing new password.

Run the following command on the SDDC Manager:

curl http://localhost/css/credentials/ | json_pp

Find and note down the "id" where "credentialType" equals FTP.

Using the below command, update the FTP password:

curl -X PUT -H “Content-Type:application/json” http://localhost/css/credentials/{credential-id} -d “{new-password}”

In the SDDC Manager UI, navigate to the failed task. Note the Workflow ID.

Get the Workflow Spec information by running the below command using the Workflow ID from Step 6.

curl -s http://localhost/domainmanager/internal/vault/{workflow-id} | json_pp > /tmp/workflow.json

Open the /tmp/workflow.json file:

vi /tmp/workflow.json

Update 'passphrase' and 'password' value to the new password.

"backupScheduleConfiguration" : [
"com.vmware.evo.sddc.common.plugin.model.contract.nsxt.NsxtBackupConfiguration",

{

"backupFileServer" : [       "com.vmware.evo.sddc.common.plugin.model.contract.nsxt.NsxtBackupFileServer",

{
"port" : 22,
"username" : "backup",
"directoryPath" : "/nfs/vmware/vcf/nfs-mount/backup",
"server" : "172.18.63.5",
"sshFingerprint" : null,
"password" : "VMware123!"       <------------------ change here
}
],
"backupEnabled" : true,
"secondsBetweenBackups" : 3600,
"passphrase" : "VMware123!"           <------------------ change here
}
],

Save and exit the file by pressing ESC and then typing :wq.

Update Workflow Spec by passing the edited json file with the new password using the below command:

curl -H 'Content-Type:text/plain' -X PUT http://localhost/domainmanager/internal/vault/{workflow-id} -d @/tmp/workflow.json

Navigate to the failed add VI workflow and restart the task.

For Cloud Foundation 3.8.1

Open an SSH to SDDC Manager VM and change to the root user.

su -

Run the following command to rotate the password:

curl 'https://sddc-manager.vcf.corp.local' -i -u -k 'admin:admin_Password' -X PATCH -H 'Accept: application/json' -H 'Content-Type: application/json' -H 'privileged-password:secure_user_password' -H 'privileged-username: [email-masked]' -d '{
"operationType" : "ROTATE",
"elements" : [ {
"resourceName" : "sddc-manager.vcf.corp.local",
"resourceType" : "BACKUP",
"credentials" : [ {
"credentialType" : "FTP",
"username" : "backup"
} ]
} ]
}

Run the lookup_password command to return the new password:

lookup_passwords -u [email-masked] -p {vcf-secure-user_password} -e BACKUP

In the SDDC Manager UI, navigate to the failed task. Note the Workflow ID.

Get the Workflow Spec information by running the below command using the Workflow ID from Step 6.

curl -s http://localhost/domainmanager/internal/vault/{workflow-id} | json_pp > /tmp/workflow.json

Open the /tmp/workflow.json file:

vi /tmp/workflow.json

Update 'passphrase' and 'password' value to the new password.

"backupScheduleConfiguration" : [
"com.vmware.evo.sddc.common.plugin.model.contract.nsxt.NsxtBackupConfiguration",

{

"backupFileServer" : [       "com.vmware.evo.sddc.common.plugin.model.contract.nsxt.NsxtBackupFileServer",

{
"port" : 22,
"username" : "backup",
"directoryPath" : "/nfs/vmware/vcf/nfs-mount/backup",
"server" : "172.18.63.5",
"sshFingerprint" : null,
"password" : "VMware123!"       <------------------ change here
}
],
"backupEnabled" : true,
"secondsBetweenBackups" : 3600,
"passphrase" : "VMware123!"           <------------------ change here
}
],

Save and exit the file by pressing ESC and then typing :wq.

Update Workflow Spec by passing the edited json file with the new password using the below command:

curl -H 'Content-Type:text/plain' -X PUT http://localhost/domainmanager/internal/vault/{workflow-id} -d @/tmp/workflow.json

Navigate to the failed add VI workflow and restart the task.

Important: Post completion of the workaround, reconfigure all NSX backups for existing workload domains , this includes the Management NSX manager backups through the NSX manager management console with changed password & ON the backup schedule.

Detectable by VMware SkylineTM

Actions

Copy

link to clipboard
copied!

Print

Language:
English

Attachments

Additional Resources

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

KB
•
计算新 VMware 许可策略下所需的 CPU 许可证 (77098)

KB
•
Download and Install VMware Fusion (2014097)

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 Cloud Foundation

Related Versions:

VMware Cloud Foundation 3.7.x

Take Our Survey

Support Assistant