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

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

Open
jnikles1 opened this issue Aug 4, 2022 · 0 comments
Open

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

jnikles1 opened this issue Aug 4, 2022 · 0 comments

Comments

@jnikles1
Copy link

jnikles1 commented Aug 4, 2022

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

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

1 participant