I have been mesing about with the recovery stuff, and noted a few things. I was able to get around these issues, so I don’t need help addressing them. This is just feedback around error handling with the appstore-host
.
When running appstore-list
on one host, it failed due to the time of the host being incorrect.
$ appstore-list
Lists not downloaded, will attempt to download
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
curl: (35) SSL_connect failed with error -150: ASN date error, current date before
registry |appliance id |description
----------------|--------------------------------|--------------------------------
* = uses fixup manipulator to work on this platform
P = provisioner manipulator available
Another is when you forgot to set-wan
$ appstore-list
Lists not downloaded, will attempt to download
curl: (6) Could not resolve host: archive.traverse.com.au
registry |appliance id |description
----------------|--------------------------------|--------------------------------
* = uses fixup manipulator to work on this platform
P = provisioner manipulator available
The script probably isn’t checking errors as it still attempts shows information. Perhaps the command should fail and not display the following when it fails:
registry |appliance id |description
----------------|--------------------------------|--------------------------------
* = uses fixup manipulator to work on this platform
P = provisioner manipulator available
I’d be happy to look at the script, and contribute fixes if you could share where it’s located and how to test it on one of my hosts.