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

Support multiple converges #33

Open
jvogt opened this issue Jan 18, 2019 · 0 comments
Open

Support multiple converges #33

jvogt opened this issue Jan 18, 2019 · 0 comments

Comments

@jvogt
Copy link

jvogt commented Jan 18, 2019

A second converge results in an error from the supervisor that the service is already loaded. I think this could be resolved either through:

a) Adding --strategy at-once to the hab svc load command, and skipping it on subsequent runs, or
b) Unloading the service if its running, installing the new pkg, and then loading the service again.

Thoughts?

Repro steps:

---
driver:
  name: vagrant

provisioner:
  name: habitat
  install_latest_artifact: true
  package_origin: jvogt
  package_name: habichefdemo

platforms:
  - name: centos-7

suites:
  - name: default-habitat
  1. hab pkg build
  2. kitchen converge
  3. hab pkg build
  4. kitchen converge
...
      ✗✗✗
       ✗✗✗ [Err: 3] Service already loaded, unload 'jvogt/habichefdemo/0.1.0/20190118055505' and try again
       ✗✗✗
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant