Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RFE: Request for multiple url to be configured in global ztpserver.conf file #365

Open
shravya-k opened this issue Sep 27, 2018 · 0 comments

Comments

@shravya-k
Copy link

In a situation where new switches need to be provisioned are behind NAT rules during the execution of the bootstrap script the new connections needed to fetch the config file might break in a situation where the ztpservers requests are NATing on the way.

Giving optional urls to failover when the 1st url does not work is one way to solve the problem.

Following are certain logs when a new Arista devices are provisioned and the requests undergo a destination NAT from 172.18.254.120 ----> 10.58.76.198.

Sep 7 03:56:09 localhost ZeroTouch: %ZTP-5-DHCP_SUCCESS: DHCP response received on Management1 [ Ip Address: 172.18.254.120/25; Gateway: 172.18.254.124; Boot File: http://172.18.110.169:8080/bootstrap ]

Sep 7 03:56:14 localhost ZeroTouch: %ZTP-5-CONFIG_DOWNLOAD: Attempting to download the startup-config from http://172.18.110.169:8080/bootstrap

Sep 7 03:56:14 localhost ZeroTouch: %ZTP-5-CONFIG_DOWNLOAD_SUCCESS: Successfully downloaded config script from http://172.18.110.169:8080/bootstrap

Sep 7 03:56:14 localhost ZeroTouch: %ZTP-5-EXEC_SCRIPT: Executing the downloaded config script

Sep 7 03:56:18 localhost ZeroTouch: %ZTP-4-EXEC_SCRIPT_FAIL: Config script exited with an error.
Error code: 1. Output: SyslogManager: adding localhost handler. Retrieving config from server. GET http://10.58.76.198:8080/bootstrap/config. ERROR: Bootstrap process failed:. server connection error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant