Simple workaround: Adding a host to an empty EVC cluster fails on latest vCenter patch

This article is motivated by this VMTN thread posted by one of VMware users. I see that several users have reported this usability issue. In this post, I thought to share my understanding about this “empty EVC cluster” behavior along with simple workaround to fix this usability issue.

Update 03/20: Great news! Empty EVC cluster issue discussed in this post is fixed with latest vCenter Patches. With new vCenter patch, empty EVC cluster will NOT expose new cpuids by-default, rather it will expose cpu features based on the first host getting added into EVC cluster. For your learning, once you patch your vCenter server, I would recommend you try below script to understand the new empty EVC cluster behavior.

1. What is the issue?

Users are NOT able to add a host into an empty EVC cluster after applying latest vCenter patch, which was released as part of Hypervisor-Assisted Guest Mitigation on 9th Jan, 2018. In order to explore this further, I created a empty EVC cluster on vCenter 6.5 U1e as shown below.

You can see, I have created empty EVC cluster, where EVC mode configured is “Intel-IvyBridge”. Now I tried adding a host, where corresponding ESXi patch is NOT applied and as posted on VMTN thread, I see below error on web client.

 2. Why does it fail with this vCenter 6.5 U1e patch?

You might know that, as part of VMware patches released for Hypervisor-Assisted Guest Mitigation, there are three new cpuids got exposed i.e. cpuid.IBRS , cpuid.IBPB & cpuid.STIBP. Now we need to know whether these new cpuids are exposed by the “empty EVC cluster” that we just created but you might be wondering how to go about it? It is fairly simple to know it by using one of EVC API properties as posted in my tutorial post on EVC vSphere APIs. As part of section #4 of that tutorial i.e. “Exploring EVC Cluster state”, I had written a pyVmomi script to get the EVC cluster state i.e. getEVCClusterState.py. I little modified this script to know whether new cpuids are exposed by cluster or not. Below is the code snippet.

#Cluster object for empty EVC cluster
cluster = get_obj(content,[vim.ClusterComputeResource],cluster_name)
#EVCManager which exposes EVC APIs
evc_cluster_manager=cluster.EvcManager()

evc_state=evc_cluster_manager.evcState
current_evcmode_key= evc_state.currentEVCModeKey

if(current_evcmode_key):
        print "Current EVC Mode::"+current_evcmode_key
else:
        print "EVC is NOT enabled on the cluster"
        quit()

#getting feature capabilities available on cluster
feature_capabilities = evc_state.featureCapability

flag=False
for capability in feature_capabilities:

        if(capability.key=="cpuid.STIBP" and capability.value=="1"):
                print "Found new cpuid::"+ capability.key
                flag=True

        if(capability.key=="cpuid.IBPB" and capability.value=="1"):
                print "Found new cpuid::"+ capability.key
                flag=True

        if(capability.key=="cpuid.IBRS" and capability.value=="1"):
                print "Found new cpuid::"+ capability.key
                flag=True
if(not flag):
        print "No new cpubit found"

Once I executed above script on “empty EVC cluster” and I see output as follows

Output:
vmware@localhost:~$ python emptyEVCCluster.py
Current EVC Mode::intel-ivybridge
Found new cpuid::cpuid.IBPB
Found new cpuid::cpuid.IBRS
Found new cpuid::cpuid.STIBP
vmware@localhost:~$

Output clearly shows that new cpuids are exposed on the “empty EVC cluster” that we created on latest vCenter patch. This concludes that when you try to add a non-patched host into this cluster, it will fail since that host does NOT support these new cpuids. On the other hand, if you have applied corresponding ESXi patch (which is pulled back at the moment), then you will not face this issue as new cpuids are available on that patched host. Now that you understood this behavior, let us take a look at the simple workaround to fix this issue.

3. What is the workaround?

I understand, this is a problem from usability perspective but good news is that we have very simple workaround available i.e. Instead of upfront enabling EVC on the empty cluster, you can create non-EVC cluster first , add all possible hosts into it and finally enable EVC as per available EVC mode. If you ask me, it is always good idea to create non-EVC cluster and only after adding all possible hosts, we should finally enable EVC on cluster.

I would also recommend you to read “vMotion and EVC Information” section from VMware KB to understand EVC and vMotion behavior post applying these patches.

4. Some useful resources on EVC

1. Part-1: Managing EVC using pyVmomi
2. Part 2: Managing EVC using pyVmomi
3. Tutorial on getting started pyVmomi

