Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@ip-90-0-11-39:~# salt-call -l debug state.highstate
- [DEBUG ] Reading configuration from /etc/salt/minion
- [INFO ] Using cached minion ID from /etc/salt/minion_id: ip-90-0-11-39
- [DEBUG ] loading log_handlers in ['/var/cache/salt/minion/extmods/log_handlers', '/usr/lib/python2.7/dist-packages/salt/log/handlers']
- [DEBUG ] Skipping /var/cache/salt/minion/extmods/log_handlers, it is not a directory
- [DEBUG ] Configuration file path: /etc/salt/minion
- [DEBUG ] Reading configuration from /etc/salt/minion
- [DEBUG ] loading grain in ['/var/cache/salt/minion/extmods/grains', '/usr/lib/python2.7/dist-packages/salt/grains']
- [DEBUG ] Skipping /var/cache/salt/minion/extmods/grains, it is not a directory
- [DEBUG ] Loaded minion key: /etc/salt/pki/minion/minion.pem
- [DEBUG ] Decrypting the current master AES key
- [DEBUG ] Loaded minion key: /etc/salt/pki/minion/minion.pem
- [DEBUG ] Loaded minion key: /etc/salt/pki/minion/minion.pem
- [DEBUG ] loading module in ['/var/cache/salt/minion/extmods/modules', '/usr/lib/python2.7/dist-packages/salt/modules']
- [DEBUG ] Skipping /var/cache/salt/minion/extmods/modules, it is not a directory
- [DEBUG ] Loaded localemod as virtual locale
- [DEBUG ] Loaded groupadd as virtual group
- [DEBUG ] Loaded linux_sysctl as virtual sysctl
- [DEBUG ] Loaded parted as virtual partition
- [DEBUG ] Loaded sysmod as virtual sys
- [DEBUG ] Loaded apt as virtual pkg
- [DEBUG ] Loaded djangomod as virtual django
- [DEBUG ] Loaded upstart as virtual service
- [DEBUG ] Loaded useradd as virtual user
- [DEBUG ] Loaded dpkg as virtual lowpkg
- [DEBUG ] Loaded grub_legacy as virtual grub
- [DEBUG ] Loaded debconfmod as virtual debconf
- [DEBUG ] Loaded virtualenv_mod as virtual virtualenv
- [DEBUG ] Loaded cmdmod as virtual cmd
- [DEBUG ] loading returner in ['/var/cache/salt/minion/extmods/returners', '/usr/lib/python2.7/dist-packages/salt/returners']
- [DEBUG ] Skipping /var/cache/salt/minion/extmods/returners, it is not a directory
- [DEBUG ] Loaded couchdb_return as virtual couchdb
- [DEBUG ] Loaded syslog_return as virtual syslog
- [DEBUG ] Loaded carbon_return as virtual carbon
- [DEBUG ] Loaded sqlite3_return as virtual sqlite3
- [DEBUG ] loading states in ['/var/cache/salt/minion/extmods/states', '/usr/lib/python2.7/dist-packages/salt/states']
- [DEBUG ] Skipping /var/cache/salt/minion/extmods/states, it is not a directory
- [DEBUG ] Loaded saltmod as virtual salt
- [DEBUG ] Loaded virtualenv_mod as virtual virtualenv
- [DEBUG ] Loaded debconfmod as virtual debconf
- [DEBUG ] loading render in ['/var/cache/salt/minion/extmods/renderers', '/usr/lib/python2.7/dist-packages/salt/renderers']
- [DEBUG ] Skipping /var/cache/salt/minion/extmods/renderers, it is not a directory
- [DEBUG ] Parsed args: []
- [DEBUG ] Parsed kwargs: {'__pub_fun': 'state.highstate', '__pub_jid': '20160919123525429245', '__pub_pid': 25821, '__pub_tgt': 'salt-call'}
- [DEBUG ] Loaded minion key: /etc/salt/pki/minion/minion.pem
- [DEBUG ] Decrypting the current master AES key
- [DEBUG ] Loaded minion key: /etc/salt/pki/minion/minion.pem
- [DEBUG ] Reading configuration from /etc/salt/minion
- [DEBUG ] loading grain in ['/var/cache/salt/minion/extmods/grains', '/usr/lib/python2.7/dist-packages/salt/grains']
- [DEBUG ] Skipping /var/cache/salt/minion/extmods/grains, it is not a directory
- [DEBUG ] Loaded minion key: /etc/salt/pki/minion/minion.pem
- [DEBUG ] Decrypting the current master AES key
- [DEBUG ] Loaded minion key: /etc/salt/pki/minion/minion.pem
- [DEBUG ] Loaded minion key: /etc/salt/pki/minion/minion.pem
- [INFO ] Loading fresh modules for state activity
- [DEBUG ] loading module in ['/var/cache/salt/minion/extmods/modules', '/usr/lib/python2.7/dist-packages/salt/modules']
- [DEBUG ] Skipping /var/cache/salt/minion/extmods/modules, it is not a directory
- [DEBUG ] Loaded localemod as virtual locale
- [DEBUG ] Loaded groupadd as virtual group
- [DEBUG ] Loaded linux_sysctl as virtual sysctl
- [DEBUG ] Loaded parted as virtual partition
- [DEBUG ] Loaded sysmod as virtual sys
- [DEBUG ] Loaded apt as virtual pkg
- [DEBUG ] Loaded djangomod as virtual django
- [DEBUG ] Loaded upstart as virtual service
- [DEBUG ] Loaded useradd as virtual user
- [DEBUG ] Loaded dpkg as virtual lowpkg
- [DEBUG ] Loaded grub_legacy as virtual grub
- [DEBUG ] Loaded debconfmod as virtual debconf
- [DEBUG ] Loaded virtualenv_mod as virtual virtualenv
- [DEBUG ] Loaded cmdmod as virtual cmd
- [DEBUG ] loading states in ['/var/cache/salt/minion/extmods/states', '/usr/lib/python2.7/dist-packages/salt/states']
- [DEBUG ] Skipping /var/cache/salt/minion/extmods/states, it is not a directory
- [DEBUG ] Loaded saltmod as virtual salt
- [DEBUG ] Loaded virtualenv_mod as virtual virtualenv
- [DEBUG ] Loaded debconfmod as virtual debconf
- [DEBUG ] loading render in ['/var/cache/salt/minion/extmods/renderers', '/usr/lib/python2.7/dist-packages/salt/renderers']
- [DEBUG ] Skipping /var/cache/salt/minion/extmods/renderers, it is not a directory
- [DEBUG ] loading module in ['/var/cache/salt/minion/extmods/modules', '/usr/lib/python2.7/dist-packages/salt/modules']
- [DEBUG ] Skipping /var/cache/salt/minion/extmods/modules, it is not a directory
- [DEBUG ] Loaded localemod as virtual locale
- [DEBUG ] Loaded groupadd as virtual group
- [DEBUG ] Loaded linux_sysctl as virtual sysctl
- [DEBUG ] Loaded parted as virtual partition
- [DEBUG ] Loaded sysmod as virtual sys
- [DEBUG ] Loaded apt as virtual pkg
- [DEBUG ] Loaded djangomod as virtual django
- [DEBUG ] Loaded upstart as virtual service
- [DEBUG ] Loaded useradd as virtual user
- [DEBUG ] Loaded dpkg as virtual lowpkg
- [DEBUG ] Loaded grub_legacy as virtual grub
- [DEBUG ] Loaded debconfmod as virtual debconf
- [DEBUG ] Loaded virtualenv_mod as virtual virtualenv
- [DEBUG ] Loaded cmdmod as virtual cmd
- [INFO ] Fetching file ** skipped **, latest already in cache 'salt://top.sls'
- [DEBUG ] Jinja search path: '['/var/cache/salt/minion/files/base']'
- [DEBUG ] Rendered data from file: /var/cache/salt/minion/files/base/top.sls:
- base:
- '*':
- - states.nudgespot
- [DEBUG ] Results of YAML rendering:
- OrderedDict([('base', OrderedDict([('*', ['states.nudgespot'])]))])
- [DEBUG ] Loaded minion key: /etc/salt/pki/minion/minion.pem
- [DEBUG ] Syncing all
- [INFO ] Creating module dir '/var/cache/salt/minion/extmods/modules'
- [INFO ] Syncing modules for environment 'base'
- [INFO ] Loading cache from salt://_modules, for base)
- [DEBUG ] Loaded minion key: /etc/salt/pki/minion/minion.pem
- [DEBUG ] Decrypting the current master AES key
- [DEBUG ] Loaded minion key: /etc/salt/pki/minion/minion.pem
- [INFO ] Caching directory '_modules/' for environment 'base'
- [DEBUG ] Local cache dir: '/var/cache/salt/minion/files/base/_modules'
- [INFO ] Creating module dir '/var/cache/salt/minion/extmods/states'
- [INFO ] Syncing states for environment 'base'
- [INFO ] Loading cache from salt://_states, for base)
- [INFO ] Caching directory '_states/' for environment 'base'
- [DEBUG ] Local cache dir: '/var/cache/salt/minion/files/base/_states'
- [INFO ] Creating module dir '/var/cache/salt/minion/extmods/grains'
- [INFO ] Syncing grains for environment 'base'
- [INFO ] Loading cache from salt://_grains, for base)
- [INFO ] Caching directory '_grains/' for environment 'base'
- [DEBUG ] Local cache dir: '/var/cache/salt/minion/files/base/_grains'
- [INFO ] Creating module dir '/var/cache/salt/minion/extmods/renderers'
- [INFO ] Syncing renderers for environment 'base'
- [INFO ] Loading cache from salt://_renderers, for base)
- [INFO ] Caching directory '_renderers/' for environment 'base'
- [DEBUG ] Local cache dir: '/var/cache/salt/minion/files/base/_renderers'
- [INFO ] Creating module dir '/var/cache/salt/minion/extmods/returners'
- [INFO ] Syncing returners for environment 'base'
- [INFO ] Loading cache from salt://_returners, for base)
- [INFO ] Caching directory '_returners/' for environment 'base'
- [DEBUG ] Local cache dir: '/var/cache/salt/minion/files/base/_returners'
- [INFO ] Creating module dir '/var/cache/salt/minion/extmods/outputters'
- [INFO ] Syncing outputters for environment 'base'
- [INFO ] Loading cache from salt://_outputters, for base)
- [INFO ] Caching directory '_outputters/' for environment 'base'
- [DEBUG ] Local cache dir: '/var/cache/salt/minion/files/base/_outputters'
- [DEBUG ] MinionEvent PUB socket URI: ipc:///var/run/salt/minion/minion_event_7bcaccce62b5dc5c0149b217ec1ddc1d_pub.ipc
- [DEBUG ] MinionEvent PULL socket URI: ipc:///var/run/salt/minion/minion_event_7bcaccce62b5dc5c0149b217ec1ddc1d_pull.ipc
- [DEBUG ] Refreshing modules...
- [INFO ] Loading fresh modules for state activity
- [DEBUG ] loading module in ['/var/cache/salt/minion/extmods/modules', '/usr/lib/python2.7/dist-packages/salt/modules']
- [DEBUG ] Skipping /var/cache/salt/minion/extmods/modules, it is not a directory
- [DEBUG ] Loaded localemod as virtual locale
- [DEBUG ] Loaded groupadd as virtual group
- [DEBUG ] Loaded linux_sysctl as virtual sysctl
- [DEBUG ] Loaded parted as virtual partition
- [DEBUG ] Loaded sysmod as virtual sys
- [DEBUG ] Loaded apt as virtual pkg
- [DEBUG ] Loaded djangomod as virtual django
- [DEBUG ] Loaded upstart as virtual service
- [DEBUG ] Loaded useradd as virtual user
- [DEBUG ] Loaded dpkg as virtual lowpkg
- [DEBUG ] Loaded grub_legacy as virtual grub
- [DEBUG ] Loaded debconfmod as virtual debconf
- [DEBUG ] Loaded virtualenv_mod as virtual virtualenv
- [DEBUG ] Loaded cmdmod as virtual cmd
- [DEBUG ] loading states in ['/var/cache/salt/minion/extmods/states', '/usr/lib/python2.7/dist-packages/salt/states']
- [DEBUG ] Skipping /var/cache/salt/minion/extmods/states, it is not a directory
- [DEBUG ] Loaded saltmod as virtual salt
- [DEBUG ] Loaded virtualenv_mod as virtual virtualenv
- [DEBUG ] Loaded debconfmod as virtual debconf
- [DEBUG ] loading render in ['/var/cache/salt/minion/extmods/renderers', '/usr/lib/python2.7/dist-packages/salt/renderers']
- [DEBUG ] Skipping /var/cache/salt/minion/extmods/renderers, it is not a directory
- [DEBUG ] MinionEvent PUB socket URI: ipc:///var/run/salt/minion/minion_event_7bcaccce62b5dc5c0149b217ec1ddc1d_pub.ipc
- [DEBUG ] MinionEvent PULL socket URI: ipc:///var/run/salt/minion/minion_event_7bcaccce62b5dc5c0149b217ec1ddc1d_pull.ipc
- [DEBUG ] Fetching file ** attempting ** 'salt://states/nudgespot.sls'
- [INFO ] Fetching file ** skipped **, latest already in cache 'salt://states/nudgespot/init.sls'
- [DEBUG ] Jinja search path: '['/var/cache/salt/minion/files/base']'
- [DEBUG ] Rendered data from file: /var/cache/salt/minion/files/base/states/nudgespot/init.sls:
- include:
- - .deploy
- [DEBUG ] Results of YAML rendering:
- OrderedDict([('include', ['.deploy'])])
- [INFO ] Fetching file ** skipped **, latest already in cache 'salt://states/nudgespot/deploy.sls'
- [DEBUG ] Jinja search path: '['/var/cache/salt/minion/files/base']'
- [DEBUG ] Rendered data from file: /var/cache/salt/minion/files/base/states/nudgespot/deploy.sls:
- dev:
- group:
- - present
- user:
- - present
- - groups:
- - dev
- - require:
- - group: dev
- /home/dev/nudgespot/latest:
- file.directory:
- - user: dev
- - group: dev
- - makedirs: True
- - name: /home/dev/nudgespot/latest
- git@bitbucket.org:nudgespot/mailhub.git:
- git.latest:
- - user: dev
- - rev: master
- - target: /home/dev/nudgespot/latest
- run_bunddle:
- cmd.run:
- - cwd: /home/dev/nudgespot/latest/mailhub
- - name: bundle install
- [DEBUG ] Results of YAML rendering:
- OrderedDict([('dev', OrderedDict([('group', ['present']), ('user', ['present', OrderedDict([('groups', ['dev'])]), OrderedDict([('require', [OrderedDict([('group', 'dev')])])])])])), ('/home/dev/nudgespot/latest', OrderedDict([('file.directory', [OrderedDict([('user', 'dev')]), OrderedDict([('group', 'dev')]), OrderedDict([('makedirs', True)]), OrderedDict([('name', '/home/dev/nudgespot/latest')])])])), ('git@bitbucket.org:nudgespot/mailhub.git', OrderedDict([('git.latest', [OrderedDict([('user', 'dev')]), OrderedDict([('rev', 'master')]), OrderedDict([('target', '/home/dev/nudgespot/latest')])])])), ('run_bunddle', OrderedDict([('cmd.run', [OrderedDict([('cwd', '/home/dev/nudgespot/latest/mailhub')]), OrderedDict([('name', 'bundle install')])])]))])
- [INFO ] Executing state group.present for dev
- [INFO ] Group dev is already present
- [INFO ] Executing state user.present for dev
- [INFO ] User dev is present and up to date
- [INFO ] Executing state file.directory for /home/dev/nudgespot/latest
- [INFO ] {'/home/dev/nudgespot/latest': 'New Dir'}
- [INFO ] Executing state git.latest for git@bitbucket.org:nudgespot/mailhub.git
- [DEBUG ] target /home/dev/nudgespot/latest is not found, "git clone" is required
- [INFO ] Executing command 'git clone git@bitbucket.org:nudgespot/mailhub.git /home/dev/nudgespot/latest ' as user 'dev' in directory '/home/dev'
- [ERROR ] Command 'git clone git@bitbucket.org:nudgespot/mailhub.git /home/dev/nudgespot/latest ' failed with return code: 128
- [ERROR ] stderr: Cloning into '/home/dev/nudgespot/latest'...
- Permission denied (publickey).
- fatal: Could not read from remote repository.
- Please make sure you have the correct access rights
- and the repository exists.
- [ERROR ] Cloning into '/home/dev/nudgespot/latest'...
- Permission denied (publickey).
- fatal: Could not read from remote repository.
- Please make sure you have the correct access rights
- and the repository exists.
- [INFO ] Executing state cmd.run for bundle install
- [ERROR ] Desired working directory is not available
- [DEBUG ] loading output in ['/var/cache/salt/minion/extmods/output', '/usr/lib/python2.7/dist-packages/salt/output']
- [DEBUG ] Skipping /var/cache/salt/minion/extmods/output, it is not a directory
- [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
- local:
- ----------
- State: - group
- Name: dev
- Function: present
- Result: True
- Comment: Group dev is already present
- Changes:
- ----------
- State: - user
- Name: dev
- Function: present
- Result: True
- Comment: User dev is present and up to date
- Changes:
- ----------
- State: - file
- Name: /home/dev/nudgespot/latest
- Function: directory
- Result: True
- Comment: Directory /home/dev/nudgespot/latest updated
- Changes: /home/dev/nudgespot/latest: New Dir
- ----------
- State: - git
- Name: git@bitbucket.org:nudgespot/mailhub.git
- Function: latest
- Result: False
- Comment: Cloning into '/home/dev/nudgespot/latest'...
- Permission denied (publickey).
- fatal: Could not read from remote repository.
- Please make sure you have the correct access rights
- and the repository exists.
- Changes:
- ----------
- State: - cmd
- Name: bundle install
- Function: run
- Result: False
- Comment: Desired working directory is not available
- Changes:
- Summary
- ------------
- Succeeded: 3
- Failed: 2
- ------------
- Total: 5
- root@ip-90-0-11-39:~# ls /home/dev/nudgespot/latest
- ls: cannot access /home/dev/nudgespot/latest: No such file or directory
- root@ip-90-0-11-39:~#
Add Comment
Please, Sign In to add comment