VMware Cloud Community
makikato
Contributor
Contributor

error while upgrading VCSA 6.7 to 7.0 (Unknown host)

I am upgrading my VCSA 6.7 to 7.0 I downloaded an ISO image (licensed) and ran the executable file.

As there are 3 stages included in VCSA upgrade . First we need to deploy a new VCSA 7.0 at a different IP. 

Then in 2nd stage data will be migrated from old VCSA to new VCSA.

I have successfully deployed new VCSA 7.0 on a different IP but when I am trying to perform 2nd stage , I am getting below error:

Pre-upgrade check failed due the following problem: Error in method invocation [Errno 1] Unknown host

 

 

33 Replies
Ajay1988
Expert
Expert

That seems like the  the new VCSA 7.0 (Stage1) cannot talk to Source(old) 6.7 VC . Make sure they can communicate  (Deploy stage 1 on same ESXi as source and same port group.).

If you think your queries have been answered
Mark this response as "Correct" or "Helpful".

Regards,
AJ
Reply
0 Kudos
ajbrehm
Enthusiast
Enthusiast

Same thing is happening to me.

But this is the only place where Google finds the error message.

Restarting the upgrade in the web browser, it turns out the new vCenter simply cannot connect to anything using the same accounts and passwords that work fine on web interfaces and ssh.

 

Reply
0 Kudos
Ajay1988
Expert
Expert

What is the source  6.7 build and   destination build u r trying

If you think your queries have been answered
Mark this response as "Correct" or "Helpful".

Regards,
AJ
Reply
0 Kudos
Franz63
Contributor
Contributor

hello, same issue.

Source vcenter appliance 6.7.0.40000

Destination appliance 7.0.2.00000

thank you for your help

Reply
0 Kudos
Ajay1988
Expert
Expert

Is the source VC services up ?   R u able to login to  HTML for 6.7 U3?   

If you think your queries have been answered
Mark this response as "Correct" or "Helpful".

Regards,
AJ
Reply
0 Kudos
rnandula
VMware Employee
VMware Employee

Are you able to ping/access the old VCSA IP from the newly deployed VCSA appliance(vice-versa)?

Also, what do you see in the "/var/log/vmware/upgrade/bootstrap.log"?

Tags (1)
Reply
0 Kudos
ajbrehm
Enthusiast
Enthusiast

I don't know if this will help, but I eventually managed to upgrade.

There were lots and lots of issues though. It was less than smooth.

First, make really sure that you have easily-restorable backups of your vCenter VM. The update will go wrong  a few times!

Starting the upgrade using the installer application from Windows managed to set up the new vCenter appliance but failed to migrate the old.

Connecting to the web interface of the new appliance started the upgrade but the web interface eventually times out and there is apparently no way then to check on the status and/or the process will fail if the interface is timed out. When I got it to work it was wen I kept the interface busy so it wouldn't time out on me. This is particularly annoying.

Unfortunately I don't remember most of the things I did to make it work and how many of them were really necessary or useful and how many were rituals that I would now repeat forever without understanding if I could remember.

The key point here is, I guess, that it will eventually work. It just needs a few tries.

All-in-all VMware upgrade processes remain liquid and what is most annoying is the subtle changes in the user interface which makes it difficult to follow instructions to the letter.

Update: After I typed this and clicked "Post", the web site forwarded me to the login page. Luckily the text was then posted when I logged in. But I guess if the logon had failed, it would have been lost. Awful experience with the web forum, it really is.

Franz63
Contributor
Contributor

Thank you for you answare,

yes a can ping fram the new to the old and vice-versa,

I can access both via https and ssh

the showlog command says No log file(s) found

 

Reply
0 Kudos
Franz63
Contributor
Contributor

hello,

yes, http and ssh services running on both vcsa.

I'm logged in on both oh them.

thank you

Reply
0 Kudos
mszopiak
Contributor
Contributor

Hello,
I have the same problem with upgrade my vcenter. Both vcenter apliainace are in the same network, and on both I have access by ssh and https. Someone have ide what can I do?
I have to add that my old vcenter works with orgniala ssl certificat, I didn't change native certiciat on own certificat. pehraps it is wrong, becouse native certificate isn't trusted in web brrows



Reply
0 Kudos
steaks
Contributor
Contributor

I had this issue while trying to perform an "upgrade" to 7.0u2. Resolved it by replacing the IP Address with an FQDN for my vCenter and ESXi host in the first page of the upgrade wizard. 

mikewiltse
Contributor
Contributor

Turn on SSH

I don't know why it doesn't just say this, but SSH must be enabled on your old VC.

bbrewerNGT
Contributor
Contributor

Unknown Host typically implies a DNS resolution error. 

- Verify that vCenter's hostname is in DNS forward and reverse lookup zone.

-Verify that the ESXi host that hosts the new/old vCenter appliance is in DNS Forward and reverse lookup zone.

When I ran into this, the ESXi host was not in the forward or reverse lookup zone. Added to DNS and the verification continued.

**I'm aware this post is from earlier this year, however, my hope is it may help someone else with this issue. 

widsy0
Contributor
Contributor

I had the same problem. As suggested I reviewed PTR records for vcenter and esx hosts and found that many where missing. Once updated the upgrade went fine.

Avon
Contributor
Contributor

I had the same issue - in my case the windows DNS had all the vCenter & hosts registered OK.

However, no reverse lookup zone was present.

Adding the reverse zone for the IP range & simply refreshing the A records created the required PTR records & all proceeded normally after this.

Reply
0 Kudos
Tinto1970
Commander
Commander

I closed the wizard and restarted it by the vami, so I could change the IPs with the FQDNs and the process started.

--
Alessandro aka Tinto VCP-DCV 2023 | VVSPHT 2023 | VMCE 2024 | vExpert 2024 | Veeam Legend
please give me a "Kudo" if you find my answer useful
www.linkedin.com/in/tinivelli
my blog: https://blog.tinivelli.com
Reply
0 Kudos
BigMike23
Enthusiast
Enthusiast

I am having the same issue and thanks for your notes

JD_Virtustream
Contributor
Contributor

Same problem here. Stage 2 won't install with IP or FQDN and gives the same error you are referencing. I have SSH'd to the Stage 1 vCenter Appliance and can access 443 on the host I'm installing to as well as the 6.7 vCenter I'm upgrading. No dice and nothing in the logs to indicate why the failure is being generated. 

Reply
0 Kudos
JD_Virtustream
Contributor
Contributor

Hoping this helps someone else stumbling across this. I had to manually add a host entry in /etc/hosts for the NAT IP of the host I was deploying to. Then installation would progress. Look at the appliance management logs in /var/log/vmware/applmgmt 

That's what pointed me to name resolution. 

Reply
0 Kudos