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

<junos_install_config> "exceptions.ValueError " Error when using overwrite with set file. #19

Closed
mamathac opened this issue May 31, 2014 · 3 comments

Comments

@mamathac
Copy link

regress@vm-nomadic-ubuntu:/usr/local/junos/log$ tail -f config.log
2014-05-30 09:14:48,197:CONFIG:triplane:connecting to host: regress@triplane
2014-05-30 09:14:55,017:CONFIG:triplane:pushing file: /usr/local/junos/config/only_policy.set
2014-05-30 09:14:55,017:CONFIG:triplane:taking lock
2014-05-30 09:14:55,081:CONFIG:triplane:loading config
2014-05-30 09:14:55,762:CONFIG:triplane:committing change, please be patient
2014-05-30 09:15:06,353:CONFIG:triplane:unlocking
2014-05-30 09:15:06,468:CONFIG:triplane:change completed
2014-05-30 09:18:24,603:CONFIG:triplane:connecting to host: regress@triplane
2014-05-30 09:18:30,883:CONFIG:triplane:pushing file: /usr/local/junos/config/triplane_noprotect.set
2014-05-30 09:18:30,883:CONFIG:triplane:taking lock
2014-05-30 09:18:30,998:CONFIG:triplane:loading config
2014-05-30 09:18:30,998:CONFIG:triplane:'exceptions.ValueError' object has no attribute 'rsp'

Via Juniper/py-junos-eznc#232

@mamathac
Copy link
Author

Not getting rsp exception. Unable to change config error appears.
Can a better message as overwrite with this config file is not supported?

@mamathac
Copy link
Author

REMOTE_MODULE junos_install_config host=asthra user='regress' passwd='passwd' file=/usr/local/junos/config/only_policy.set timeout=300 overwrite='yes' logfile=/usr/local/junos/log/config.log
failed: [asthra] => {"changed": false, "failed": true, "file": "/usr/local/junos/config/only_policy.set"}
msg: Unable to make changes

FATAL: all hosts have already failed -- aborting

PLAY RECAP ********************************************************************

@jeremyschulman
Copy link
Contributor

closing per @mamathac

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

2 participants