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

galaxy runner bug when testing linchpin develop with carbon #1439

Closed
samvarankashyap opened this issue Oct 28, 2019 · 4 comments
Closed

galaxy runner bug when testing linchpin develop with carbon #1439

samvarankashyap opened this issue Oct 28, 2019 · 4 comments
Assignees
Labels
Milestone

Comments

@samvarankashyap
Copy link
Contributor

samvarankashyap commented Oct 28, 2019

Describe the bug
Reported by @Dannyb48
The following errors were observed when linchpin is tested against

Traceback (most recent call last):
  File "/home/jenkins/workspace/e2e-openstack-linchpin-2/cbn/lib/python2.7/site-packages/blaster/engine/parallel.py", line 45, in run
    task_obj = task_cls(**task_def)
  File "/home/jenkins/workspace/e2e-openstack-linchpin-2/cbn/lib/python2.7/site-packages/carbon/tasks/provision.py", line 53, in __init__
    plugin = getattr(asset, 'provisioner_plugin')(asset)
  File "/home/jenkins/workspace/e2e-openstack-linchpin-2/cbn/lib/python2.7/site-packages/carbon/provisioners/ext/linchpin_wrapper_plugin.py", line 72, in __init__
    self.linchpin_api = LinchpinAPI(self._init_context())
  File "/home/jenkins/workspace/e2e-openstack-linchpin-2/cbn/lib/python2.7/site-packages/linchpin/__init__.py", line 92, in __init__
    for path in galaxy_runner.get_role_paths():
  File "/home/jenkins/workspace/e2e-openstack-linchpin-2/cbn/lib/python2.7/site-packages/linchpin/galaxy_runner.py", line 41, in get_role_paths
    end_idx = line.index(after)
ValueError: substring not found
@samvarankashyap
Copy link
Contributor Author

@Dannyb48 Feel free to add additional details like the scenario file being used etc., in carbon.

@samvarankashyap
Copy link
Contributor Author

#1438 fixes this issue
@Dannyb48

@samvarankashyap
Copy link
Contributor Author

#1438 didn't actually fix this issue

@14rcole
Copy link
Contributor

14rcole commented Oct 29, 2019

Fixed by #1443

@14rcole 14rcole closed this as completed Oct 29, 2019
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

2 participants