Skip to content

Non-existent Files Referenced in Magic Modules Compute Product  #427

@jnikles1

Description

@jnikles1

Describe the problem

I am currently trying to compile magic-modules from the inspec fork, and the compiler is failing with a no such file error:

/c/magic-modules/mmv1/compile/core.rb:263:in `read': No such file or directory @ rb_sysopen - /c/magic-modules/mmv1/third_party/inspec/custom_functions/google_container_usable_subnetwork.erb (Errno::ENOENT)

I've found that there are a few .erb files existing in the mmv1/third_party/inspec/custom_functions directory, but the file listed above is not one of them. I've found that there are quite a few files referenced in the compute product that no longer exist, listed below:

  • third_party/inspec/custom_functions/google_container_usable_subnetwork.erb
  • third_party/inspec/custom_functions/google_compute_region_health_check.erb
  • third_party/inspec/custom_functions/google_compute_zone_operation.erb
  • third_party/inspec/custom_functions/google_compute_region_instance_group.erb
  • third_party/inspec/custom_functions/google_compute_global_operation.erb

Steps to Reproduce

  1. cd mmv1
  2. ruby compiler.rb -e inspec -p products/compute -o ./build/inspec - alternatively, skip adding a target product and build all products

Possible Solution

recreate the missing files, or remove their references if they are no longer relevant

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions