@Cliff_Payne wrote:
I am running VIRL version 0.10.21.9 and when I try and upgrade the LXC items via UWM I get the below error.
Failed (2 out of 3)
sudo salt-call --output-file /var/local/virl/logs/upgrade-lxc_iperf-jF9ylk.out --output json --log-file /var/local/virl/logs/upgrade-lxc_iperf-jF9ylk.log --log-file-level debug state.sls virl.routervms.lxc_iperfScheduled2016-01-14 18:33:38Called2016-01-14 18:33:41Runtime 10s Stopped2016-01-14 18:33:51Result 2 states succeeded;
1 states failed{
"local": {
"module_|-sync modules_|-saltutil.sync_modules_|-run": {
"comment": "onlyif execution failed",
"result": true,
"duration": 19.676,
"run_num": 0,
"start_time": "18:33:45.383973",
"skip_watch": true,
"changes": {},
"name": "saltutil.sync_modules"
},
"virl_core_|-lxc_iperf_|-lxc_iperf_|-lxc_image_present": {
"comment": "State 'virl_core.lxc_image_present' found in SLS 'virl.routervms.lxc_iperf' is unavailable\n",
"run_num": 2,
"changes": {},
"result": false,
"name": "lxc_iperf"
},
"module_|-sync states_|-saltutil.sync_states_|-run": {
"comment": "onlyif execution failed",
"result": true,
"duration": 20.207,
"run_num": 1,
"start_time": "18:33:45.403889",
"skip_watch": true,
"changes": {},
"name": "saltutil.sync_states"
}
}2016-01-14 18:33:41,502 [salt.config ][DEBUG ] Reading configuration from /etc/salt/minion
2016-01-14 18:33:41,524 [salt.config ][DEBUG ] Including configuration from '/etc/salt/minion.d/extra.conf'
2016-01-14 18:33:41,524 [salt.config ][DEBUG ] Reading configuration from /etc/salt/minion.d/extra.conf
2016-01-14 18:33:41,526 [salt.config ][DEBUG ] Including configuration from '/etc/salt/minion.d/openstack.conf'
2016-01-14 18:33:41,527 [salt.config ][DEBUG ] Reading configuration from /etc/salt/minion.d/openstack.conf
2016-01-14 18:33:42,121 [salt.crypt ][DEBUG ] salt.crypt.verify_signature: Loading public key
2016-01-14 18:33:42,122 [salt.crypt ][DEBUG ] salt.crypt.verify_signature: Verifying signature
2016-01-14 18:33:42,122 [salt.crypt ][DEBUG ] Successfully verified signature of master public key with verification public key master_sign.pub
2016-01-14 18:33:42,122 [salt.crypt ][INFO ] Received signed and verified master pubkey from master salt-master-2.cisco.com
2016-01-14 18:33:42,124 [salt.crypt ][DEBUG ] Decrypting the current master AES key
2016-01-14 18:33:42,125 [salt.crypt ][DEBUG ] Loaded minion key: /etc/salt/pki/minion/minion.pem
2016-01-14 18:33:42,594 [salt.crypt ][DEBUG ] Loaded minion key: /etc/salt/pki/minion/minion.pem
2016-01-14 18:33:43,304 [salt.modules.cmdmod][INFO ] Executing command '/sbin/zfs help' in directory '/root'
2016-01-14 18:33:43,507 [pip.vcs ][DEBUG ] Registered VCS backend: git
2016-01-14 18:33:43,529 [pip.vcs ][DEBUG ] Registered VCS backend: hg
2016-01-14 18:33:43,577 [pip.vcs ][DEBUG ] Registered VCS backend: svn
2016-01-14 18:33:43,577 [pip.vcs ][DEBUG ] Registered VCS backend: bzr
2016-01-14 18:33:43,880 [salt.crypt ][DEBUG ] salt.crypt.verify_signature: Loading public key
2016-01-14 18:33:43,881 [salt.crypt ][DEBUG ] salt.crypt.verify_signature: Verifying signature
2016-01-14 18:33:43,881 [salt.crypt ][DEBUG ] Successfully verified signature of master public key with verification public key master_sign.pub
2016-01-14 18:33:43,881 [salt.crypt ][INFO ] Received signed and verified master pubkey from master salt-master-2.cisco.com
2016-01-14 18:33:43,883 [salt.crypt ][DEBUG ] Decrypting the current master AES key
2016-01-14 18:33:43,883 [salt.crypt ][DEBUG ] Loaded minion key: /etc/salt/pki/minion/minion.pem
2016-01-14 18:33:44,324 [salt.config ][DEBUG ] Reading configuration from /etc/salt/minion
2016-01-14 18:33:44,348 [salt.config ][DEBUG ] Including configuration from '/etc/salt/minion.d/extra.conf'
2016-01-14 18:33:44,348 [salt.config ][DEBUG ] Reading configuration from /etc/salt/minion.d/extra.conf
2016-01-14 18:33:44,350 [salt.config ][DEBUG ] Including configuration from '/etc/salt/minion.d/openstack.conf'
2016-01-14 18:33:44,350 [salt.config ][DEBUG ] Reading configuration from /etc/salt/minion.d/openstack.conf
2016-01-14 18:33:44,733 [salt.crypt ][DEBUG ] salt.crypt.verify_signature: Loading public key
2016-01-14 18:33:44,733 [salt.crypt ][DEBUG ] salt.crypt.verify_signature: Verifying signature
2016-01-14 18:33:44,734 [salt.crypt ][DEBUG ] Successfully verified signature of master public key with verification public key master_sign.pub
2016-01-14 18:33:44,734 [salt.crypt ][INFO ] Received signed and verified master pubkey from master salt-master-2.cisco.com
2016-01-14 18:33:44,737 [salt.crypt ][DEBUG ] Decrypting the current master AES key
2016-01-14 18:33:44,738 [salt.crypt ][DEBUG ] Loaded minion key: /etc/salt/pki/minion/minion.pem
2016-01-14 18:33:44,966 [salt.crypt ][DEBUG ] Loaded minion key: /etc/salt/pki/minion/minion.pem
2016-01-14 18:33:45,007 [salt.state ][INFO ] Loading fresh modules for state activity
2016-01-14 18:33:45,127 [salt.modules.cmdmod][INFO ] Executing command '/sbin/zfs help' in directory '/root'
2016-01-14 18:33:45,289 [salt.fileclient ][INFO ] Fetching file from saltenv 'base', ** skipped ** latest already in cache 'salt://virl/routervms/lxc_iperf.sls'
2016-01-14 18:33:45,295 [salt.utils.jinja ][DEBUG ] Jinja search path: ['/var/cache/salt/minion/files/base']
2016-01-14 18:33:45,302 [salt.template ][DEBUG ] Rendered data from file: /var/cache/salt/minion/files/base/virl/routervms/lxc_iperf.sls:include:
- virl.routervms.virl-core-synclxc_iperf:
virl_core.lxc_image_present:
- subtype: lxc-iperf
- version: standard
- release: 2.0.22016-01-14 18:33:45,304 [salt.loaded.int.render.yaml][DEBUG ] Results of YAML rendering:
OrderedDict([('include', ['virl.routervms.virl-core-sync']), ('lxc_iperf', OrderedDict([('virl_core.lxc_image_present', [OrderedDict([('subtype', 'lxc-iperf')]), OrderedDict([('version', 'standard')]), OrderedDict([('release', '2.0.2')])])]))])
2016-01-14 18:33:45,345 [salt.fileclient ][INFO ] Fetching file from saltenv 'base', ** skipped ** latest already in cache 'salt://virl/routervms/virl-core-sync.sls'
2016-01-14 18:33:45,374 [salt.utils.jinja ][DEBUG ] Jinja search path: ['/var/cache/salt/minion/files/base']
2016-01-14 18:33:45,375 [salt.template ][DEBUG ] Rendered data from file: /var/cache/salt/minion/files/base/virl/routervms/virl-core-sync.sls:
sync modules:
module.run:
- name: saltutil.sync_modules
- onlyif: test ! -e /var/cache/salt/minion/extmods/modules/virl_core.pysync states:
module.run:
- name: saltutil.sync_states
- onlyif: test ! -e /var/cache/salt/minion/extmods/states/virl_core.py2016-01-14 18:33:45,383 [salt.loaded.int.render.yaml][DEBUG ] Results of YAML rendering:
OrderedDict([('sync modules', OrderedDict([('module.run', [OrderedDict([('name', 'saltutil.sync_modules')]), OrderedDict([('onlyif', 'test ! -e /var/cache/salt/minion/extmods/modules/virl_core.py')])])])), ('sync states', OrderedDict([('module.run', [OrderedDict([('name', 'saltutil.sync_states')]), OrderedDict([('onlyif', 'test ! -e /var/cache/salt/minion/extmods/states/virl_core.py')])])]))])
2016-01-14 18:33:45,384 [salt.state ][INFO ] Running state [saltutil.sync_modules] at time 18:33:45.383973
2016-01-14 18:33:45,384 [salt.state ][INFO ] Executing state module.run for saltutil.sync_modules
2016-01-14 18:33:45,385 [salt.loaded.int.module.cmdmod][INFO ] Executing command 'test ! -e /var/cache/salt/minion/extmods/modules/virl_core.py' in directory '/root'
2016-01-14 18:33:45,403 [salt.loaded.int.module.cmdmod][DEBUG ] output:
2016-01-14 18:33:45,403 [salt.state ][DEBUG ] Last command return code: 1
2016-01-14 18:33:45,404 [salt.state ][INFO ] onlyif execution failed
2016-01-14 18:33:45,404 [salt.state ][INFO ] Completed state [saltutil.sync_modules] at time 18:33:45.403649
2016-01-14 18:33:45,404 [salt.state ][INFO ] Running state [saltutil.sync_states] at time 18:33:45.403889
2016-01-14 18:33:45,404 [salt.state ][INFO ] Executing state module.run for saltutil.sync_states
2016-01-14 18:33:45,404 [salt.loaded.int.module.cmdmod][INFO ] Executing command 'test ! -e /var/cache/salt/minion/extmods/states/virl_core.py' in directory '/root'
2016-01-14 18:33:45,423 [salt.loaded.int.module.cmdmod][DEBUG ] output:
2016-01-14 18:33:45,424 [salt.state ][DEBUG ] Last command return code: 1
2016-01-14 18:33:45,424 [salt.state ][INFO ] onlyif execution failed
2016-01-14 18:33:45,424 [salt.state ][INFO ] Completed state [saltutil.sync_states] at time 18:33:45.424096
2016-01-14 18:33:45,424 [salt.state ][INFO ] Running state [lxc_iperf] at time 18:33:45.424274
2016-01-14 18:33:45,424 [salt.state ][ERROR ] State 'virl_core.lxc_image_present' found in SLS 'virl.routervms.lxc_iperf' is unavailable2016-01-14 18:33:45,425 [salt.state ][DEBUG ] File /var/cache/salt/minion/accumulator/140629298311504 does not exist, no need to cleanup.
2016-01-14 18:33:45,886 [salt.crypt ][DEBUG ] salt.crypt.verify_signature: Loading public key
2016-01-14 18:33:45,886 [salt.crypt ][DEBUG ] salt.crypt.verify_signature: Verifying signature
2016-01-14 18:33:45,887 [salt.crypt ][DEBUG ] Successfully verified signature of master public key with verification public key master_sign.pub
2016-01-14 18:33:45,887 [salt.crypt ][INFO ] Received signed and verified master pubkey from master salt-master-2.cisco.com
2016-01-14 18:33:45,889 [salt.crypt ][DEBUG ] Decrypting the current master AES key
2016-01-14 18:33:45,889 [salt.crypt ][DEBUG ] Loaded minion key: /etc/salt/pki/minion/minion.pem
Posts: 1
Participants: 1