Quantcast
Channel: VIRL
Viewing all articles
Browse latest Browse all 1811

Unable to download lxc images

$
0
0

@aadsfljasdfljasdfasd wrote:

Failed to check upgrade result: [Errno 2] No such file or directory: u'/var/local/virl/logs/upgrade-lxc_iperf-7fqan7.out'

Failed to check upgrade result: [Errno 2] No such file or directory: u'/var/local/virl/logs/upgrade-lxc_server-icLDxy.out'

2015-11-16 00:40:58,727 [salt.config ][DEBUG ][18197] Reading configuration from /etc/salt/minion
2015-11-16 00:40:58,743 [salt.config ][DEBUG ][18197] Including configuration from '/etc/salt/minion.d/_schedule.conf'
2015-11-16 00:40:58,743 [salt.config ][DEBUG ][18197] Reading configuration from /etc/salt/minion.d/_schedule.conf
2015-11-16 00:40:58,744 [salt.config ][DEBUG ][18197] Including configuration from '/etc/salt/minion.d/extra.conf'
2015-11-16 00:40:58,744 [salt.config ][DEBUG ][18197] Reading configuration from /etc/salt/minion.d/extra.conf
2015-11-16 00:40:58,745 [salt.config ][DEBUG ][18197] Including configuration from '/etc/salt/minion.d/openstack.conf'
2015-11-16 00:40:58,745 [salt.config ][DEBUG ][18197] Reading configuration from /etc/salt/minion.d/openstack.conf
2015-11-16 00:40:58,823 [salt.crypt ][DEBUG ][18197] Initializing new SAuth for ('/etc/salt/pki/minion', 'FFFFFFFF.virl.info', 'tcp://128.107.0.207:4506')
2015-11-16 00:40:58,930 [salt.crypt ][DEBUG ][18197] salt.crypt.verify_signature: Loading public key
2015-11-16 00:40:58,930 [salt.crypt ][DEBUG ][18197] salt.crypt.verify_signature: Verifying signature
2015-11-16 00:40:58,930 [salt.crypt ][DEBUG ][18197] Successfully verified signature of master public key with verification public key master_sign.pub
2015-11-16 00:40:58,930 [salt.crypt ][INFO ][18197] Received signed and verified master pubkey from master us-virl-salt.virl.info
2015-11-16 00:40:58,931 [salt.crypt ][DEBUG ][18197] Decrypting the current master AES key
2015-11-16 00:40:58,931 [salt.crypt ][DEBUG ][18197] Loaded minion key: /etc/salt/pki/minion/minion.pem
2015-11-16 00:40:59,441 [salt.crypt ][DEBUG ][18197] Loaded minion key: /etc/salt/pki/minion/minion.pem
2015-11-16 00:40:59,465 [salt.utils.lazy ][DEBUG ][18197] LazyLoaded jinja.render
2015-11-16 00:40:59,465 [salt.utils.lazy ][DEBUG ][18197] LazyLoaded yaml.render
2015-11-16 00:40:59,467 [salt.utils.lazy ][DEBUG ][18197] LazyLoaded state.sls
2015-11-16 00:40:59,470 [salt.utils.lazy ][DEBUG ][18197] LazyLoaded saltutil.is_running
2015-11-16 00:40:59,470 [salt.utils.lazy ][DEBUG ][18197] LazyLoaded grains.get
2015-11-16 00:40:59,471 [salt.crypt ][DEBUG ][18197] Re-using SAuth for ('/etc/salt/pki/minion', 'FFFFFFFF.virl.info', 'tcp://128.107.0.207:4506')
2015-11-16 00:41:00,536 [salt.config ][DEBUG ][18197] Reading configuration from /etc/salt/minion
2015-11-16 00:41:00,551 [salt.config ][DEBUG ][18197] Including configuration from '/etc/salt/minion.d/_schedule.conf'
2015-11-16 00:41:00,551 [salt.config ][DEBUG ][18197] Reading configuration from /etc/salt/minion.d/_schedule.conf
2015-11-16 00:41:00,552 [salt.config ][DEBUG ][18197] Including configuration from '/etc/salt/minion.d/extra.conf'
2015-11-16 00:41:00,553 [salt.config ][DEBUG ][18197] Reading configuration from /etc/salt/minion.d/extra.conf
2015-11-16 00:41:00,553 [salt.config ][DEBUG ][18197] Including configuration from '/etc/salt/minion.d/openstack.conf'
2015-11-16 00:41:00,553 [salt.config ][DEBUG ][18197] Reading configuration from /etc/salt/minion.d/openstack.conf
2015-11-16 00:41:00,610 [salt.crypt ][DEBUG ][18197] Re-using SAuth for ('/etc/salt/pki/minion', 'FFFFFFFF.virl.info', 'tcp://128.107.0.207:4506')
2015-11-16 00:41:00,793 [salt.crypt ][DEBUG ][18197] Loaded minion key: /etc/salt/pki/minion/minion.pem
2015-11-16 00:41:00,813 [salt.state ][INFO ][18197] Loading fresh modules for state activity
2015-11-16 00:41:00,816 [salt.utils.lazy ][DEBUG ][18197] LazyLoaded jinja.render
2015-11-16 00:41:00,817 [salt.utils.lazy ][DEBUG ][18197] LazyLoaded yaml.render
2015-11-16 00:41:00,840 [salt.fileclient ][INFO ][18197] Fetching file from saltenv 'base', ** skipped ** latest already in cache 'salt://virl/routervms/lxc_iperf.sls'
2015-11-16 00:41:00,841 [salt.utils.lazy ][DEBUG ][18197] LazyLoaded cmd.run
2015-11-16 00:41:00,841 [salt.utils.jinja ][DEBUG ][18197] Jinja search path: ['/var/cache/salt/minion/files/base']
2015-11-16 00:41:00,844 [salt.utils.lazy ][DEBUG ][18197] LazyLoaded pillar.get
2015-11-16 00:41:00,845 [salt.utils.lazy ][DEBUG ][18197] LazyLoaded grains.get
2015-11-16 00:41:00,845 [salt.template ][DEBUG ][18197] Rendered data from file: /var/cache/salt/minion/files/base/virl/routervms/lxc_iperf.sls:

