Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /etc/salt/cloud.providers.d/nox.conf
- nox_lxc:
- target: nox
- provider: lxc
- ~/code/cloud-maps/salt-minion-lxc
- salt_minion_lxc:
- provider: nox_lxc
- from_container: ubuntu
- backing: lvm
- sudo: True
- size: 3g
- ip: 10.0.3.9
- minion:
- master: 10.5.0.1
- master_port: 4506
- lxc_conf:
- - lxc.utsname: salt-minion-lxc
- $ sudo salt-cloud -l debug -m /home/bud/code/cloud-maps/salt-minion-lxc
- [DEBUG ] Missing configuration file: /etc/salt/cloud
- [DEBUG ] Reading configuration from /etc/salt/master
- [DEBUG ] Missing configuration file: /etc/salt/cloud.providers
- [DEBUG ] Including configuration from '/etc/salt/cloud.providers.d/lxc.conf'
- [DEBUG ] Reading configuration from /etc/salt/cloud.providers.d/lxc.conf
- [DEBUG ] Missing configuration file: /etc/salt/cloud.profiles
- [DEBUG ] Configuration file path: /etc/salt/master
- [INFO ] salt-cloud starting
- [DEBUG ] 'parallels.avail_sizes' has been marked as not supported. Removing from the list of supported cloud functions
- [DEBUG ] 'parallels.avail_locations' has been marked as not supported. Removing from the list of supported cloud functions
- [DEBUG ] 'proxmox.avail_sizes' has been marked as not supported. Removing from the list of supported cloud functions
- [DEBUG ] 'saltify.destroy' has been marked as not supported. Removing from the list of supported cloud functions
- [DEBUG ] 'saltify.avail_sizes' has been marked as not supported. Removing from the list of supported cloud functions
- [DEBUG ] 'saltify.avail_images' has been marked as not supported. Removing from the list of supported cloud functions
- [DEBUG ] 'saltify.avail_locations' has been marked as not supported. Removing from the list of supported cloud functions
- [DEBUG ] 'rackspace.reboot' has been marked as not supported. Removing from the list of supported cloud functions
- [DEBUG ] Reading configuration from /etc/salt/master
- [DEBUG ] MasterEvent PUB socket URI: ipc:///var/run/salt/master/master_event_pub.ipc
- [DEBUG ] MasterEvent PULL socket URI: ipc:///var/run/salt/master/master_event_pull.ipc
- [DEBUG ] Reading configuration from /etc/salt/master
- [DEBUG ] get_returns for jid 20140515225257805197 sent to set(['nox']) will timeout at 22:53:07
- [DEBUG ] LazyLoaded local_cache.get_load
- [DEBUG ] jid 20140515225257805197 found all minions
- [DEBUG ] Reading configuration from /etc/salt/master
- [DEBUG ] Including configuration from '/etc/salt/minion.d/99-master-address.conf'
- [DEBUG ] Reading configuration from /etc/salt/minion.d/99-master-address.conf
- [INFO ] Using cached minion ID from /etc/salt/minion_id: nox
- [DEBUG ] Reading configuration from /etc/salt/master
- [INFO ] Executing command '/sbin/zfs help || :' in directory '/home/bud'
- [DEBUG ] stderr: unrecognized command 'help'
- usage: zfs command args ...
- where 'command' is one of the following:
- create [-p] [-o property=value] ... <filesystem>
- create [-ps] [-b blocksize] [-o property=value] ... -V <size> <volume>
- destroy [-rRf] <filesystem|volume>
- destroy [-rRd] <snapshot>
- snapshot [-r] [-o property=value] ... <filesystem@snapname|volume@snapname>
- rollback [-rRf] <snapshot>
- clone [-p] [-o property=value] ... <snapshot> <filesystem|volume>
- promote <clone-filesystem>
- rename <filesystem|volume|snapshot> <filesystem|volume|snapshot>
- rename -p <filesystem|volume> <filesystem|volume>
- rename -r <snapshot> <snapshot>
- list [-rH][-d max] [-o property[,...]] [-t type[,...]] [-s property] ...
- [-S property] ... [filesystem|volume|snapshot] ...
- set <property=value> <filesystem|volume|snapshot> ...
- get [-rHp] [-d max] [-o "all" | field[,...]] [-s source[,...]]
- <"all" | property[,...]> [filesystem|volume|snapshot] ...
- inherit [-rS] <property> <filesystem|volume|snapshot> ...
- upgrade [-v]
- upgrade [-r] [-V version] <-a | filesystem ...>
- userspace [-hniHp] [-o field[,...]] [-sS field] ... [-t type[,...]]
- <filesystem|snapshot>
- groupspace [-hniHpU] [-o field[,...]] [-sS field] ... [-t type[,...]]
- <filesystem|snapshot>
- mount
- mount [-vO] [-o opts] <-a | filesystem>
- unmount [-f] <-a | filesystem|mountpoint>
- share <-a | filesystem>
- unshare <-a | filesystem|mountpoint>
- send [-RDp] [-[iI] snapshot] <snapshot>
- receive [-vnF] <filesystem|volume|snapshot>
- receive [-vnF] -d <filesystem>
- allow <filesystem|volume>
- allow [-ldug] <"everyone"|user|group>[,...] <perm|@setname>[,...]
- <filesystem|volume>
- allow [-ld] -e <perm|@setname>[,...] <filesystem|volume>
- allow -c <perm|@setname>[,...] <filesystem|volume>
- allow -s @setname <perm|@setname>[,...] <filesystem|volume>
- unallow [-rldug] <"everyone"|user|group>[,...]
- [<perm|@setname>[,...]] <filesystem|volume>
- unallow [-rld] -e [<perm|@setname>[,...]] <filesystem|volume>
- unallow [-r] -c [<perm|@setname>[,...]] <filesystem|volume>
- unallow [-r] -s @setname [<perm|@setname>[,...]] <filesystem|volume>
- hold [-r] <tag> <snapshot> ...
- holds [-r] <snapshot> ...
- release [-r] <tag> <snapshot> ...
- Each dataset is of the form: pool/[dataset/]*dataset[@name]
- For the property list, run: zfs set|get
- For the delegated permission list, run: zfs allow|unallow
- [DEBUG ] Loaded aptpkg as virtual pkg
- [DEBUG ] Loaded groupadd as virtual group
- [DEBUG ] Loaded localemod as virtual locale
- [DEBUG ] Loaded linux_sysctl as virtual sysctl
- [DEBUG ] Loaded debian_ip as virtual ip
- [DEBUG ] Loaded parted as virtual partition
- [DEBUG ] Loaded gnomedesktop as virtual gnome
- [DEBUG ] Loaded sysmod as virtual sys
- [DEBUG ] Loaded linux_acl as virtual acl
- [DEBUG ] Loaded zcbuildout as virtual buildout
- [DEBUG ] Loaded upstart as virtual service
- [DEBUG ] Loaded useradd as virtual user
- [DEBUG ] Loaded dpkg as virtual lowpkg
- [DEBUG ] Loaded ini_manage as virtual ini
- [DEBUG ] Loaded debconfmod as virtual debconf
- [DEBUG ] Loaded etcd_mod as virtual etcd
- [DEBUG ] Loaded virtualenv_mod as virtual virtualenv
- [DEBUG ] Loaded djangomod as virtual django
- [DEBUG ] Loaded cmdmod as virtual cmd
- [DEBUG ] Loaded linux_lvm as virtual lvm
- [DEBUG ] Loaded saltmod as virtual salt
- [DEBUG ] Loaded zcbuildout as virtual buildout
- [DEBUG ] Loaded ini_manage as virtual ini
- [DEBUG ] Loaded debconfmod as virtual debconf
- [DEBUG ] Loaded virtualenv_mod as virtual virtualenv
- [DEBUG ] LazyLoaded local_cache.get_jid
- [DEBUG ] Loaded no_out as virtual quiet
- [DEBUG ] Loaded json_out as virtual json
- [DEBUG ] Loaded yaml_out as virtual yaml
- [DEBUG ] Loaded pprint_out as virtual pprint
- nox:
- True
- [ERROR ] An un-handled exception was caught by salt's global exception handler:
- AttributeError: 'str' object has no attribute 'setdefault'
- Traceback (most recent call last):
- File "/usr/bin/salt-cloud", line 10, in <module>
- salt_cloud()
- File "/usr/lib/python2.7/dist-packages/salt/scripts.py", line 142, in salt_cloud
- cloud.run()
- File "/usr/lib/python2.7/dist-packages/salt/cloud/cli.py", line 80, in run
- mapper = salt.cloud.Map(self.config)
- File "/usr/lib/python2.7/dist-packages/salt/cloud/__init__.py", line 1427, in __init__
- self.rendered_map = self.read()
- File "/usr/lib/python2.7/dist-packages/salt/cloud/__init__.py", line 1584, in read
- overrides.setdefault('name', name)
- AttributeError: 'str' object has no attribute 'setdefault'
- Traceback (most recent call last):
- File "/usr/bin/salt-cloud", line 10, in <module>
- salt_cloud()
- File "/usr/lib/python2.7/dist-packages/salt/scripts.py", line 142, in salt_cloud
- cloud.run()
- File "/usr/lib/python2.7/dist-packages/salt/cloud/cli.py", line 80, in run
- mapper = salt.cloud.Map(self.config)
- File "/usr/lib/python2.7/dist-packages/salt/cloud/__init__.py", line 1427, in __init__
- self.rendered_map = self.read()
- File "/usr/lib/python2.7/dist-packages/salt/cloud/__init__.py", line 1584, in read
- overrides.setdefault('name', name)
- AttributeError: 'str' object has no attribute 'setdefault'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement