zalando-stups / senza

Deploy immutable application stacks and create and execute AWS CloudFormation templates in a sane way

Home Page:https://pypi.python.org/pypi/stups-senza

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

during lizzy deployment, senza returns an error if there is an imported custom certificate in aws

rashamalek opened this issue · comments

./lizzy-init upgrade lizzy-deployment-data.yaml lizzy-machinery.yaml
Logging in to zaws
Writing temporary AWS credentials for machinery PowerUser.. OK

Do you want to update Kio and Mint registries? [y/N]: y
Updating mint
Mint App doesn't need to be changed

Do you want to update your Senza Definition? [y/N]: y
Senza Definition doesn't need to be changed

Do you want to update the IAM role for your Lizzy instance? [y/N]: y

Do you want to deploy the latest Lizzy version? [y/N]: y
Register new app version cdp9 for lizzy-machinery in KIO? [y/N]: y

Deploying Lizzy cdp9
Generating Cloud Formation template.. EXCEPTION OCCURRED: unorderable types: NoneType() < datetime.datetime()
Unknown Error: unorderable types: NoneType() < datetime.datetime().
This error will be pushed to sentry
Sentry is attempting to send 1 pending error messages
Waiting up to 10 seconds
Press Ctrl-C to quit
Traceback (most recent call last):
File "/usr/local/Cellar/python3/3.5.2_3/Frameworks/Python.framework/Versions/3.5/lib/python3.5/runpy.py", line 184, in _run_module_as_main
"main", mod_spec)
File "/usr/local/Cellar/python3/3.5.2_3/Frameworks/Python.framework/Versions/3.5/lib/python3.5/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/Users/rmalek/WorkPlace/lizzy-init/lizzy_init/main.py", line 4, in
cli()
File "/usr/local/lib/python3.5/site-packages/click/core.py", line 722, in call
return self.main(*args, **kwargs)
File "/usr/local/lib/python3.5/site-packages/click/core.py", line 697, in main
rv = self.invoke(ctx)
File "/usr/local/lib/python3.5/site-packages/click/core.py", line 1066, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/local/lib/python3.5/site-packages/click/core.py", line 895, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/local/lib/python3.5/site-packages/click/core.py", line 535, in invoke
return callback(*args, **kwargs)
File "/usr/local/lib/python3.5/site-packages/click/decorators.py", line 17, in new_func
return f(get_current_context(), *args, **kwargs)
File "/Users/rmalek/WorkPlace/lizzy-init/lizzy_init/cli.py", line 308, in upgrade
"ImageVersion={latest_tag}".format(latest_tag=latest_tag))
File "/Users/rmalek/WorkPlace/lizzy-init/lizzy_init/apps/senza.py", line 42, in create
completed_process.check_returncode()
File "/Users/rmalek/WorkPlace/lizzy-init/lizzy_init/apps/run.py", line 72, in check_returncode
raise CalledProcessError(self.returncode, self.args[0])
subprocess.CalledProcessError: Command 'senza' returned non-zero exit status 1