include:
- virl.routervms.virl-core-sync

lxc_iperf:
virl_core.lxc_image_present:
- subtype: lxc-iperf
- version: standard
- release: 2.0.2

2015-11-16 00:41:00,847 [salt.utils.lazy ][DEBUG ][18197] LazyLoaded config.get
2015-11-16 00:41:00,847 [salt.loaded.int.render.yaml][DEBUG ][18197] 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')])])]))])
2015-11-16 00:41:00,873 [salt.fileclient ][INFO ][18197] Fetching file from saltenv 'base', ** skipped ** latest already in cache 'salt://virl/routervms/virl-core-sync.sls'
2015-11-16 00:41:00,873 [salt.utils.jinja ][DEBUG ][18197] Jinja search path: ['/var/cache/salt/minion/files/base']
2015-11-16 00:41:00,874 [salt.template ][DEBUG ][18197] 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.py

sync states:
module.run:
- name: saltutil.sync_states
- onlyif: test ! -e /var/cache/salt/minion/extmods/states/virl_core.py

2015-11-16 00:41:00,875 [salt.loaded.int.render.yaml][DEBUG ][18197] 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')])])]))])
2015-11-16 00:41:00,876 [salt.utils.lazy ][DEBUG ][18197] LazyLoaded apache.a2enmod
2015-11-16 00:41:00,896 [salt.loader ][DEBUG ][18197] Error loading module.nacl: libnacl import error, perhaps missing python libnacl package
2015-11-16 00:41:00,897 [salt.loader ][DEBUG ][18197] Error loading module.ipmi: No module named pyghmi.ipmi
2015-11-16 00:41:00,910 [salt.loader ][DEBUG ][18197] Error loading module.npm: npm execution module could not be loaded because the npm binary could not be located
2015-11-16 00:41:00,988 [salt.loader ][DEBUG ][18197] Error loading module.tls: ['PyOpenSSL version 0.14 or later must be installed before this module can be used.']
2015-11-16 00:41:01,161 [salt.utils.lazy ][DEBUG ][18197] Could not LazyLoad xmpp.send_msg
2015-11-16 00:41:01,162 [salt.utils.lazy ][DEBUG ][18197] LazyLoaded lvs.get_rules
2015-11-16 00:41:01,163 [salt.utils.lazy ][DEBUG ][18197] LazyLoaded portage_config.get_missing_flags
2015-11-16 00:41:01,163 [salt.utils.lazy ][DEBUG ][18197] LazyLoaded layman.add
2015-11-16 00:41:01,163 [salt.utils.lazy ][DEBUG ][18197] LazyLoaded selinux.getenforce
2015-11-16 00:41:01,163 [salt.utils.lazy ][DEBUG ][18197] LazyLoaded win_servermanager.install
2015-11-16 00:41:01,165 [salt.utils.lazy ][DEBUG ][18197] LazyLoaded ipset.version
2015-11-16 00:41:01,165 [salt.loader ][DEBUG ][18197] Error loading states.ipmi: No module named pyghmi.ipmi
2015-11-16 00:41:01,240 [salt.utils.lazy ][DEBUG ][18197] Could not LazyLoad redis.set_key
2015-11-16 00:41:01,241 [salt.utils.lazy ][DEBUG ][18197] LazyLoaded boto_elb.exists
2015-11-16 00:41:01,241 [salt.utils.lazy ][DEBUG ][18197] LazyLoaded win_dns_client.add_dns
2015-11-16 00:41:01,242 [salt.utils.lazy ][DEBUG ][18197] LazyLoaded npm.list
2015-11-16 00:41:01,242 [salt.loader ][DEBUG ][18197] Error loading states.npm: 'npm' binary not found on system
2015-11-16 00:41:01,243 [salt.utils.lazy ][DEBUG ][18197] LazyLoaded chef.client
2015-11-16 00:41:01,243 [salt.utils.lazy ][DEBUG ][18197] LazyLoaded glusterfs.list_volumes
2015-11-16 00:41:01,244 [salt.utils.lazy ][DEBUG ][18197] LazyLoaded makeconf.get_var
2015-11-16 00:41:01,245 [salt.utils.lazy ][DEBUG ][18197] LazyLoaded reg.read_key
2015-11-16 00:41:01,246 [salt.utils.lazy ][DEBUG ][18197] LazyLoaded mongodb.user_exists
2015-11-16 00:41:01,246 [salt.utils.lazy ][DEBUG ][18197] LazyLoaded splunk_search.get
2015-11-16 00:41:01,246 [salt.utils.lazy ][DEBUG ][18197] LazyLoaded lvs.get_rules
2015-11-16 00:41:01,246 [salt.utils.lazy ][DEBUG ][18197] LazyLoaded tls.cert_info
2015-11-16 00:41:01,247 [salt.utils.lazy ][DEBUG ][18197] LazyLoaded postgres.schema_exists
2015-11-16 00:41:01,247 [salt.utils.lazy ][DEBUG ][18197] LazyLoaded ddns.update
2015-11-16 00:41:01,249 [salt.utils.lazy ][DEBUG ][18197] Could not LazyLoad firewall.get_config
2015-11-16 00:41:01,252 [salt.utils.lazy ][DEBUG ][18197] Could not LazyLoad augeas.execute
2015-11-16 00:41:01,252 [salt.utils.lazy ][DEBUG ][18197] LazyLoaded eselect.exec_action
2015-11-16 00:41:01,252 [salt.utils.lazy ][DEBUG ][18197] LazyLoaded nftables.version
2015-11-16 00:41:01,253 [salt.utils.lazy ][DEBUG ][18197] LazyLoaded boto_dynamodb.exists
2015-11-16 00:41:01,253 [salt.utils.lazy ][DEBUG ][18197] LazyLoaded cyg.list
2015-11-16 00:41:01,254 [salt.utils.lazy ][DEBUG ][18197] LazyLoaded postgres.group_create
2015-11-16 00:41:01,254 [salt.utils.lazy ][DEBUG ][18197] LazyLoaded pecl.list
2015-11-16 00:41:01,255 [salt.utils.lazy ][DEBUG ][18197] LazyLoaded rdp.enable
2015-11-16 00:41:01,256 [salt.utils.lazy ][DEBUG ][18197] LazyLoaded win_path.rehash
2015-11-16 00:41:01,257 [salt.utils.lazy ][DEBUG ][18197] LazyLoaded zk_concurrency.lock
2015-11-16 00:41:01,263 [salt.utils.lazy ][DEBUG ][18197] Could not LazyLoad module.mod_aggregate
2015-11-16 00:41:01,263 [salt.state ][INFO ][18197] Running state [saltutil.sync_modules] at time 00:41:01.263297
2015-11-16 00:41:01,263 [salt.state ][INFO ][18197] Executing state module.run for saltutil.sync_modules
2015-11-16 00:41:01,264 [salt.utils.lazy ][DEBUG ][18197] Could not LazyLoad module.mod_run_check
2015-11-16 00:41:01,264 [salt.loaded.int.module.cmdmod][INFO ][18197] Executing command 'test ! -e /var/cache/salt/minion/extmods/modules/virl_core.py' in directory '/root'
2015-11-16 00:41:01,268 [salt.loaded.int.module.cmdmod][DEBUG ][18197] output:
2015-11-16 00:41:01,269 [salt.state ][DEBUG ][18197] Last command return code: 1
2015-11-16 00:41:01,269 [salt.state ][INFO ][18197] onlyif execution failed
2015-11-16 00:41:01,269 [salt.state ][INFO ][18197] Completed state [saltutil.sync_modules] at time 00:41:01.268861
2015-11-16 00:41:01,270 [salt.utils.lazy ][DEBUG ][18197] Could not LazyLoad module.mod_aggregate
2015-11-16 00:41:01,270 [salt.state ][INFO ][18197] Running state [saltutil.sync_states] at time 00:41:01.270475
2015-11-16 00:41:01,271 [salt.state ][INFO ][18197] Executing state module.run for saltutil.sync_states
2015-11-16 00:41:01,271 [salt.utils.lazy ][DEBUG ][18197] Could not LazyLoad module.mod_run_check
2015-11-16 00:41:01,272 [salt.loaded.int.module.cmdmod][INFO ][18197] Executing command 'test ! -e /var/cache/salt/minion/extmods/states/virl_core.py' in directory '/root'
2015-11-16 00:41:01,276 [salt.loaded.int.module.cmdmod][DEBUG ][18197] output:
2015-11-16 00:41:01,276 [salt.state ][DEBUG ][18197] Last command return code: 1
2015-11-16 00:41:01,276 [salt.state ][INFO ][18197] onlyif execution failed
2015-11-16 00:41:01,276 [salt.state ][INFO ][18197] Completed state [saltutil.sync_states] at time 00:41:01.275941
2015-11-16 00:41:01,277 [salt.utils.lazy ][DEBUG ][18197] Could not LazyLoad virl_core.mod_aggregate
2015-11-16 00:41:01,277 [salt.utils.lazy ][DEBUG ][18197] Could not LazyLoad virl_core.lxc_image_present
2015-11-16 00:41:01,278 [salt.log.setup ][ERROR ][18197] An un-handled exception was caught by salt's global exception handler:
KeyError: 'virl_core.lxc_image_present'
Traceback (most recent call last):
File "/usr/bin/salt-call", line 11, in
salt_call()
File "/usr/lib/python2.7/dist-packages/salt/scripts.py", line 227, in salt_call
client.run()
File "/usr/lib/python2.7/dist-packages/salt/cli/call.py", line 69, in run
caller.run()
File "/usr/lib/python2.7/dist-packages/salt/cli/caller.py", line 236, in run
ret = self.call()
File "/usr/lib/python2.7/dist-packages/salt/cli/caller.py", line 138, in call
ret['return'] = func(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/salt/modules/state.py", line 681, in sls
ret = st_.state.call_high(high_)
File "/usr/lib/python2.7/dist-packages/salt/state.py", line 2067, in call_high
ret = dict(list(disabled.items()) + list(self.call_chunks(chunks).items()))
File "/usr/lib/python2.7/dist-packages/salt/state.py", line 1623, in call_chunks
running = self.call_chunk(low, running, chunks)
File "/usr/lib/python2.7/dist-packages/salt/state.py", line 1769, in call_chunk
self.modinit(low)
File "/usr/lib/python2.7/dist-packages/salt/state.py", line 612, in modinit
self.states['{0}.{1}'.format(low['state'], low['fun'])] # pylint: disable=W0106
File "/usr/lib/python2.7/dist-packages/salt/utils/lazy.py", line 90, in getitem
raise KeyError(key)
KeyError: 'virl_core.lxc_image_present'


2015-11-16 00:41:00,876 [salt.utils.lazy ][DEBUG ][18197] LazyLoaded apache.a2enmod
2015-11-16 00:41:00,896 [salt.loader ][DEBUG ][18197] Error loading module.nacl: libnacl import error, perhaps missing python libnacl package
2015-11-16 00:41:00,897 [salt.loader ][DEBUG ][18197] Error loading module.ipmi: No module named pyghmi.ipmi
2015-11-16 00:41:00,910 [salt.loader ][DEBUG ][18197] Error loading module.npm: npm execution module could not be loaded because the npm binary could not be located
2015-11-16 00:41:00,988 [salt.loader ][DEBUG ][18197] Error loading module.tls: ['PyOpenSSL version 0.14 or later must be installed before this module can be used.']
2015-11-16 00:41:01,161 [salt.utils.lazy ][DEBUG ][18197] Could not LazyLoad xmpp.send_msg

These are probably related to salt bugs

Posts: 2

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 1811

Trending Articles