Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Default deployment script bug " 'config_branch' is undefined" #342

Open
AndriyPt opened this issue Mar 8, 2017 · 0 comments
Open

Default deployment script bug " 'config_branch' is undefined" #342

AndriyPt opened this issue Mar 8, 2017 · 0 comments
Labels

Comments

@AndriyPt
Copy link
Contributor

AndriyPt commented Mar 8, 2017

Error " 'config_branch' is undefined " is appearing in case if rosintall file contains dependency on sr_config.
In case if such dependency is not present script is working fine.
This is due dev_machine role logic which need to be addressed

TASK [dev_machine : Check if sr-config is installed] ***************************
task path: /tmp/sr-build-tools/ansible/roles/dev_machine/tasks/main.yml:3
<localhost> ESTABLISH LOCAL CONNECTION FOR USER: user
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1488972343.07-220147347844822 `" && echo ansible-tmp-1488972343.07-220147347844822="` echo $HOME/.ansible/tmp/ansible-tmp-1488972343.07-220147347844822 `" ) && sleep 0'
<localhost> PUT /tmp/tmpcmEwGA TO /home/user/.ansible/tmp/ansible-tmp-1488972343.07-220147347844822/stat
<localhost> EXEC /bin/sh -c 'LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 /usr/bin/python /home/user/.ansible/tmp/ansible-tmp-1488972343.07-220147347844822/stat; rm -rf "/home/user/.ansible/tmp/ansible-tmp-1488972343.07-220147347844822/" > /dev/null 2>&1 && sleep 0'
ok: [localhost] =>   invocation => {u'module_name': u'stat', u'module_args': {u'checksum_algorithm': u'sha1', u'mime': False, u'get_checksum': True, u'follow': False, u'path': u'/home/user/projects/shadow_robot/base/src/sr_config', u'get_md5': True}}
  stat => {u'uid': 1000, u'exists': True, u'woth': False, u'isreg': False, u'mtime': 1488971104.6180336, u'inode': 49435, u'isgid': False, u'size': 4096, u'wgrp': False, u'isuid': False, u'gid': 1000, u'pw_name': u'user', u'ischr': False, u'wusr': True, u'xoth': True, u'rusr': True, u'nlink': 7, u'issock': False, u'rgrp': True, u'gr_name': u'user', u'path': u'/home/user/projects/shadow_robot/base/src/sr_config', u'xusr': True, u'atime': 1488971517.3460264, u'isdir': True, u'ctime': 1488971104.6180336, u'isblk': False, u'xgrp': True, u'dev': 43, u'roth': True, u'isfifo': False, u'mode': u'0755', u'islnk': False}
  changed => False


TASK [dev_machine : Checkout or create the config branch] **********************
task path: /tmp/sr-build-tools/ansible/roles/dev_machine/tasks/main.yml:7
fatal: [localhost]: FAILED! =>   msg => 'config_branch' is undefined
  failed => True
@AndriyPt AndriyPt added the bug label Mar 8, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant