SDDC Manager and VCF 2.3.1 – subtask status change in Zookeeper.

 Today i will focus on steps that should be taken to skip failed task and restart workflow in SDDC Manager on VxRack to complete it with SUCCESS.

Next post will be dedicated to show how resolve an issue with ‘Configure new vCenters and ESXi hosts from workload domain in vRLI’ subtask.

I encountered an issue during creation of new workload domain on SDDC Manager and VCF 2.3.1 on VxRack. Status of ‘VI Resource Pool…’ task is FAILED.

 In my case failed subtask is ‘Configure new vCenters and ESXi hosts from workload domain in vRLI’

 

First we need to find workflow’s UUID. Just click on that workflow and look at the URL.

 We will use zooviewer, a great ZooKeeper configuration viewer (You can use zkCLI.sh command instead):
https://github.com/javaquery/zooviewer/releases/download/zooviewer-0.6/zooviewer-0.6.zip

Run it and connect to SDDC Manager Controller on port 2181. Disable firewall service if needed (systemctl stop iptables).

 Now we need to find our workflow. Just go to /Workloads/Workflows/workflowUUID/tasks/FailedtaskName and click ‘stats’. And again, ‘Configure new vCenters and ESXi hosts from workload domain in vRLI’ subtask is in FAILED status

Change the status from ‘FAILED’ to ‘SUCCESSFUL’ and click ‘Update’.

There is one more think to do, namely we need to change status of next task from NEW to FAILED, otherwise workflow restart won’t work as it should. To check what task will run next just click ‘ nextTaskFixed’. In my case it’s ‘VRLI: Configure a Syslog for an NSX Manager’

Just find it on the ‘-tasks’ list and change ‘NEW’ to ‘FAILED’ and click ‘Update’.

Let’s back to SDDC Manager UI and restart workflow, wait several minutes to complete all subtasks and enjoy .



Don’t forget start iptables service again on SDDC Managaer Controller:

systemctl start iptables