Comments (5)
regress@richie> show version
Hostname: richie
Model: m120
Manual test result:
Configuration not compatible with image error on device.
regress@richie> request system software add jinstall-11.4R10.1-domestic-signed.tgz
NOTICE: Validating configuration against jinstall-11.4R10.1-domestic-signed.tgz.
NOTICE: Use the 'no-validate' option to skip this if desired.
Checking compatibility with configuration
Initializing...
Using jbase-12.1R8
~
~
/config/rescue.conf.gz:376:(37) syntax error at 'persist-groups-inheritance'
[edit system commit]
'commit persist-groups-inheritance;'
syntax error
[edit system]
'commit'
warning: statement has no contents; ignored
Validation failed
WARNING: Current configuration not compatible with /var/home/regress/jinstall-11.4R10.1-domestic-signed.tgz
from ansible-junos-stdlib.
From the logs:
2014-04-28 16:46:47,892:richie:Starting the software upgrade process: /var/tmp/jinstall-11.4R10.1-domestic-signed.tgz
2014-04-28 16:46:47,892:richie:computing local checksum on: /var/tmp/jinstall-11.4R10.1-domestic-signed.tgz
2014-04-28 16:46:48,984:richie:cleaning filesystem ...
2014-04-28 16:47:01,479:paramiko.transport:starting thread (client mode): 0x9c6e10cL
2014-04-28 16:47:01,511:paramiko.transport:Connected (version 2.0, client OpenSSH_5.9)
2014-04-28 16:47:01,525:paramiko.transport:kex algos:[u'ecdh-sha2-nistp256', u'ecdh-sha2-nistp384', u'ecdh-sha2-nistp521', u'diffie-hellman-group-exchange-sha256', u'diffie-hellman-group-exchange-sha1', u'diffie-hellman-group14-sha1', u'diffie-hellman-group1-sha1'] server key:[u'ssh-rsa', u'ssh-dss', u'ecdsa-sha2-nistp256'] client encrypt:[u'aes128-ctr', u'aes192-ctr', u'aes256-ctr', u'arcfour256', u'arcfour128', u'aes128-cbc', u'3des-cbc', u'blowfish-cbc', u'cast128-cbc', u'aes192-cbc', u'aes256-cbc', u'arcfour', u'[email protected]'] server encrypt:[u'aes128-ctr', u'aes192-ctr', u'aes256-ctr', u'arcfour256', u'arcfour128', u'aes128-cbc', u'3des-cbc', u'blowfish-cbc', u'cast128-cbc', u'aes192-cbc', u'aes256-cbc', u'arcfour', u'[email protected]'] client mac:[u'hmac-md5', u'hmac-sha1', u'[email protected]', u'hmac-sha2-256', u'hmac-sha2-256-96', u'hmac-sha2-512', u'hmac-sha2-512-96', u'hmac-ripemd160', u'[email protected]', u'hmac-sha1-96', u'hmac-md5-96'] server mac:[u'hmac-md5', u'hmac-sha1', u'[email protected]', u'hmac-sha2-256', u'hmac-sha2-256-96', u'hmac-sha2-512', u'hmac-sha2-512-96', u'hmac-ripemd160', u'[email protected]', u'hmac-sha1-96', u'hmac-md5-96'] client compress:[u'none', u'[email protected]'] server compress:[u'none', u'[email protected]'] client lang:[u''] server lang:[u''] kex follows?False
2014-04-28 16:47:01,525:paramiko.transport:Ciphers agreed: local=aes128-ctr, remote=aes128-ctr
2014-04-28 16:47:01,525:paramiko.transport:using kex diffie-hellman-group1-sha1; server key type ssh-rsa; cipher: local aes128-ctr, remote aes128-ctr; mac: local hmac-sha1, remote hmac-sha1; compression: local none, remote none
2014-04-28 16:47:01,677:paramiko.transport:Switch to new keys ...
2014-04-28 16:47:01,679:paramiko.transport:Adding ssh-rsa host key for richie: d8f763f039d603350d21f70e06e5c76b
2014-04-28 16:47:01,681:paramiko.transport:Trying discovered key 97fdf2252faec2370d209d7cc02d2095 in /home/regress/.ssh/id_rsa
2014-04-28 16:47:01,777:paramiko.transport:userauth is OK
2014-04-28 16:47:01,812:paramiko.transport:Authentication (publickey) successful!
2014-04-28 16:47:01,820:paramiko.transport:[chan 1] Max packet in: 34816 bytes
2014-04-28 16:47:01,821:paramiko.transport:[chan 1] Max packet out: 32768 bytes
2014-04-28 16:47:01,821:paramiko.transport:Secsh channel 1 opened.
2014-04-28 16:47:01,823:paramiko.transport:[chan 1] Sesch channel 1 request ok
2014-04-28 16:47:09,030:richie:jinstall-11.4R10.1-domestic-signed.tgz: 42188800 / 421774322 (10%)
2014-04-28 16:47:15,869:richie:jinstall-11.4R10.1-domestic-signed.tgz: 84361216 / 421774322 (20%)
2014-04-28 16:47:22,704:richie:jinstall-11.4R10.1-domestic-signed.tgz: 126533632 / 421774322 (30%)
2014-04-28 16:47:29,662:richie:jinstall-11.4R10.1-domestic-signed.tgz: 168722432 / 421774322 (40%)
2014-04-28 16:47:36,487:richie:jinstall-11.4R10.1-domestic-signed.tgz: 210894848 / 421774322 (50%)
2014-04-28 16:47:43,343:richie:jinstall-11.4R10.1-domestic-signed.tgz: 253067264 / 421774322 (60%)
2014-04-28 16:47:51,695:richie:jinstall-11.4R10.1-domestic-signed.tgz: 295256064 / 421774322 (70%)
2014-04-28 16:47:59,630:richie:jinstall-11.4R10.1-domestic-signed.tgz: 337428480 / 421774322 (80%)
2014-04-28 16:48:06,497:richie:jinstall-11.4R10.1-domestic-signed.tgz: 379600896 / 421774322 (90%)
2014-04-28 16:48:13,373:richie:jinstall-11.4R10.1-domestic-signed.tgz: 421774322 / 421774322 (100%)
2014-04-28 16:48:13,487:paramiko.transport:[chan 1] EOF sent (1)
2014-04-28 16:48:13,490:paramiko.transport:EOF in transport thread
2014-04-28 16:48:13,491:richie:computing remote checksum on: /var/tmp/jinstall-11.4R10.1-domestic-signed.tgz
2014-04-28 16:48:20,271:richie:checksum check passed.
2014-04-28 16:48:20,271:richie:Unable to install the software
2014-04-28 16:48:20,386:richie:pausing: 10
2014-04-28 16:48:30,396:richie:process completed OK.
from ansible-junos-stdlib.
OK, it appears that we need to trap the occurrence of a software upgrade validation failure. Thank you for this report.
from ansible-junos-stdlib.
closing; this should also been fixed as a result of other issue #9
from ansible-junos-stdlib.
Issue resolved:
Verified with an incorrect image;
failed: [asthra] => {"changed": true, "check_mode": false, "failed": true, "ver": {"has": "12.1X44-D10", "should": "13.2R4.6"}}
msg: Unable to install the software: WARNING: Package jinstall-ex-4200-13.2R4.6-domestic-signed is not compatible with this system.
WARNING: Please install a supported package (junos-juniper-*.tgz).
FATAL: all hosts have already failed -- aborting
PLAY RECAP ********************************************************************
to retry, use: --limit @/home/regress/softwr.retry
asthra : ok=1 changed=0 unreachable=0 failed=1
from ansible-junos-stdlib.
Related Issues (20)
- Current implementation doesn't handle multi member stacks where versions of members are inconsistent HOT 8
- Ansible SSH connection fails with Authentication Error if I connected to target via host jump HOT 2
- RPC "get-system-core-dumps" with formats "text" only prints the first line of rpc-reply HOT 4
- juniper.device.config module with set system login message " " with "," separated text message replaces "," with newline HOT 2
- Get facts and printing them results in invalid or malformed argument Error HOT 2
- Executing RPC with filters returns The error was: AttributeError: 'JuniperJunosModule' object has no attribute '_check_type_dict' HOT 3
- Address readthedocs upcoming changes HOT 3
- Ansible RPC error with junipe.device.rpc module HOT 2
- ansible-lint violation: missing required arguments: _inventory_hostname, _module_name, _module_utils_path (warning) HOT 2
- juniper.device.software - Software is downloaded for each RE when using remote_package HOT 8
- Feature Request: Add option to not discard uncommitted changes HOT 2
- PyEZ connection fails when ~/.ssh/config has a IdentityFile option for target hosts HOT 4
- sphinx-build -b html . _build/html/ fails with AttributeError: 'Sphinx' object has no attribute 'add_stylesheet' with sphinx 7.2.6 HOT 2
- Random diff on juniper SRX device HOT 1
- Update README to clarify the status of collections vs roles HOT 1
- Update tests to cover all modules, when using pyez connection plugin HOT 1
- All modules fail since Ansible 2.15.9 or >=2.16.3 ("missing required arguments") HOT 9
- Juniper's galaxy module download fails. HOT 1
- juniper.device.config always performs a commit confirmed operation HOT 13
- juniper.device.config does not transmit the error message with juniper.device.pyez connection HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ansible-junos-stdlib.