Giter Club home page Giter Club logo

cd3-automation-toolkit's People

Contributors

bhlohumi avatar dipeshrath avatar divya44das avatar lasyavadavalli avatar lasyavns avatar shrusubra avatar ttscoff avatar unamachi avatar xs2suruchi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cd3-automation-toolkit's Issues

Excel template CD3-Blank-template.xlsx invalid tab name causes failure

In the template CD3-Blank-template.xlsx, the tab "NLB-Listeners" is actually "NLB-Listeners " (extra space at the end of the name). This extra space causes the script to fail when exporting NLBs in a non-greenfield setup on the initial run. Once the tab is renamed, the process works.

fatal issue when creating network

The process fail with the below error

hub-vcn is MARKED AS HUB (from the examples)

Enter your choice (specify comma separated to choose multiple choices): 3
=======================================================Network=======================================================

  1. Create Network - overwrites all TF files; reverts all SecLists and RouteTables to original rules
  2. Modify Network - It will read VCNs, DRGs, SubnetsVLANs and DHCP sheets and update the TF
  3. Security Rules
  4. Route Rules
  5. DRG Route Rules
  6. Network Security Groups
  7. Add/Modify/Delete VLANs
  8. Customer Connectivity
    q. Press q to quit
    m. Press m to go back to Main Menu
    Enter your choice (specify comma separated to choose multiple choices): 1
    -------------------------------------------------Create All Objects--------------------------------------------------
    --------------------------------------------Process VCNs Tab and DRGs Tab--------------------------------------------
    ERROR!!! hub-vcn not marked as Hub. Verify hub_spoke_peer_none column again..Exiting!
    [cd3user@9a85eed555b2 cd3_automation_toolkit]$

duplicate keys are generated for different configurations

β”‚ on variables_frankfurt.tf line 2216, in variable "instances":
β”‚ 2169: type = map(object({
β”‚ 2170: availability_domain = string
β”‚ 2171: compartment_id = string
β”‚ 2172: shape = string
β”‚ 2173: source_id = string
β”‚ 2174: source_type = string
β”‚ 2175: vcn_name = string
β”‚ 2176: subnet_id = string
β”‚ 2177: network_compartment_id = string
β”‚ 2178: display_name = optional(string)
β”‚ 2179: assign_public_ip = optional(bool)
β”‚ 2180: boot_volume_size_in_gbs = optional(string)
β”‚ 2181: fault_domain = optional(string)
β”‚ 2182: dedicated_vm_host_id = optional(string)
β”‚ 2183: private_ip = optional(string)
β”‚ 2184: hostname_label = optional(string)
β”‚ 2185: nsg_ids = optional(list(string))
β”‚ 2186: ocpus = optional(string)
β”‚ 2187: memory_in_gbs = optional(number)
β”‚ 2188: capacity_reservation_id = optional(string)
β”‚ 2189: create_is_pv_encryption_in_transit_enabled = optional(bool)
β”‚ 2190: remote_execute = optional(string)
β”‚ 2191: bastion_ip = optional(string)
β”‚ 2192: cloud_init_script = optional(string)
β”‚ 2193: ssh_authorized_keys = optional(string)
β”‚ 2194: backup_policy = optional(string)
β”‚ 2195: policy_compartment_id = optional(string)
β”‚ 2196: network_type = optional(string)
β”‚ 2197: #extended_metadata = optional(string)
β”‚ 2198: skip_source_dest_check = optional(bool)
β”‚ 2199: baseline_ocpu_utilization = optional(string)
β”‚ 2200: #preemptible_instance_config = optional(string)
β”‚ 2201: all_plugins_disabled = optional(bool)
β”‚ 2202: is_management_disabled = optional(bool)
β”‚ 2203: is_monitoring_disabled = optional(bool)
β”‚ 2204: assign_private_dns_record = optional(string)
β”‚ 2205: plugins_details = optional(map(any))
β”‚ 2206: is_live_migration_preferred = optional(bool)
β”‚ 2207: recovery_action = optional(string)
β”‚ 2208: are_legacy_imds_endpoints_disabled = optional(bool)
β”‚ 2209: boot_volume_type = optional(string)
β”‚ 2210: firmware = optional(string)
β”‚ 2211: is_consistent_volume_naming_enabled = optional(bool)
β”‚ 2212: remote_data_volume_type = optional(string)
β”‚ 2213: platform_config = optional(list(map(any)))
β”‚ 2214: launch_options = optional(list(map(any)))
β”‚ 2215: ipxe_script = optional(string)
β”‚ 2216: firmware = optional(string)
β”‚ 2217: preserve_boot_volume = optional(bool)
β”‚ 2218: vlan_id = optional(string)
β”‚ 2219: kms_key_id = optional(string)
β”‚ 2220: vnic_display_name = optional(string)
β”‚ 2221: vnic_defined_tags = optional(map(any))
β”‚ 2222: vnic_freeform_tags = optional(map(any))
β”‚ 2223: defined_tags = optional(map(any))
β”‚ 2224: freeform_tags = optional(map(any))
β”‚ 2225: }))
β”‚
β”‚ Object constructor map keys must be unique.
β•΅

β•·
β”‚ Error: Invalid type specification
β”‚
β”‚ on variables_frankfurt.tf line 2550, in variable "lbr_reserved_ips":
β”‚ 2544: type = map(object({
β”‚ 2545: compartment_id = string
β”‚ 2546: display_name = string
β”‚ 2547: lifetime = string
β”‚ 2548: private_ip_id = optional(string)
β”‚ 2549: public_ip_pool_id = optional(string)
β”‚ 2550: lifetime = optional(string)
β”‚ 2551: defined_tags = optional(map(any))
β”‚ 2552: freeform_tags = optional(map(any))
β”‚ 2553: }))
β”‚

documentation discrepencies please update the setup procedure i m getting all kind of exceptions of wrong permissions !

Hello
can you please TIDE UP the content of the documentation https://github.com/oracle-devrel/cd3-automation-toolkit/blob/main/cd3_automation_toolkit/documentation/user_guide/Connect_container_to_OCI_Tenancy.md

first its impossible to navigate back and forth between the sections of the documentation if i try to get the previous page of your documentation im getting the "rw github md pointers"

then i have tried to follow the steps that you are describing in this section : https://github.com/oracle-devrel/cd3-automation-toolkit/blob/main/cd3_automation_toolkit/documentation/user_guide/Connect_container_to_OCI_Tenancy.md

I m getting all kind of permission errors on the directories like

PermissionError: [Errno 13] Permission denied: '/cd3user/tenancies/ES1/oci4cca_api_key_localadmin_07-09-2023.pem' -> '/cd3user/tenancies/ES1/oci4cca_api_key_localadmin_07-09-20

when then i m trying to give sudo rights i m getting new exceptions as :

PermissionError: [Errno 13] Permission denied: '/cd3user/tenancies/keys_backup_173117'
[

my tenancie.properties is like :

Path of API Private Key (PEM Key) File; If the PEM keys were generated by running createAPI.py, leave this field empty.

Defaults to /cd3user/tenancies/keys/oci_api_private.pem when left empty.

key_path=/cd3user/tenancies/keys/oci_api_private.pem

Region ; defaults to us-ashburn-1 when left empty.

region=eu-frankfurt-1

ls -lrt /cd3user/tenancies/keys/oci_api_private.pem
-rw-r--r--. 1 root root 1703 Jan 8 17:29 /cd3user/tenancies/keys/oci_api_private.pem

its impossible to know what you are using as user to create the files and the structure of the output !!!!!!
i have created the container as :

docker run --platform linux/amd64 --name cd3toolkit -it -d -v /home/oracle/cd3:/cd3user/tenancies cd3toolkit:v1
docker container ls --all

and from the beginning i cant run properly the python script python createTenancyConfig.py tenancyconfig.properties
because OF WRONG RIGHTS on the target directories please elaboreate better the steps !

add the below code on lifecycle to avoid to delete resources

lifecycle {
ignore_changes = [defined_tags, freeform_tags ]
}

add this code to generated resources to let us not to scan and correct the generated code when we need to update tags
with the current setting resources are DESTROYED and REBUILDED when there a tag change

Get rid of double negative variables for tenancy type

Is_non_greenfield - is really confusing to many customers - our internal usage of greenfield or brownfield really doesn’t mean anything to customers -

Perhaps we should use something like β€˜tenancy_has_existing_resources’

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.