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

Install bug in dependencies.yml #329

Open
prasadtalasila opened this issue Jan 30, 2019 · 0 comments
Open

Install bug in dependencies.yml #329

prasadtalasila opened this issue Jan 30, 2019 · 0 comments
Labels

Comments

@prasadtalasila
Copy link
Member

Description

The dependencies.yml tries to run the uninstall.yml if /opt/autolabjs already exists. However, the installation fails with the following log.

user@user-VirtualBox:~/AutolabJS/deploy$ sudo -H bash dependencies.sh single_machine
+ INVENTORY=single_machine
+ sudo apt-get update
...
TASK [Run the uninstall setup if directory exists] *****************************
fatal: [server1]: FAILED! => {
    "changed": false, 
    "rc": 0
}
 
MSG:
 
MODULE FAILURE
 
 
msg:
MODULE FAILURE
	to retry, use: --limit @/home/user/AutolabJS/deploy/plays/dependencies.retry
 
PLAY RECAP *********************************************************************
server1                    : ok=9    changed=1    unreachable=0    failed=1   

Steps to Reproduce

One way to trigger the failure:

  1. Install dependencies
  2. Run sudo ansible-playbook playbook.yml --ask-become-pass once - either successfully or unsuccessfully.
  3. Run the install dependencies command again.

Another set of steps that can lead to failue.

  1. Install AutolabJS successfully
  2. Delete uninstall.yml from downloaded deploy directory (AutolabJS/deploy/uninstall.yml)
  3. Run the install dependencies command again.

Expected behavior: [What you expect to happen]
Uninstall of AutolabJS happens smoothly during dependency installation.

Actual behavior: [What actually happens]
Uninstall fails because of missing uninstall.yml

Reproduces how often: [What percentage of the time does it reproduce?]

Unknown

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