I have been doing some testing lately with vCloud Director 1.5.1 & working with blocking tasks was one of them. I have configured blocking tasks for “Instantiate vApp from Template”, so the task of deploying a vApp will be blocked and I get to approve it before continuing as shown in the below screen shot.
Although when ever I tested to deploy a vAPP the vAPP deployment was blocked and give a “pending processing” status as expected and showing in the screen shot below, I could not see the task anywhere under my blocking tasks.
Below is a screen shot of my blocking tasks which is oddly did not show up any pending tasks, although I am sure I had one in there as you can see from the above screenshot.
This is was kinda shocking to me at first, as I knew this was showing earlier in vCloud Director 1.5 at my home lab. After communicating to few colleagues in VMware, I have discovered that vCloud Director 1.5.1 is having this kinda of behavior when initiating the task as a system admin user. Its important to note though that it work just fine if you initiate your actions as an Org admin or user. What this means in the scenario above is that if I am in the system admin portal and deploy a vAPP my blocking tasks tab will not show any blocking tasks. On the other hand, if I login to any Organization within my vCloud Director as an Org user/admin and deploy a vAPP that is getting registered correctly in my blocking tasks. This is seems to be like a small bug with vCloud Director 1.5.1 and does not seems to me as the intended behavior and will probably be fixed with the next update. On the other hand, its good to keep this in mind as blocking tasks initiated by the vCloud Director System Admin will stuck in the pending state till their time out expire without any way to cancel it in the GUI, though you still can cancel it through API calls or wait for the timeout to expire and the task will execute the default action setup under settings in your Blocking Tasks section.
Hope this help explain this vCD Blocking Tasks behavior to other folks hitting the same frustration, & help others avoid having too many pending tasks without being able to cancel it but by using API calls.
Be Sociable, Share!