Skip to content

Instantly share code, notes, and snippets.

@hatifnatt
Created May 22, 2018 20:58
Show Gist options
  • Save hatifnatt/42dc84539f4b95f93171164ce213f054 to your computer and use it in GitHub Desktop.
Save hatifnatt/42dc84539f4b95f93171164ce213f054 to your computer and use it in GitHub Desktop.
Salt issue 47771 logs
[DEBUG ] Reading configuration from /etc/salt/cloud
[DEBUG ] Reading configuration from /etc/salt/master
[DEBUG ] Including configuration from '/etc/salt/master.d/engine.conf'
[DEBUG ] Reading configuration from /etc/salt/master.d/engine.conf
[DEBUG ] Including configuration from '/etc/salt/master.d/f_defaults.conf'
[DEBUG ] Reading configuration from /etc/salt/master.d/f_defaults.conf
[DEBUG ] Including configuration from '/etc/salt/master.d/lxc_profiles.conf'
[DEBUG ] Reading configuration from /etc/salt/master.d/lxc_profiles.conf
[DEBUG ] Including configuration from '/etc/salt/master.d/reactor.conf'
[DEBUG ] Reading configuration from /etc/salt/master.d/reactor.conf
[DEBUG ] Using cached minion ID from /etc/salt/minion_id: control.domain.tld
[DEBUG ] Missing configuration file: /etc/salt/cloud.providers
[DEBUG ] Including configuration from '/etc/salt/cloud.providers.d/proxmox.conf'
[DEBUG ] Reading configuration from /etc/salt/cloud.providers.d/proxmox.conf
[DEBUG ] Missing configuration file: /etc/salt/cloud.profiles
[DEBUG ] Including configuration from '/etc/salt/cloud.profiles.d/pve-kvm-debian9.conf'
[DEBUG ] Reading configuration from /etc/salt/cloud.profiles.d/pve-kvm-debian9.conf
[DEBUG ] Configuration file path: /etc/salt/cloud
[WARNING ] Insecure logging configuration detected! Sensitive data may be logged.
[INFO ] salt-cloud starting
[DEBUG ] Could not LazyLoad parallels.avail_sizes: 'parallels' __virtual__ returned False
[DEBUG ] LazyLoaded parallels.avail_locations
[DEBUG ] Could not LazyLoad proxmox.avail_sizes: 'proxmox.avail_sizes' is not available.
[DEBUG ] Could not LazyLoad saltify.destroy: 'saltify.destroy' is not available.
[DEBUG ] Could not LazyLoad saltify.avail_sizes: 'saltify.avail_sizes' is not available.
[DEBUG ] Could not LazyLoad saltify.avail_images: 'saltify.avail_images' is not available.
[DEBUG ] Could not LazyLoad saltify.avail_locations: 'saltify.avail_locations' is not available.
[DEBUG ] Could not LazyLoad rackspace.reboot: 'rackspace.reboot' is not available.
[DEBUG ] LazyLoaded openstack.list_locations
[DEBUG ] Could not LazyLoad rackspace.list_locations: 'rackspace.list_locations' is not available.
[DEBUG ] Reading configuration from /etc/salt/cloud
[DEBUG ] Including configuration from '/etc/salt/minion.d/_schedule.conf'
[DEBUG ] Reading configuration from /etc/salt/minion.d/_schedule.conf
[DEBUG ] Including configuration from '/etc/salt/minion.d/beacons.conf'
[DEBUG ] Reading configuration from /etc/salt/minion.d/beacons.conf
[DEBUG ] Including configuration from '/etc/salt/minion.d/engine.conf'
[DEBUG ] Reading configuration from /etc/salt/minion.d/engine.conf
[DEBUG ] Including configuration from '/etc/salt/minion.d/f_defaults.conf'
[DEBUG ] Reading configuration from /etc/salt/minion.d/f_defaults.conf
[DEBUG ] Including configuration from '/etc/salt/minion.d/reactor.conf'
[DEBUG ] Reading configuration from /etc/salt/minion.d/reactor.conf
[DEBUG ] Using cached minion ID from /etc/salt/minion_id: control.domain.tld
[DEBUG ] Reading configuration from /etc/salt/cloud
[DEBUG ] /etc/resolv.conf: The domain and search keywords are mutually exclusive.
[DEBUG ] Please install 'virt-what' to improve results of the 'virtual' grain.
[DEBUG ] LazyLoaded jinja.render
[DEBUG ] LazyLoaded yaml.render
[DEBUG ] LazyLoaded jinja.render
[DEBUG ] LazyLoaded yaml.render
[DEBUG ] compile template: saltvm.map
[DEBUG ] Jinja search path: ['/var/cache/salt/cloud/files/base']
[DEBUG ] LazyLoaded roots.envs
[DEBUG ] gitpython gitfs_provider enabled
[DEBUG ] LazyLoaded git.envs
[DEBUG ] Could not LazyLoad roots.init: 'roots.init' is not available.
[DEBUG ] Updating roots fileserver cache
[DEBUG ] Updating git fileserver cache
[DEBUG ] Set update lock for gitfs remote 'https://github.com/hatifnatt/users-formula'
[DEBUG ] Fetching gitfs remote 'https://github.com/hatifnatt/users-formula'
[DEBUG ] Popen(['git', 'fetch', '-v', 'origin'], cwd=/var/cache/salt/cloud/gitfs/05d5be1939b6579f2e9bf38c0e7563b5ed60ba5c87ce9a7ee08c922fe4d8e50c, universal_newlines=True, shell=None)
[DEBUG ] Removed update lock for gitfs remote 'https://github.com/hatifnatt/users-formula'
[PROFILE ] Time (in seconds) to render 'saltvm.map' using 'jinja' renderer: 1.12748003006
[DEBUG ] Rendered data from file: saltvm.map:
pve-kvm-debian9:
- saltvm
[DEBUG ] Results of YAML rendering:
OrderedDict([('pve-kvm-debian9', ['saltvm'])])
[PROFILE ] Time (in seconds) to render 'saltvm.map' using 'yaml' renderer: 0.000677108764648
[INFO ] Applying map from 'saltvm.map'.
[DEBUG ] Could not LazyLoad proxmox.optimize_providers: 'proxmox.optimize_providers' is not available.
[DEBUG ] The 'proxmox' cloud driver is unable to be optimized.
[DEBUG ] Could not LazyLoad parallels.avail_sizes: 'parallels' __virtual__ returned False
[DEBUG ] LazyLoaded parallels.avail_locations
[DEBUG ] Could not LazyLoad proxmox.avail_sizes: 'proxmox.avail_sizes' is not available.
[DEBUG ] Could not LazyLoad saltify.destroy: 'saltify.destroy' is not available.
[DEBUG ] Could not LazyLoad saltify.avail_sizes: 'saltify.avail_sizes' is not available.
[DEBUG ] Could not LazyLoad saltify.avail_images: 'saltify.avail_images' is not available.
[DEBUG ] Could not LazyLoad saltify.avail_locations: 'saltify.avail_locations' is not available.
[DEBUG ] Could not LazyLoad rackspace.reboot: 'rackspace.reboot' is not available.
[DEBUG ] LazyLoaded openstack.list_locations
[DEBUG ] Could not LazyLoad rackspace.list_locations: 'rackspace.list_locations' is not available.
[DEBUG ] Getting resource: vms.. (filter: None)
[DEBUG ] Not authenticated yet, doing that now..
...snip...
[INFO ] Calculating dependencies for saltvm
[DEBUG ] Got execution order 0 for saltvm
[DEBUG ] No make_master found in map
[DEBUG ] Generating minion keys for 'saltvm'
[DEBUG ] LazyLoaded cloud.fire_event
[DEBUG ] MasterEvent PUB socket URI: /var/run/salt/master/master_event_pub.ipc
[DEBUG ] MasterEvent PULL socket URI: /var/run/salt/master/master_event_pull.ipc
[DEBUG ] Initializing new IPCClient for path: /var/run/salt/master/master_event_pull.ipc
[DEBUG ] Sending event: tag = salt/cloud/saltvm/creating; data = {'profile': 'pve-kvm-debian9', '_stamp': '2018-05-22T20:53:01.473563', 'name': 'saltvm', 'driver': 'proxmox', 'provider': 'domain-proxmox:proxmox', 'event': 'starting create'}
[INFO ] Creating Cloud VM saltvm
[DEBUG ] Not authenticated yet, doing that now..
[DEBUG ] get: https://pve05.domain.tld:8006/api2/json/cluster/nextid (None)
[DEBUG ] MasterEvent PUB socket URI: /var/run/salt/master/master_event_pub.ipc
[DEBUG ] MasterEvent PULL socket URI: /var/run/salt/master/master_event_pull.ipc
[DEBUG ] Initializing new IPCClient for path: /var/run/salt/master/master_event_pull.ipc
[DEBUG ] Sending event: tag = salt/cloud/saltvm/requesting; data = {'_stamp': '2018-05-22T20:53:01.646151', 'event': 'requesting instance', 'kwargs': {u'name': 'saltvm', 'vmid': 101, u'scsi0': 'local:4,format=qcow2,size=4G', 'ostype': 'l26', 'memory': 512, u'cdrom': 'iso-storage:iso/debian-9.0.0-amd64-netinst.iso', 'net0': 'virtio,bridge=vmbr1'}}
[DEBUG ] Preparing to generate a node using these parameters: {u'name': 'saltvm', 'vmid': 101, u'scsi0': 'local:4,format=qcow2,size=4G', 'ostype': 'l26', 'memory': 512, u'cdrom': 'iso-storage:iso/debian-9.0.0-amd64-netinst.iso', 'net0': 'virtio,bridge=vmbr1'}
[DEBUG ] post: https://pve05.domain.tld:8006/api2/json/nodes/pve07/qemu ({u'name': 'saltvm', 'vmid': 101, u'scsi0': 'local:4,format=qcow2,size=4G', 'ostype': 'l26', 'memory': 512, u'cdrom': 'iso-storage:iso/debian-9.0.0-amd64-netinst.iso', 'net0': 'virtio,bridge=vmbr1'})
[ERROR ] Failed to deploy 'saltvm'. Error:
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/salt/cloud/__init__.py", line 2231, in run_map
profile, local_master=local_master
File "/usr/lib/python2.7/dist-packages/salt/cloud/__init__.py", line 1278, in create
output = self.clouds[func](vm_)
File "/usr/lib/python2.7/dist-packages/salt/cloud/clouds/proxmox.py", line 572, in create
raise SaltCloudExecutionFailure # err.. not a good idea i reckon
SaltCloudExecutionFailure
[INFO ] Complete
[DEBUG ] LazyLoaded nested.output
The following virtual machines are set to be created:
saltvm
Proceed? [N/y] ... proceeding
saltvm:
----------
Error:
[DEBUG ] Reading configuration from /etc/salt/cloud
[DEBUG ] Reading configuration from /etc/salt/master
[DEBUG ] Including configuration from '/etc/salt/master.d/engine.conf'
[DEBUG ] Reading configuration from /etc/salt/master.d/engine.conf
[DEBUG ] Including configuration from '/etc/salt/master.d/f_defaults.conf'
[DEBUG ] Reading configuration from /etc/salt/master.d/f_defaults.conf
[DEBUG ] Including configuration from '/etc/salt/master.d/lxc_profiles.conf'
[DEBUG ] Reading configuration from /etc/salt/master.d/lxc_profiles.conf
[DEBUG ] Including configuration from '/etc/salt/master.d/reactor.conf'
[DEBUG ] Reading configuration from /etc/salt/master.d/reactor.conf
[DEBUG ] Using cached minion ID from /etc/salt/minion_id: control.domain.tld
[DEBUG ] Missing configuration file: /etc/salt/cloud.providers
[DEBUG ] Including configuration from '/etc/salt/cloud.providers.d/proxmox.conf'
[DEBUG ] Reading configuration from /etc/salt/cloud.providers.d/proxmox.conf
[DEBUG ] Missing configuration file: /etc/salt/cloud.profiles
[DEBUG ] Including configuration from '/etc/salt/cloud.profiles.d/pve-kvm-debian9.conf'
[DEBUG ] Reading configuration from /etc/salt/cloud.profiles.d/pve-kvm-debian9.conf
[DEBUG ] Configuration file path: /etc/salt/cloud
[WARNING ] Insecure logging configuration detected! Sensitive data may be logged.
[INFO ] salt-cloud starting
[DEBUG ] Could not LazyLoad parallels.avail_sizes: 'parallels' __virtual__ returned False
[DEBUG ] LazyLoaded parallels.avail_locations
[DEBUG ] Could not LazyLoad proxmox.avail_sizes: 'proxmox.avail_sizes' is not available.
[DEBUG ] Could not LazyLoad saltify.destroy: 'saltify.destroy' is not available.
[DEBUG ] Could not LazyLoad saltify.avail_sizes: 'saltify.avail_sizes' is not available.
[DEBUG ] Could not LazyLoad saltify.avail_images: 'saltify.avail_images' is not available.
[DEBUG ] Could not LazyLoad saltify.avail_locations: 'saltify.avail_locations' is not available.
[DEBUG ] Could not LazyLoad rackspace.reboot: 'rackspace.reboot' is not available.
[DEBUG ] LazyLoaded openstack.list_locations
[DEBUG ] Could not LazyLoad rackspace.list_locations: 'rackspace.list_locations' is not available.
[DEBUG ] Could not LazyLoad proxmox.optimize_providers: 'proxmox.optimize_providers' is not available.
[DEBUG ] The 'proxmox' cloud driver is unable to be optimized.
[DEBUG ] Could not LazyLoad parallels.avail_sizes: 'parallels' __virtual__ returned False
[DEBUG ] LazyLoaded parallels.avail_locations
[DEBUG ] Could not LazyLoad proxmox.avail_sizes: 'proxmox.avail_sizes' is not available.
[DEBUG ] Could not LazyLoad saltify.destroy: 'saltify.destroy' is not available.
[DEBUG ] Could not LazyLoad saltify.avail_sizes: 'saltify.avail_sizes' is not available.
[DEBUG ] Could not LazyLoad saltify.avail_images: 'saltify.avail_images' is not available.
[DEBUG ] Could not LazyLoad saltify.avail_locations: 'saltify.avail_locations' is not available.
[DEBUG ] Could not LazyLoad rackspace.reboot: 'rackspace.reboot' is not available.
[DEBUG ] LazyLoaded openstack.list_locations
[DEBUG ] Could not LazyLoad rackspace.list_locations: 'rackspace.list_locations' is not available.
[DEBUG ] Getting resource: vms.. (filter: None)
[DEBUG ] Not authenticated yet, doing that now..
...snip json with VM-s details...
[DEBUG ] Generating minion keys for 'saltvm'
[DEBUG ] LazyLoaded cloud.fire_event
[DEBUG ] MasterEvent PUB socket URI: /var/run/salt/master/master_event_pub.ipc
[DEBUG ] MasterEvent PULL socket URI: /var/run/salt/master/master_event_pull.ipc
[DEBUG ] Initializing new IPCClient for path: /var/run/salt/master/master_event_pull.ipc
[DEBUG ] Sending event: tag = salt/cloud/saltvm/creating; data = {'profile': 'pve-kvm-debian9', '_stamp': '2018-05-22T20:43:54.036720', 'name': 'saltvm', 'driver': 'proxmox', 'provider': 'domain-proxmox:proxmox', 'event': 'starting create'}
[INFO ] Creating Cloud VM saltvm
[DEBUG ] Not authenticated yet, doing that now..
[DEBUG ] get: https://pve05.domain.tld:8006/api2/json/cluster/nextid (None)
[DEBUG ] MasterEvent PUB socket URI: /var/run/salt/master/master_event_pub.ipc
[DEBUG ] MasterEvent PULL socket URI: /var/run/salt/master/master_event_pull.ipc
[DEBUG ] Initializing new IPCClient for path: /var/run/salt/master/master_event_pull.ipc
[DEBUG ] Sending event: tag = salt/cloud/saltvm/requesting; data = {'_stamp': '2018-05-22T20:43:54.210387', 'event': 'requesting instance', 'kwargs': {u'name': 'saltvm', 'vmid': 101, u'scsi0': 'local:4,format=qcow2,size=4G', 'ostype': 'l26', 'memory': 512, u'cdrom': 'iso-storage:iso/debian-9.0.0-amd64-netinst.iso', 'net0': 'virtio,bridge=vmbr1'}}
[DEBUG ] Preparing to generate a node using these parameters: {u'name': 'saltvm', 'vmid': 101, u'scsi0': 'local:4,format=qcow2,size=4G', 'ostype': 'l26', 'memory': 512, u'cdrom': 'iso-storage:iso/debian-9.0.0-amd64-netinst.iso', 'net0': 'virtio,bridge=vmbr1'}
[DEBUG ] post: https://pve05.domain.tld:8006/api2/json/nodes/pve07/qemu ({u'name': 'saltvm', 'vmid': 101, u'scsi0': 'local:4,format=qcow2,size=4G', 'ostype': 'l26', 'memory': 512, u'cdrom': 'iso-storage:iso/debian-9.0.0-amd64-netinst.iso', 'net0': 'virtio,bridge=vmbr1'})
Usage: salt-cloud [options] <-m MAP | -p PROFILE> <NAME> [NAME2 ...]
salt-cloud: error: There was a profile error:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment