-
Notifications
You must be signed in to change notification settings - Fork 41
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
Unable to install #604
Comments
can you please confirm you are using the latest initialiser template from https://service-catalog-tools.s3.eu-west-2.amazonaws.com/puppet/latest/servicecatalog-puppet-initialiser.template.yaml I have tried to recreate this but cannot. Could you please share your full codebuild logs. |
Hi @eamonnfaherty , |
Hi @eamonnfaherty What information do you need me to provide in order to make some progress on this issue ? |
Looks like I am hitting the same issue @eamonnfaherty Setting the following to true on the puppet init template it works
|
@sandrich does your error message match the one in this issue? |
@eamonnfaherty yes. Your new release seems to have fixed it. |
I've tried installing using this URL:
Successfully installed the AWS Organization integration.
Then after launching the pre-configured template and setting Cloudformation to preserve failed components -
The deployment fails on the StartInstall custom resource creation.
When I look at the codebuild project (servicecatalog-product-puppet-initialiser - used default values) I see the following errors:
`
Starting bootstrap
230 | Traceback (most recent call last):
`231 | File "/root/.pyenv/versions/3.9.12/lib/python3.9/site-packages/servicecatalog_puppet/commands/bootstrap.py", line 72, in bootstrap
232 | client.describe_event_bus(Name=constants.EVENT_BUS_NAME)
233 | File "/root/.pyenv/versions/3.9.12/lib/python3.9/site-packages/botocore/client.py", line 530, in _api_call
234 | return self._make_api_call(operation_name, kwargs)
235 | File "/root/.pyenv/versions/3.9.12/lib/python3.9/site-packages/botocore/client.py", line 960, in _make_api_call
236 | raise error_class(parsed_response, operation_name)
237 | botocore.errorfactory.ResourceNotFoundException: An error occurred (ResourceNotFoundException) when calling the DescribeEventBus operation: Event bus servicecatalog-puppet-event-bus does not exist.
238 |
239 | During handling of the above exception, another exception occurred:
240 |
241 | Traceback (most recent call last):
242 | File "/root/.pyenv/versions/3.9.12/bin/servicecatalog-puppet", line 8, in
243 | sys.exit(cli())
244 | File "/root/.pyenv/versions/3.9.12/lib/python3.9/site-packages/click/core.py", line 764, in call
245 | return self.main(*args, **kwargs)
246 | File "/root/.pyenv/versions/3.9.12/lib/python3.9/site-packages/click/core.py", line 717, in main
247 | rv = self.invoke(ctx)
248 | File "/root/.pyenv/versions/3.9.12/lib/python3.9/site-packages/click/core.py", line 1137, in invoke
249 | return _process_result(sub_ctx.command.invoke(sub_ctx))
250 | File "/root/.pyenv/versions/3.9.12/lib/python3.9/site-packages/click/core.py", line 956, in invoke
251 | return ctx.invoke(self.callback, **ctx.params)
252 | File "/root/.pyenv/versions/3.9.12/lib/python3.9/site-packages/click/core.py", line 555, in invoke
253 | return callback(*args, **kwargs)
254 | File "/root/.pyenv/versions/3.9.12/lib/python3.9/site-packages/servicecatalog_puppet/cli.py", line 347, in bootstrap
255 | bootstrap_commands.bootstrap(**parameters)
256 | File "/root/.pyenv/versions/3.9.12/lib/python3.9/site-packages/servicecatalog_puppet/commands/bootstrap.py", line 73, in bootstrap
257 | except events.exceptions.ResourceNotFoundException:
258 | UnboundLocalError: local variable 'events' referenced before assignment
259 |
260 | [Container] 2022/11/27 07:24:08 Command did not exit successfully servicecatalog-puppet --info bootstrap exit status 1
261 | [Container] 2022/11/27 07:24:08 Phase complete: BUILD State: FAILED
262 | [Container] 2022/11/27 07:24:08 Phase context status code: COMMAND_EXECUTION_ERROR Message: Error while executing command: servicecatalog-puppet --info bootstrap. Reason: exit status 1
263 | [Container] 2022/11/27 07:24:08 Entering phase POST_BUILD
264 | [Container] 2022/11/27 07:24:08 Phase complete: POST_BUILD State: SUCCEEDED
265 | [Container] 2022/11/27 07:24:08 Phase context status code: Message:
I tried looking at the CFN templates but couldn't see the creation of an event bus named - servicecatalog-puppet-event-bus
Am I missing something ?
Thank you!
The text was updated successfully, but these errors were encountered: