Reply
New Member
Posts: 27
Registered: ‎01-21-2016
Kudos: 2
Solutions: 1

EdgeSwitch upgrade failed: can't resolve host, but "ip host" defined

I am trying to use UNMS to upgrade the firmware on an EdgeSwitch (ES8-150W) from 1.8.0 to 1.8.1. This switch is on a private network, and does not have a DNS server configured. The UNMS server is on the same network, and ES and UNMS can communicate. Static entries have been defined for the UNMS hostname ("ip host unms 1.2.3.4"), but the upgrade fails with the message "upgrade from firmware version 1.8.0 to 1.8.1 has failed because of error (Couldn't resolve host 'unms')."

 

The EdgeSwitch logs contain no reference to a failed host name resolution:

%% udapi-server: Received data from /tmp/udapi-bridge-stream.sock.1004 (whole size 245 B)
%% udapi-server: Starting BG task for firmware upgrade from URL https://unms/firmwares/1546401827/my8LEhWbDuqMjTKuHEWMGQ/ubnt/eswh-1.8.1.181130.stk
%% udapi-server: Received data from /tmp/udapi-bridge-stream.sock.1004 (whole size 122 B)
%% udapi-server: Finishing BG task for firmware upgrade from URL https://unms/firmwares/1546401827/my8LEhWbDuqMjTKuHEWMGQ/ubnt/eswh-1.8.1.181130.stk
%% udapi-server: Received data from /tmp/udapi-bridge-stream.sock.1004 (whole size 117 B)

 

Any ideas on how to make the upgrade work through UNMS?

 

Copying the file manually "copy https:///..." only works when using the unms IP address, not the hostname. Could this be a EdgeSwitch bug?

Ubiquiti Employee
Posts: 3,006
Registered: ‎09-08-2017
Kudos: 1151
Solutions: 211

Re: EdgeSwitch upgrade failed: can't resolve host, but "ip host" defined

@4282674  Hello Raf. Thank you for the report. Right now it looks like a possible FW issue. We will check it and let you know. 

UBNT_Alternate_Logo.png
UNMS Support - If you want to report an issue please use this guide.

Check out our ever-evolving Help Center for answers to many common questions!

New Member
Posts: 7
Registered: ‎02-28-2015
Solutions: 1

Re: EdgeSwitch upgrade failed: can't resolve host, but "ip host" defined

Any update on this? I think I'm having the same issue.

 

I moved UNMS to a new IP and they are communicating fine, but FW upgrade fails because it references the old IP.

Ubiquiti Employee
Posts: 357
Registered: ‎05-01-2014
Kudos: 229
Solutions: 9

Re: EdgeSwitch upgrade failed: can't resolve host, but "ip host" defined

Hi @4282674

1. Could you share your config in your environment?

2. Where did you get the error (Couldn't resolve host 'unms')?

 

BR

- Ken

 

Ubiquiti Employee
Posts: 357
Registered: ‎05-01-2014
Kudos: 229
Solutions: 9

Re: EdgeSwitch upgrade failed: can't resolve host, but "ip host" defined

Hi @fossum_13,

1. Could you share the config in your environment?

2. Could you check the dns resolving with ping command?

 

BR

- Ken

Ubiquiti Employee
Posts: 3,006
Registered: ‎09-08-2017
Kudos: 1151
Solutions: 211

Re: EdgeSwitch upgrade failed: can't resolve host, but "ip host" defined

@4282674  @fossum_13  Thank you, guys. This should be fixed in the next version of FW.

UBNT_Alternate_Logo.png
UNMS Support - If you want to report an issue please use this guide.

Check out our ever-evolving Help Center for answers to many common questions!

Reply