Created
September 23, 2014 09:32
-
-
Save kerin/90a89db1cf3ca0915960 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ fab workon:master1 rsync | |
| env.real_fabfile: /Users/kerin/Projects/MoJ/cla-deploy/fabfile.py | |
| [workon]: | |
| Loaded config: ../config/cotton.yaml | |
| Loaded config: ../config/projects/cla-dev/project.yaml | |
| Loaded config: /Users/kerin/.cotton.yaml | |
| Selected aws instance: i-02d61642 | |
| [workon] finished in: 0.45s | |
| [rsync:master1] | |
| Fetching [email protected]:ministryofjustice/metrics-formula.git to see if master has changed done | |
| rsync: env.real_fabfile: /Users/kerin/Projects/MoJ/cla-deploy/fabfile.py | |
| [ec2-54-72-144-108.eu-west-1.compute.amazonaws.com] sudo: mkdir -p /srv/salt /srv/salt-formulas /srv/pillar | |
| [ec2-54-72-144-108.eu-west-1.compute.amazonaws.com] sudo: find /srv/salt-formulas -type d -exec chmod u+rwx {} + | |
| [ec2-54-72-144-108.eu-west-1.compute.amazonaws.com] sudo: chown -R ubuntu /srv/salt-formulas | |
| [ec2-54-72-144-108.eu-west-1.compute.amazonaws.com] rsync_project: rsync --delete -pthrvz -L --rsh='ssh -i ../config/default.pem -p 22 ' vendor/_root/ [email protected]:/srv/salt-formulas | |
| [localhost] local: rsync --delete -pthrvz -L --rsh='ssh -i ../config/default.pem -p 22 ' vendor/_root/ [email protected]:/srv/salt-formulas | |
| building file list ... done | |
| ./ | |
| sent 4.48K bytes received 26 bytes 3.00K bytes/sec | |
| total size is 184.30K speedup is 40.90 | |
| [ec2-54-72-144-108.eu-west-1.compute.amazonaws.com] sudo: chown -R root /srv/salt-formulas | |
| [ec2-54-72-144-108.eu-west-1.compute.amazonaws.com] sudo: find /srv/salt -type d -exec chmod u+rwx {} + | |
| [ec2-54-72-144-108.eu-west-1.compute.amazonaws.com] sudo: chown -R ubuntu /srv/salt | |
| [ec2-54-72-144-108.eu-west-1.compute.amazonaws.com] rsync_project: rsync --delete -pthrvz -L --rsh='ssh -i ../config/default.pem -p 22 ' salt/ [email protected]:/srv/salt | |
| [localhost] local: rsync --delete -pthrvz -L --rsh='ssh -i ../config/default.pem -p 22 ' salt/ [email protected]:/srv/salt | |
| building file list ... done | |
| sent 1.32K bytes received 20 bytes 890.67 bytes/sec | |
| total size is 71.08K speedup is 53.20 | |
| [ec2-54-72-144-108.eu-west-1.compute.amazonaws.com] sudo: chown -R root /srv/salt | |
| Traceback (most recent call last): | |
| File "/Users/kerin/.virtualenvs/cla-deploy/lib/python2.7/site-packages/fabric/main.py", line 743, in main | |
| *args, **kwargs | |
| File "/Users/kerin/.virtualenvs/cla-deploy/lib/python2.7/site-packages/fabric/tasks.py", line 405, in execute | |
| results['<local-only>'] = task.run(*args, **new_kwargs) | |
| File "/Users/kerin/.virtualenvs/cla-deploy/lib/python2.7/site-packages/fabric/tasks.py", line 171, in run | |
| return self.wrapped(*args, **kwargs) | |
| File "/Users/kerin/.virtualenvs/cla-deploy/lib/python2.7/site-packages/cotton/api.py", line 91, in inner | |
| ret = func(*args, **kwargs) | |
| File "/Users/kerin/Projects/MoJ/cla-deploy/fabfile.py", line 370, in rsync | |
| '{}/'.format(get_pillar_location()), | |
| File "/Users/kerin/.virtualenvs/cla-deploy/lib/python2.7/site-packages/cotton/salt.py", line 85, in get_rendered_pillar_location | |
| files_to_render.append('./' + file_short.replace('.', '/') + '.sls') | |
| AttributeError: 'dict' object has no attribute 'replace' | |
| Disconnecting from ec2-54-72-144-108.eu-west-1.compute.amazonaws.com... done. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment