oracle / oci-designer-toolkit

OCI designer toolKIT (OKIT) is a set of tools for enabling design, deploy and visualise OCI environments through a graphical web based interface.
Universal Permissive License v1.0
264 stars 130 forks source link

Unable to export to Terraform #520

Closed gajarabhi closed 2 years ago

gajarabhi commented 2 years ago

Hi, I queried the resources from root compartment and then tried to export to Terraform. Its not giving any result. However its exporting sample terraform when no query resources. Please rectify.

toxophilist commented 2 years ago

@gajarabhi can you attach the output log from the server so I can identify which resource has the error.

gajarabhi commented 2 years ago

Hello Andrew,

Below are the logs.

[2022-04-12 05:50:00 +0000] [36] [INFO] Starting gunicorn 20.0.4 [2022-04-12 05:50:00 +0000] [36] [INFO] Listening at: http://0.0.0.0:80 (36) [2022-04-12 05:50:00 +0000] [36] [INFO] Using worker: sync [2022-04-12 05:50:00 +0000] [39] [INFO] Booting worker with pid: 39 [2022-04-12 05:50:01 +0000] [40] [INFO] Booting worker with pid: 40 [2022-04-12 05:50:01 +0000] [42] [INFO] Booting worker with pid: 42 [2022-04-12 05:50:01 +0000] [44] [INFO] Booting worker with pid: 44 INFO: Reading Json File : /github/oci-designer-toolkit/okitweb/static/okit/palette/palette.json INFO: Config Sections ['DEFAULT'] INFO: Config Sections {'sections': ['DEFAULT']} INFO: [{'label': 'OKIT Community Templates', 'branch': 'main', 'url': @.:username/okit-community-templates.git'}, {'label': 'Example Repo', 'branch': 'master', 'url': @.'}, {'label': 'Internal', 'branch': 'BRANCHNAME', 'url': @.'}] INFO: [] INFO: Config Settings {'gitsections': [{'label': 'OKIT Community Templates', 'branch': 'main', 'url': @.:username/okit-community-templates.git'}, {'label': 'Example Repo', 'branch': 'master', 'url': @.'}, {'label': 'Internal', 'branch': 'BRANCHNAME', 'url': @.'}]} INFO: [{'label': 'OKIT Community Templates', 'branch': 'main', 'url': @.:username/okit-community-templates.git'}, {'label': 'Example Repo', 'branch': 'master', 'url': @.'}, {'label': 'Internal', 'branch': 'BRANCHNAME', 'url': @.'}] INFO: Reading Json File : /okit/instance/templates/reference_architecture/infrastructure/ha_web_application.json INFO: Reading Json File : /okit/instance/templates/reference_architecture/infrastructure/hub_and_spoke_network_topology.json INFO: Reading Json File : /okit/instance/templates/reference_architecture/database/cockroachdb_cluster.json INFO: Reading Json File : /okit/instance/templates/reference_architecture/database/postgresql_cluster.json INFO: Reading Json File : /okit/instance/templates/reference_architecture/database/sql_server.json INFO: Reading Json File : /okit/instance/templates/reference_architecture/database/mysql_ha_cluster.json ERROR: Cmd('git') failed due to: exit code(128) cmdline: git clone --branch=main --no-single-branch -v @.:username/okit-community-templates.git /okit/instance/git/github.com/okit-community-templates stderr: '/root/.ssh/config: line 1: Bad configuration option: [default] /root/.ssh/config: line 3: Bad configuration option: fingerprint /root/.ssh/config: line 4: Bad configuration option: tenancy /root/.ssh/config: line 5: Bad configuration option: region /root/.ssh/config: line 6: Bad configuration option: key_file /root/.ssh/config: line 7: Bad configuration option: pass_phrase /root/.ssh/config: terminating, 6 bad configuration options fatal: Could not read from remote repository.

Please make sure you have the correct access rights and the repository exists. ' Traceback (most recent call last): File "/github/oci-designer-toolkit/okitweb/okitWebDesigner.py", line 440, in git_panel repo = Repo.clone_from(url, git_repo_dir, branch=branch, no_single_branch=True) File "/usr/local/lib/python3.6/site-packages/git/repo/base.py", line 1032, in clone_from return cls._clone(git, url, to_path, GitCmdObjectDB, progress, multi_options, kwargs) File "/usr/local/lib/python3.6/site-packages/git/repo/base.py", line 973, in _clone finalize_process(proc, stderr=stderr) File "/usr/local/lib/python3.6/site-packages/git/util.py", line 329, in finalize_process proc.wait(kwargs) File "/usr/local/lib/python3.6/site-packages/git/cmd.py", line 408, in wait raise GitCommandError(self.args, status, errstr) git.exc.GitCommandError: Cmd('git') failed due to: exit code(128) cmdline: git clone --branch=main --no-single-branch -v @.***:username/okit-community-templates.git /okit/instance/git/github.com/okit-community-templates stderr: '/root/.ssh/config: line 1: Bad configuration option: [default] /root/.ssh/config: line 3: Bad configuration option: fingerprint /root/.ssh/config: line 4: Bad configuration option: tenancy /root/.ssh/config: line 5: Bad configuration option: region /root/.ssh/config: line 6: Bad configuration option: key_file /root/.ssh/config: line 7: Bad configuration option: pass_phrase /root/.ssh/config: terminating, 6 bad configuration options fatal: Could not read from remote repository.

Please make sure you have the correct access rights and the repository exists. ' ERROR: Invalid URL @.*' Traceback (most recent call last): File "/usr/local/lib/python3.6/site-packages/flask/app.py", line 1950, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.6/site-packages/flask/app.py", line 1936, in dispatch_request return self.view_functionsrule.endpoint File "/github/oci-designer-toolkit/okitweb/okitWebDesigner.py", line 431, in git_panel parsed_url = giturlparse.parse(url) File "/usr/local/lib/python3.6/site-packages/giturlparse/init.py", line 34, in parse return p.parse() File "/usr/local/lib/python3.6/site-packages/giturlparse/parser.py", line 104, in parse raise ParserError(msg) giturlparse.parser.ParserError: Invalid URL *@.' INFO: Subscriptions Query Using Profile : DEFAULT INFO: OCI_CLI_AUTH = Undefined INFO: OCI_CLI_AUTH = Undefined INFO: Subscriptions Query Using Profile : DEFAULT INFO: OCI_CLI_AUTH = Undefined INFO: Querying Regions{'log_requests': False, 'additional_user_agent': 'OKIT v0.34.0', 'pass_phrase': 'moneta3Frankfurt', 'user': 'ocid1.user.oc1..aaaaaaaapcv2tkcqjkoenpgflcoybiccvfqh3m6zurz7m347o6mw4jm4oeya', 'fingerprint': '0c:ff:a6:09:4e:9c:7a:2b:d6:fb:bf:bb:ec:ee:da:55', 'tenancy': 'ocid1.tenancy.oc1..aaaaaaaa476zrsj55lq7bpy3bjsrh464kv2pufg2ap4toemocsx66wujz67a', 'region': 'eu-frankfurt-1', 'key_file': '~/.oci/id_rsa.pem'} INFO: cert_bundle=None INFO: OCI_CLI_AUTH = Undefined INFO: OCI Querying Dropdowns - Region: ['eu-frankfurt-1'] INFO: cert_bundle=None INFO: submitted 1 list resources requests INFO: processed 1 list resources responses INFO: submitted 1 list resources requests INFO: processed 1 list resources responses INFO: OCI_CLI_AUTH = Undefined INFO: Querying Compartments{'log_requests': False, 'additional_user_agent': 'OKIT v0.34.0', 'pass_phrase': 'moneta3Frankfurt', 'user': 'ocid1.user.oc1..aaaaaaaapcv2tkcqjkoenpgflcoybiccvfqh3m6zurz7m347o6mw4jm4oeya', 'fingerprint': '0c:ff:a6:09:4e:9c:7a:2b:d6:fb:bf:bb:ec:ee:da:55', 'tenancy': 'ocid1.tenancy.oc1..aaaaaaaa476zrsj55lq7bpy3bjsrh464kv2pufg2ap4toemocsx66wujz67a', 'region': 'eu-frankfurt-1', 'key_file': '~/.oci/id_rsa.pem'} INFO: cert_bundle=None INFO: submitted 1 search requests INFO: requesting resources for eu-frankfurt-1 INFO: submitted 1 list resources requests INFO: processed 1 list resources responses INFO: processed 1 search responses INFO: submitted 19 list resources requests INFO: processed 19 list resources responses INFO: submitted 0 list resources requests INFO: processed 0 list resources responses INFO: submitted 120 list resources requests INFO: Using Profile : DEFAULT INFO: OCI_CLI_AUTH = Undefined INFO: Request : ['eu-frankfurt-1'] INFO: Request : ['ocid1.tenancy.oc1..aaaaaaaa476zrsj55lq7bpy3bjsrh464kv2pufg2ap4toemocsx66wujz67a'] INFO: Request : True INFO: cert_bundle=None INFO: submitted 1 list resources requests INFO: processed 1 list resources responses INFO: processed 120 list resources responses INFO: Processing Region : eu-frankfurt-1 dict_keys(['DbSystemShape', 'CpeDeviceShape', 'DbVersion', 'VolumeBackupPolicy', 'ClusterOptions', 'LoadBalancerShape', 'MySQLVersion', 'MySQLShape', 'FastConnectProviderService', 'MySQLConfiguration', 'Shape', 'Image', 'Service', 'ImageShapeCompatibility']) INFO: Processing Resource : DbSystemShape INFO: Resource Type : DbSystemShape INFO: Processing Resource : CpeDeviceShape INFO: Resource Type : CpeDeviceShape INFO: Processing Resource : DbVersion INFO: Resource Type : DbVersion INFO: Processing Resource : VolumeBackupPolicy INFO: Resource Type : VolumeBackupPolicy INFO: Processing Resource : ClusterOptions INFO: Resource Type : ClusterOptions INFO: Processing Resource : LoadBalancerShape INFO: Resource Type : LoadBalancerShape INFO: Processing Resource : MySQLVersion INFO: Resource Type : MySQLVersion INFO: Processing Resource : MySQLShape INFO: Resource Type : MySQLShape INFO: Processing Resource : FastConnectProviderService INFO: Resource Type : FastConnectProviderService INFO: Processing Resource : MySQLConfiguration INFO: Resource Type : MySQLConfiguration INFO: Processing Resource : Shape INFO: Resource Type : Shape INFO: ['BM.Optimized3.36', 'BM.Standard.A1.160', 'BM.Standard.E2.64', 'BM.Standard.E3.128', 'BM.Standard.E4.128', 'BM.Standard1.36', 'BM.Standard2.52', 'BM.Standard3.64', 'VM.Optimized3.Flex', 'VM.Standard.A1.Flex', 'VM.Standard.E2.1', 'VM.Standard.E2.1.Micro', 'VM.Standard.E2.2', 'VM.Standard.E2.4', 'VM.Standard.E2.8', 'VM.Standard.E3.Flex', 'VM.Standard.E4.Flex', 'VM.Standard1.1', 'VM.Standard1.16', 'VM.Standard1.2', 'VM.Standard1.4', 'VM.Standard1.8', 'VM.Standard2.1', 'VM.Standard2.16', 'VM.Standard2.2', 'VM.Standard2.24', 'VM.Standard2.4', 'VM.Standard2.8', 'VM.Standard3.Flex'] INFO: Processing Resource : Image INFO: Resource Type : Image INFO: Processing Resource : Service INFO: Resource Type : Service INFO: Processing Resource : ImageShapeCompatibility INFO: submitted 1 search requests INFO: requesting resources for eu-frankfurt-1 INFO: processed 1 search responses INFO: submitted 68 list resources requests INFO: processed 68 list resources responses INFO: submitted 1 list resources requests INFO: processed 1 list resources responses INFO: submitted 0 list resources requests INFO: processed 0 list resources responses INFO: Processing Region : eu-frankfurt-1 dict_keys(['DrgRouteRule', 'Group', 'DrgRouteDistributionStatement', 'AnalyticsInstance', 'Instance', 'User', 'BootVolume', 'BootVolumeAttachment', 'Policy', 'VnicAttachment', 'PrivateIp', 'DrgRouteDistribution', 'DHCPOptions', 'ServiceGateway', 'SecurityList', 'Cpe', 'Subnet', 'Drg', 'IPSecConnection', 'DrgRouteTable', 'DrgAttachment', 'RouteTable', 'UserGroupMembership', 'Bucket', 'Vcn', 'Image', 'Vnic']) INFO: Processing Resource : DrgRouteRule INFO: Processing Resource : Group INFO: Processing Resource : DrgRouteDistributionStatement INFO: Processing Resource : AnalyticsInstance INFO: Processing Resource : Instance ERROR: None INFO: Processing Resource : User INFO: Processing Resource : BootVolume INFO: Processing Resource : BootVolumeAttachment INFO: Processing Resource : Policy INFO: Processing Resource : VnicAttachment INFO: Processing Resource : PrivateIp INFO: Processing Resource : DrgRouteDistribution INFO: Processing Resource : DHCPOptions INFO: Processing Resource : ServiceGateway INFO: Processing Resource : SecurityList INFO: Processing Resource : Cpe INFO: Processing Resource : Subnet INFO: Processing Resource : Drg INFO: Processing Resource : IPSecConnection INFO: Processing Resource : DrgRouteTable INFO: Processing Resource : DrgAttachment INFO: Processing Resource : RouteTable INFO: Processing Resource : UserGroupMembership INFO: Processing Resource : Bucket INFO: Processing Resource : Vcn INFO: Processing Resource : Image INFO: Processing Resource : Vnic INFO: Validating OKIT Json INFO: Validating Deployment Compartment INFO: Validating analytics-fra-compartment INFO: Validating ManagedCompartmentForPaaS INFO: Validating network-fra-compartment INFO: Validating security-fra-compartment INFO: Validating analytics-cpe001 INFO: Validating analytics-cpe002 INFO: Validating analytics-do001 INFO: Validating analytics-da001 INFO: Validating vm-oac-scale-001 INFO: Validating analytics-ipsec002 INFO: Validating analytics-ipsec001 INFO: Validating logs-storage-bucket-001 INFO: Validating analytics-bucket-001 INFO: Validating analytics-prod-oac-fra-rt001 INFO: Validating analytics-test-oac-fra-rt001 INFO: Validating analytics-compute-fra-rt001 INFO: Validating Default Route Table for analytics-fra-vcn-1 INFO: Validating analytics-compute-fra-sl001 INFO: Validating analytics-test-oac-fra-sl001 INFO: Validating analytics-prod-oac-fra-sl001 INFO: Validating Default Security List for analytics-fra-vcn-1 INFO: Validating analytics-sgw001 INFO: Validating analytics-prod-oac-fra-subnet-1 INFO: Validating analytics-test-oac-fra-subnet-1 INFO: Validating analytics-compute-fra-subnet-1 INFO: Validating analytics-fra-vcn-1 INFO: Language : terraform - POST INFO: Destination : local - POST WARNING: Output directory /tmp/tmpregbc693/terraform does not exist; will create. INFO: Reading Yaml File : /okit/visualiser/templates/terraform/variables.yml INFO: Validating OKIT Json INFO: Validating Deployment Compartment INFO: Validating analytics-fra-compartment INFO: Validating ManagedCompartmentForPaaS INFO: Validating network-fra-compartment INFO: Validating security-fra-compartment INFO: Validating analytics-cpe001 INFO: Validating analytics-cpe002 INFO: Validating analytics-do001 INFO: Validating analytics-da001 INFO: Validating vm-oac-scale-001 INFO: Validating analytics-ipsec002 INFO: Validating analytics-ipsec001 INFO: Validating logs-storage-bucket-001 INFO: Validating analytics-bucket-001 INFO: Validating analytics-prod-oac-fra-rt001 INFO: Validating analytics-test-oac-fra-rt001 INFO: Validating analytics-compute-fra-rt001 INFO: Validating Default Route Table for analytics-fra-vcn-1 INFO: Validating analytics-compute-fra-sl001 INFO: Validating analytics-test-oac-fra-sl001 INFO: Validating analytics-prod-oac-fra-sl001 INFO: Validating Default Security List for analytics-fra-vcn-1 INFO: Validating analytics-sgw001 INFO: Validating analytics-prod-oac-fra-subnet-1 INFO: Validating analytics-test-oac-fra-subnet-1 INFO: Validating analytics-compute-fra-subnet-1 INFO: Validating analytics-fra-vcn-1 INFO: Build Id/Name Map INFO: Processing Copyright Information INFO: Processing Provider Information INFO: Processing Region Information INFO: Processing User Information Okit_Db7B93C4Ecb8492Fabee8Ff949C691Fc INFO: Processing User Information Okit_8868D6Fa0Ea74838B22923006F080D26 INFO: Processing User Information Okit_7080A2Df50Ff4Dc0B35C0C607D9D56B9 INFO: Processing User Information Okit_508B33D24A104890B4Be02226D640747 INFO: Processing User Information Okit_905831A1B95D45B0834584739C429612 INFO: Processing User Information Okit_C6624F2E0Dcc44E18A0F7Ac4E6A99666 INFO: Processing User Information Okit_0469F98C3F5F42Cca2D37A15Dd1A9682 INFO: Processing User Information Okit_53B63Cd7021B42F69A17627Af7B63E51 INFO: Processing User Information Okit_Feb4D9B0C514436D81B1D35B2C8Aeaca INFO: Processing User Information Okit_2758Cf65610E4E088F91Ab50E4D3B23B INFO: Processing User Information Okit_F6Fe26Fad44749E8816E91Dba4E42F6B INFO: Processing User Information Okit_90C5E82Cc6F3469F987C52F4761C3627 INFO: Processing User Information Okit_Ded978C5B34D474Ca6Ec7Bafc9A8E713 INFO: Processing User Information Okit_Cd3422Cbedfc410D9A5Cb2079F0Cf2F6 INFO: Processing User Information Okit_2047C0B81D1F4Fd0Ac27Dc0Cd8B1669B INFO: Processing User Information Okit_A8B2212198B348Aea8F9F10D7B9Cac35 INFO: Processing User Information Okit_9Ca930Dacd394Cbeb4D54Ecabb3F91Ae INFO: Processing User Information Okit_55630606Da844F7A9Bbfa4F07Af02Fbc INFO: Processing User Information Okit_1F807076796A4Fc0862F3Ddb95Dc8Bd2 INFO: Processing User Information Okit_5Cfdbc5606914Bb49637Ee23Ce06B6Cf INFO: Processing User Information Okit_0Eb6E31049504Df1B9Ead0Daa8F7C1Ef INFO: Processing User Information Okit_28E110Fba9754Ab5Bdc4418551A20D18 INFO: Processing User Information Okit_59Ae5A02D7A540Faa1A1Aa0695887732 INFO: Processing User Information Okit_6C0Eaab2091B4386A1C41Ff93F1Ff0E6 INFO: Processing User Information Okit_D4B6Def666Ca4E6Abc3A3C253423B1A3 INFO: Processing User Information Okit_9E893Acaf0A940D9A0C0661Dbfed5Ede INFO: Processing User Information Okit_Fa20B444Ac8542Fe9B7Be4Bd8Aeb2534 INFO: Processing User Information Okit_4978D183288B49498Ff80Cb46Ddd4313 INFO: Processing User Information Okit_2Afd6B53C5Ef4416883B3E8E08Cbcbcf INFO: Processing User Information Okit_3363C619806A47B1Bfb671C29Abce4Dc INFO: Processing User Information Okit_Ffcc323212144147B443Ec77De6Cb58A INFO: Processing User Information Okit_D3A79B9F99254Df4B1184A19E019B0Fb INFO: Processing User Information Okit_9E5F898A4622475381544120D89B404E INFO: Processing User Information Okit_618Abad0E6F1424C8C38494Fc17560Cf INFO: Processing User Information Okit_1A3C463825264D82A5A67A1E0147640B INFO: Processing User Information Okit_4Fbe242908194419A88Fb374095Cd2A9 INFO: Compartment Ids ['okit.compartment.3dbbe434-ed51-4f62-8397-f451e5469412', 'ocid1.compartment.oc1..aaaaaaaacb2k2bvdq2bx6iehwxxcaz7t6ogxaqzddbh4xe77wopw5xgmnyza', 'ocid1.compartment.oc1..aaaaaaaa2t74qlnfxy66tmcuusm3x6fx7va3jfwwdyrg4hsk5fgxbdpg6zxq', 'ocid1.compartment.oc1..aaaaaaaavvkiaqmizmxe6cp6gplbhgy3xtwqr4lp5ovknu7b4lgcaatuffvq', 'ocid1.compartment.oc1..aaaaaaaapbngihewm5puy5apu57kkfdcgzffgzfikdkqds4denberkyvgzba'] INFO: Compartment {'id': 'okit.compartment.3dbbe434-ed51-4f62-8397-f451e5469412', 'compartment_id': None, 'display_name': 'Deployment Compartment', 'definition': '', 'okit_reference': 'okit-41ba3d52-8d0b-4fde-8be7-87a979100e00', 'freeform_tags': {}, 'defined_tags': {}, 'read_only': True, 'resource_name': 'DeploymentCompartment', 'documentation': '', 'description': 'okitcomp-20220412-112046', 'root_compartment': True} INFO: Processing Compartment Information Deploymentcompartment INFO: Compartment {'id': 'ocid1.compartment.oc1..aaaaaaaacb2k2bvdq2bx6iehwxxcaz7t6ogxaqzddbh4xe77wopw5xgmnyza', 'compartment_id': 'okit.compartment.3dbbe434-ed51-4f62-8397-f451e5469412', 'display_name': 'analytics-fra-compartment', 'definition': '', 'okit_reference': 'okit-b235f19f-60ad-4f8f-b81d-1a1381c8cbd1', 'freeform_tags': {}, 'defined_tags': {'Oracle-Tags': {'CreatedBy': ' @.', 'CreatedOn': '2022-03-07T12:45:56.468Z'}}, 'read_only': True, 'resource_name': 'Okit_64a7e5609d5a440d9377fed0f09f8f65', 'documentation': '', 'description': 'Landing Zone compartment for all resources related to application development: compute instances, storage, functions, OKE, API Gateway, streaming, and others.', 'lifecycle_state': 'ACTIVE', 'time_created': '2022-03-07T12:45:57.605000+00:00', 'root_compartment': False} INFO: Processing Compartment Information Okit_64A7E5609D5A440D9377Fed0F09F8F65 INFO: Compartment {'id': 'ocid1.compartment.oc1..aaaaaaaa2t74qlnfxy66tmcuusm3x6fx7va3jfwwdyrg4hsk5fgxbdpg6zxq', 'compartment_id': 'okit.compartment.3dbbe434-ed51-4f62-8397-f451e5469412', 'display_name': 'ManagedCompartmentForPaaS', 'definition': '', 'okit_reference': 'okit-1c355aed-ca16-4f90-99cf-6fcaa2182431', 'freeform_tags': {}, 'defined_tags': {}, 'read_only': True, 'resource_name': 'Okit_67ba99806e954f7ab0606547161999d5', 'documentation': '', 'description': 'idcs-37ed88434f7c46748d66ad58bce9bbcf|24593271|MONETA Money Bank, a.s.', 'lifecycle_state': 'ACTIVE', 'time_created': '2022-03-04T09:57:55.368000+00:00', 'root_compartment': False} INFO: Processing Compartment Information Okit_67Ba99806E954F7Ab0606547161999D5 INFO: Compartment {'id': 'ocid1.compartment.oc1..aaaaaaaavvkiaqmizmxe6cp6gplbhgy3xtwqr4lp5ovknu7b4lgcaatuffvq', 'compartment_id': 'okit.compartment.3dbbe434-ed51-4f62-8397-f451e5469412', 'display_name': 'network-fra-compartment', 'definition': '', 'okit_reference': 'okit-39e1a41e-8ef2-4a11-abfc-59501f71647e', 'freeform_tags': {}, 'defined_tags': {'Oracle-Tags': {'CreatedBy': ' @.', 'CreatedOn': '2022-03-07T12:45:56.619Z'}}, 'read_only': True, 'resource_name': 'Okit_bb399d2632124cdfa61b087778105ecf', 'documentation': '', 'description': 'Landing Zone compartment for all network related resources: VCNs, subnets, network gateways, security lists, NSGs, load balancers, VNICs, and others.', 'lifecycle_state': 'ACTIVE', 'time_created': '2022-03-07T12:45:56.692000+00:00', 'root_compartment': False} INFO: Processing Compartment Information Okit_Bb399D2632124Cdfa61B087778105Ecf INFO: Compartment {'id': 'ocid1.compartment.oc1..aaaaaaaapbngihewm5puy5apu57kkfdcgzffgzfikdkqds4denberkyvgzba', 'compartment_id': 'okit.compartment.3dbbe434-ed51-4f62-8397-f451e5469412', 'display_name': 'security-fra-compartment', 'definition': '', 'okit_reference': 'okit-e4e87b8c-4798-412f-86f5-3d072bf4ec34', 'freeform_tags': {}, 'defined_tags': {'Oracle-Tags': {'CreatedBy': ' @.***', 'CreatedOn': '2022-03-07T12:45:54.247Z'}}, 'read_only': True, 'resource_name': 'Okit_8c3cb59022f04bbdbe34cb3b10249cfb', 'documentation': '', 'description': 'Landing Zone compartment for all security related resources: vaults, topics, notifications, logging, scanning, and others.', 'lifecycle_state': 'ACTIVE', 'time_created': '2022-03-07T12:45:55.126000+00:00', 'root_compartment': False} INFO: Processing Compartment Information Okit_8C3Cb59022F04Bbdbe34Cb3B10249Cfb INFO: Processing Virtual Cloud Network Information Okit_8578300409Dc45029Ca105Aba36635A4 INFO: Processing Object Storage Bucket Information Okit_6A80C562Acb4406Da49B9Db430Ccaf68 INFO: Processing Object Storage Bucket Information Okit_9Cde367Dd63A4Ad5Bb05D61E4C8C7263 INFO: Processing Customer Premise Equipment Information Okit_00E121A407A543368413E4B53Bd7C0C5 INFO: Processing Customer Premise Equipment Information Okit_6337F96B6D004131A9801D2959789570 INFO: Processing Subnet Information Okit_B495C05E0B464A38Bc8972A2128600Ec INFO: Processing Subnet Information Okit_315802F48B5143C287F0Edcc24D03A4F INFO: Processing Subnet Information Okit_77B84Fe99E6949Fb95F04C749A7D53D1 INFO: Processing Subnet Information Okit_Ec741Ee545C54E849C7855A67B11Dc5A INFO: Processing Subnet Information Okit_8Bbc7E5103Ee4E2Fa298E90F581863C1 INFO: Processing Subnet Information Okit_6C89776442E5452B8333186408B68F5B INFO: Processing Subnet Information Okit_F0B46B9325C143238F3B4Ced2486926A INFO: Processing Subnet Information Okit_F48E7E1Eca9C4Baaab032E33Cbde850E INFO: Processing Subnet Information Okit_C7E85313D5134Dd4B598C62297Ee3508 INFO: Processing Subnet Information Okit_A06Ffe7299C54C47Abe038Ffd52E50E8 INFO: Processing Subnet Information Okit_76A8E32Df33E4608B896Ce0D38B0D974 INFO: Processing Subnet Information Okit_F3Bdf44Df1A44Cafb9087Fe394Ac1360 INFO: Processing Subnet Information Okit_Fdd9512Fd03342A8Bc64E21E3C21D659 INFO: Processing Subnet Information Okit_43Ff36Dda5E542Dca31E627B0F0Ae1Ec INFO: Processing Subnet Information Okit_485Cc053C88B46Bda363396D7C81A4Fb INFO: Processing Subnet Information Okit_35A4Bce3E14F4D7E931F6F3F547Fc231 INFO: Processing Subnet Information Okit_Fb555E8C38B044C58990Eb6Aa684D941 INFO: Processing Subnet Information Okit_4Ea2A6E03368418188Fb44Aa724055Dc INFO: Processing Subnet Information Okit_870556E69Bae403Fbf6Eaf1824Fd8Cb2 INFO: Processing Subnet Information Okit_8Bffe0542Df84Ade8Bd42D54B3B5B9Dd INFO: Processing Subnet Information Okit_0Bc88014C0F4464993Bc730F249644C1 INFO: Processing Subnet Information Okit_70Dbb9Af2431413889F60Fb769E3Ea08 INFO: Processing Subnet Information Okit_86Cf4F0840C84154B333B8671C8Abbba INFO: Processing DRG Information Okit_329804Bc709647Cfaaf1274D1E9B50Cd INFO: Processing Dynamic Routing Gateway Information Okit_B5C9052993Fc4F96B7Fd8D3E3De8Bcc3 INFO: Processing DRG Distribution Information DefaultExportRouteDistributionForDrgAnalytics_Drg001 INFO: Processing DRG Distribution Information AutogeneratedImportRouteDistributionForAllRoutes INFO: Processing DRG Distribution Information AutogeneratedImportRouteDistributionForVcnRoutes INFO: Processing DRG Route Table Information Analytics_Drg001RouteTable1 ERROR: 'import_drg_route_distribution_id' Traceback (most recent call last): File "/github/oci-designer-toolkit/okitweb/okitWebDesigner.py", line 511, in generate generator.generate() File "/okit/visualiser/generators/okitGenerator.py", line 230, in generate self.renderDRGRouteTable(rt) File "/okit/visualiser/generators/okitGenerator.py", line 937, in renderDRGRouteTable if len(resource["import_drg_route_distribution_id"]): KeyError: 'import_drg_route_distribution_id'

Thank You,

On Mon, Apr 11, 2022 at 9:00 PM Andrew Hopkinson @.***> wrote:

@gajarabhi https://github.com/gajarabhi can you attach the output log from the server so I can identify which resource has the error.

— Reply to this email directly, view it on GitHub https://github.com/oracle/oci-designer-toolkit/issues/520#issuecomment-1095200216, or unsubscribe https://github.com/notifications/unsubscribe-auth/AYQKVR3U57JQ624WXHTGILTVERAQJANCNFSM5SIOFP7Q . You are receiving this because you were mentioned.Message ID: @.***>

toxophilist commented 2 years ago

@gajarabhi This should be resolve in the 0.35 release which will be pushed tomorrow Wednesday 13th April