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

Generate not working for queried resources #22

Closed
revnav opened this issue May 27, 2020 · 2 comments
Closed

Generate not working for queried resources #22

revnav opened this issue May 27, 2020 · 2 comments

Comments

@revnav
Copy link

revnav commented May 27, 2020

I am not able to generate terraform/ansible or resource manager files for the queried resources from existing tenancy. Tried two different tenancies.

I am running it as docker on mac using docker engine:19.03.8, compose:1.25.5
All three generate options give the following errors:

ERROR: invalid literal for int() with base 10: 'None'
Traceback (most recent call last):
File "/okit/okitweb/okitWebDesigner.py", line 200, in generate
generator.generate()
File "/okit/visualiser/generators/ociGenerator.py", line 166, in generate
self.renderSubnet(subnet)
File "/okit/visualiser/generators/ociGenerator.py", line 1159, in renderSubnet
if int(str(subnet.get("availability_domain", "0"))) > 0:
ValueError: invalid literal for int() with base 10: 'None'

@revnav
Copy link
Author

revnav commented May 27, 2020

please note that in both the tenancies the subnets were regional subnets.

@toxophilist
Copy link
Member

@revnav will be resolved in 0.6.0 release

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

2 participants