I hope you enjoyed this post, let me know if you have any questions/doubts.

69 thoughts on “Simple workaround: Adding a host to an empty EVC cluster fails on latest vCenter patch

  1. Insufficient funds what is viagra soft tabs If a government shutdown is avoided, Wall Street will focusnext week on the critical September jobs report, expected onFriday. After the Federal Reserve decided to keep its stimulusefforts intact, investors will scrutinize the report for abetter sense of when the central bank may begin to reduce thesize of its bond-buying stimulus program.

  2. What are the hours of work? viagra store Backing a report by CentreForum, the think tank, Sir Ian said that “many companies, especially the private equity infrastructure funds, have paid out excessive dividends to their owners”.

  3. Could you send me an application form? how often does one take viagra While Yellen has a reputation as one of the Fed officialsmost willing to risk higher inflation to bring the jobless ratedown, her track record offers a more nuanced picture of herapproach to monetary policy.

  4. Best Site Good Work viagra dealers in mumbai Despite some uncertainty, the scheme will fuel interest from people who would otherwise struggle to raise enough cash for a deposit and “mortgage prisoners” stuck with uncompetitive deals because they don’t have enough equity to remortgage or move home.

  5. When do you want me to start? viagra canada winnipeg But when he couldn’t finish off the Bears on Thursday night − he threw a crushing interception in the last two minutes deep in Chicago territory − in a season that has gone horribly wrong, Manning displayed more raw emotion in his postgame news conference than following any loss in his 10-year career.

  6. I’ve been made redundant cost of viagra in portugal Henderson announced that all 111 D.C. traditional schools have signed up for Obama’s program, making the District the first school system in the nation to go “all in for this exciting and empowering program.”

  7. I don’t like pubs before and after using viagra video Before looking forward to Xbox One, I thought it best to get a firm grasp of exactly what level of visibility Microsoft has in the Japanese market today. Incredibly, Xbox 360 is seen as something of a hardcore import machine that is played by the minority, rather than the widely-accepted juggernaut we see here in the West. Sak said, “Core gamers love the Xbox 360. They find its underground feel attractive. I’ve bought imports through Amazon, but I’ve never seen imported Xbox 360 games in normal video game stores. Mainstream gamers don’t buy import games.

  8. Your cash is being counted when does viagra patent expire in uk The markets were quite buoyant at the start of the week, after Ben Bernanke stated publicly that it was unlikely that there would be a slowdown in the USA’s $85bn per month bond-buying program in the near future. That announcement boosted both the FTSE 100 and the Dow Jones Industrial Average, but the celebration was short-lived.

  9. I’ve been made redundant rapidtabs viagra Egypt’s military establishment will fight the Muslim Brotherhood “with ferocity and even extreme violence, if necessary,” says Nimrod Raphaeli, a senior researcher for the Middle East Media Research Institute in Washington. “It cannot afford to lose” if it’s economic empire and dominant political role is to survive, Raphaeli said.

  10. Sorry, I ran out of credit how long should i use viagra Warning politicians off criticism of UK energy stocks, he said: “Is that really what the UK wants, that infrastructure is owned by private equity from strange places around the world who you never comment on because you never know?”

  11. I sing in a choir youtube viagra prescription Director George Tillman Jr. shot “Mister & Pete” in less than a month on location in Brooklyn, including scenes at the Ingersoll housing project. Brooks gets a chance to act alongside “American Idol” winner Sparks, who plays Alice, a former neighbor of the kids who now lives in a fancy apartment her married lover sets her up in.

  12. Do you have any exams coming up? viagra how long after food “We are very aware that this is not 1977 and this isn’t the old days of the Cosmos,” said chief operating officer Erik Stover. “We think we can do something special but it needs to be built up. We can’t start at that level overnight.”

  13. How do I get an outside line? order generic viagra overnight On Wednesday, Patterson was allegedly violent again. Sioux Falls Police and EMS responded to Apt. No. 118 at 6201 South Connie Avenue for a medical emergency at 5:46 p.m. The child was unresponsive and rushed to an area hospital for treatment.

  14. Is there ? too much viagra effects Healthy after years of injury, Gay, the joint second-fastest man in history over 100 meters, had been considered a strong challenger for Jamaican world record holder Usain Bolt at the August 10-18 world championships after winning the American trials in blazing times.

  15. I live in London difference between viagra levitra and cialis “I’m delighted but not surprised,” said Kelly Brownell, dean of Sanford School of Public Policy at Duke University. “The collective effect is having an impact and turning things around … We’ve managed the plateau, we may remain there. We will have to do more to achieve a downturn.”

  16. I like watching football how long do i have to wait after taking viagra The big difference between the two cases is that while Tourre was defended by Goldman Sachs, Aleynikov was prosecuted by them: Lewis leaves the reader in no doubt that the decision to prosecute, along with all the supporting arguments, while nominally taken by the FBI, was essentially made by Goldman Sachs itself. The irony is painful: the government, acting against Goldman Sachs, could only manage a civil prosecution. But Goldman Sachs, acting through the government, managed to secure itself a highly-dubious criminal prosecution, complete with an eight-year prison sentence.

  17. Sorry, I’m busy at the moment viagra generic overnight Citing industry sources in the filing, Twitter states that mobile advertising will boom from 2012 to 2017. The filing stated that the mobile advertising market is projected to increase from $10 billion to $52.2 billion between 2012 and 2017, while the online advertising market will increase at a slower rate, growing from $91.1 billion to $124.7 billion during the same period.

  18. Could I ask who’s calling? which is more expensive viagra or cialis The Rogue brewery lives up to its name by daring to brew interesting, non-traditional beers using off-the-wall ingredients like peanut butter, banana and bacon. They even went so far as to brew a beer with a wild yeast cultivated from microbes growing in the brewmaster’s beard. So, one with juniper berries aged in spruce gin barrels almost seems tame in comparison. The pair of Johns in the name refers to the collaboration of Rogue Brewmaster John Maier and Rogue Master Distiller John Couchot, who distills Rogue Spruce Gin and then supplies the barrels in which this juniper pale ale is aged. A bit of a homegrown beer, “John John Ale” features Rogue Micro Hopyard Revolution hops and the Dare and Risk strains of barley from Rogue’s micro farms. Upon sipping, you discover an effervescent, bright piney freshness, with flavors of spruce and juniper dominating but not overpowering. The myriad ingredients used to make the spruce gin include spruce, juniper berries, ginger, fresh cucumber, orris root, orange peel, lemon peel, tangerine, grains of paradise, angelica root, coriander and grain neutral spirit, which contribute to the ale’s dry, complex, spicy finish.

  19. Children with disabilities what time should you take viagra “Overall, the earnings season isn’t too bad, but there’s alot of nervousness on the market after the 10 percent rallywe’ve just got, with very few buyers left,” said GuillaumeDumans, co-ahead of 2Bremans, a Paris-based research firm usingbehavioural finance to monitor investor sentiment.

  20. I love the theatre viagra line If we were to get married I had to get a job, and to get a job I had to finish my PhD. I therefore started working for the first time in my life and, to my surprise, I found I liked it. I applied for a research fellowship at Caius College and between 1965 and 1970 worked with two colleagues to develop a theory about the origins of the universe. Thanks partly to this work, I was elected a fellow of the Royal Society in 1974 and promoted to professor in 1977.

  21. Canada>Canada how do i get viagra off my doctor It began Sept. 23 as the regular-season’s final excursion, six games in two cities with a chance to cement their place in the postseason. It turned into a four-city ordeal that included three win-or-go-home contests across four days in three cities and two countries.

  22. Sorry, I’m busy at the moment do you need a prescription for generic viagra The Fed opted to stand pat on policy partly because itacknowledged the potential headwinds from the looming U.S.political impasse over the budget. Central bankers also remainedconcerned about the strength of the U.S. recovery, andsubsequent data has validated those concerns.

  23. I do some voluntary work how to get a prescription for viagra in canada “This is encouraging, because at least it looks like things have kind of stabilized, and at least they’re not going in the wrong direction,” Marian Huhman, who studies health communication and health campaigns at the University of Illinois at Urbana-Champaign, said.

  24. Will I get paid for overtime? viagra 25mg price in india NO AMNESTY and no pathway to US Citizenship for illegal aliens living in the United States. We need our laws enforced. Deport all illegal aliens, secure the border and fine anyone who hires an illegal alien. Common Sense would dictate that the laws would be changed to make it impossible for an illegal alien to get or keep a job in the United States. Show that if you are an illegal alien living in the United States and you will never make any money and you will leave.

  25. Have you got a telephone directory? viagra 25mg 50mg or 100mg In the sequel, King only touches on the years immediately after the explosive end to “The Shining.” Danny is now Dan and he still has the shining – an ability to see the past and future, and crawl inside other people’s heads. In Dan’s case, he’s self-medicating. He drinks to blunt his psychic powers; when he’s hammered, he doesn’t shine.

  26. I’m happy very good site how to get rid of headache after taking viagra By October 2012, when the report says Tokuda altered theminutes, the U.S. Federal Bureau of Investigation and the stategaming regulator in Nevada, where Universal has a gaminglicence, had begun to investigate the $25 million as part of $40million in payments the company made to the consultant, RodolfoSoriano.

  27. A book of First Class stamps sildamax viagra “This can be fixed,” said his manager, Terry Collins, but Collins has been around the game long enough to know that no matter how well Harvey’s recovery goes it will never be the same around him, around his starts, even if the radar gun insists otherwise, even if his stuff eventually returns.

  28. I never went to university viagra australia Ms Merkel, who is still in the process of forming a new coalition in Germany after last month’s elections, may reveal her EU treaty plans at a summit of European leaders in December. Final decisions would be taken after next May’s European Parliament elections.

  29. I’m sorry, she’s is it safe to buy viagra online in the uk Last week he had been part of the Honduras side which had drawn 2-2 with Jamaica in Kingston in order to secure the final automatic qualification place for the World Cup finals in Brazil next year and, judging by his reaction, the victory over the Dutch champions provided him with as much satisfaction.

  30. Did you go to university? viagra in johannesburg ALGIERS, Aug 14 (Reuters) – Former Algerian energy ministerChakib Khelil, wanted in connection with a suspected corruptioncase involving Algeria’s Sonatrach and Italy’s Eni,said he was ready to return home to be tried but demanded a fairhearing.

  31. I work here can i safely take 200mg of viagra A study in the Journal of Criminal Law & Criminology identified just 41 cases between 1984 and 2005 where a defendant faced a court-martial on a capital charge. Meanwhile, more than 500 people have been executed since 1982 in the civilian system in Texas, the nation’s most active death-penalty state.

  32. Punk not dead mr viagra megavideo SoftBank has the third largest market capitalisation in Japan and is set for a major windfall as Alibaba, China’s top online retailer in which it owns a 36.7 percent stake, is preparing for a stock market listing.

  33. I’m doing a phd in chemistry maximum viagra dose per day The apology came only after the article had been widely read on the magazine’s website. The article was available to Forbes’ massive readership (it had 45 million unique online visitors in January) for a number hours before the magazine became aware of the error, and the editorial was removed from its online content.

  34. Not in at the moment viagra cialis levitra for sale Brooklyn’s home opener, which follows the season opener in Cleveland, is tentatively scheduled for Nov. 1 against the Heat, a source told the Daily News. The matchup reunites new Nets Kevin Garnett and Paul Pierce with Heat guard Ray Allen.

  35. Will I be paid weekly or monthly? viagra 50mg or 100mg Hong Kong’s failure to secure the world’s largest Internet debut since Facebook means lost revenues and diminished marketing clout to attract other deals. The exchange also faces falling trading volumes and a thin IPO pipeline.

  36. Are you a student? viagra super force “He’s very worried about his safety, personal safety going forward,” said lead Zimmerman defense attorney Mark O’Mara. “Because those same people who portended the fear and hatred leading up to this trial probably are not going to accept an acquittal.”

  37. Hold the line, please viagra 100 mg 30 tablet Just as drinking and driving can be deadly, so can drinking and walking. Over a third of the pedestrians killed in 2011 had blood alcohol levels above the legal limit for driving, according to government data released Monday.

  38. I do some voluntary work different viagra brands In late August, an SPV subsidiary of Ireland-based AvolonAerospace, an aircraft lessor owned by several investorsincluding CVC Capital Partners and Oak Hill Capital Partners,priced US$636.21m in fixed-rate aircraft operating lease ABS.The issuer will use the proceeds to acquire a fleet of 20aircraft.

  39. I can’t stand football how long before you take viagra “The pipeline to Primorsk is maxed out for the moment, soPrimorsk can not increase 10ppm exports. First of all because ofthis reason, but also port capacity is maxed, so I think theywill need to invest in Primorsk or find other ports of export,”a products trader said.

  40. Have you got a current driving licence? can you take viagra with high blood pressure meds ABC News recently joined Santorum, the once and possibly future White House hopeful, for a morning-to-midnight ride-along around Iowa. What became immediately apparent is how much he loves this place: the cornfields, the Pizza Ranch buffets, the Norman Rockwell-esque main streets, the county GOP chairs who treat him like a celebrity, the couple in Oskaloosa who let him stay at their home as if he were a member of the family, and the voters who still recognize him and want to shake his hand.

  41. I’m retired viagra scarborough toronto Around thirty students had sprung up and started doing this stupid dance, all dressed in silly costumes. What’s more, the ring leader seemed to be wearing a cricket helmet too. When I looked at the accompanying footage on ‘YouTube’, I was horrified. I’d had a narrow escape.

  42. How much does the job pay? does viagra raise or lower your blood pressure Sandusky is in his fourth season as Cleveland’s director of player personnel after spending nine seasons with Philadelphia’s personnel department. He’s responsible for the evaluation of college prospects and NFL free agents. He played safety for Penn State from 1996-99.

  43. Special Delivery safe alternatives to viagra Despite the United States’ suspension of some military aid to Egypt announced Wednesday, it’s been a good week for Abdel Fattah al-Sisi, supreme commander of the Egyptian Armed Forces, Defence Minister of a temporary government and man behind the throne of Egypt’s interim presidency.

  44. Photography how long does generic viagra take to work Siemens acquired Invensys’s rail-systems business last year instead of buying the whole company which may show the German group has no interest in the assets now close to be acquired by Schneider. Invensys used the proceeds to reduce its pension deficit which had previously deterred potential bidders. Emerson Electric, another Schneider rival, is digesting its recent acquisition of Chloride.

  45. How do you know each other? how do i get a prescription for viagra online Pettitte came back for the ninth and got the first two outs on five pitches. Chris Carter then singled, bringing Girardi out of the dugout as most of the 37,199 booed the manager. “I left it up to him,” Girardi said. “He said, ‘I can finish it.’ I said, ‘Go ahead then.’ ”

  46. Remove card best online site to buy generic viagra “We have been aware for some time that there has beendiscrepancies between the testing that has been done in NewZealand and what the Sri Lankan officials believe that they havetested for. I’ve got to say that we have tremendous confidencein our testing,” Key said.

  47. I’d like to order some foreign currency health insurance covers viagra but not birth control In the U.S., two underlying economic factors drive discord among elites: First, U.S. elites have become accustomed to their incomes rising far faster than GDP growth alone can support. This requires seizing the levers of political power to redistribute income: to put it simply, incomes at the top can’t rise quickly enough without cutting taxes at the top, paid for by service cuts at the middle and the bottom. That takes political muscle. It draws ambitious people to the political fray. It elicits self-interested behavior once in office – not civic mindedness.

  48. Have you got a current driving licence? when will generic viagra be available in the united states Food is a matter of taste, habit, budget and culinary competence. We have grown out of the habit of shutting up and eating whatever is put in front of us as the first generation of NHS users would have done. Maybe the food was better then – or maybe it was just that to survivors of the 1930s and the Second World War, cheap tinned mince and slimy jelly didn’t seem so bad.

  49. What qualifications have you got? what do viagra pills look like Sunday’s protesters are targeting a government-backed bill, due to enter parliament on August 7, which proposes an amnesty for those involved in political violence since the coup that toppled Thaksin nearly seven years ago.

  50. I’ve lost my bank card viagra 25 mg tablet Others need to shop around. Patton also has a client who isa 51-year-old woman, previously on a private insurance plan for$550 per month. She has a job that pays $21,000 a year, but heremployer doesn’t offer insurance.

  51. I’d like to send this parcel to tiger viagra A spokesperson for the CQC said: “These are areas where there are a higher number of deaths than we would expect but there could be reasons for this – it is not a judgement – it is one of the indicators we use when it comes to prioritising our list of hospital inspections.”

  52. I love this site safe online pharmacy to buy viagra “In the mommy-blogging community, commenting is key,” says Smokler, who is based in Baltimore and writes Scary Mommy (www.scarymommy.com). “Find blogs which you somehow connect with and comment on them. Click on the blogs belonging to the other people commenting and comment on them. Comment anywhere and everywhere you can, linking your URL. Are you sensing a theme?”

  53. I can’t get a dialling tone natural viagra for women uk Striped bass, on the other hand, are still laying low. Around here, most anglers attribute that to the warm weather, which keeps water temps higher than the stripers prefer. So stripers aren’t taking the bait except at night when diligent anglers can still tempt them up.

Leave a Reply

Your email address will not be published.