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-descriptive error message when a BOSH job spec property name is a prefix for another one #2495

Open
gbrdead opened this issue Feb 6, 2024 · 3 comments

Comments

@gbrdead
Copy link

gbrdead commented Feb 6, 2024

Describe the bug
It seems that BOSH Director has the following requirement for the properties in a spec file:
No property name should be a prefix for the name of another one.
The problem is that the error message ("string not matched") is inadequate and does not point to the cause of the error.

To Reproduce
Steps to reproduce the behavior (example):
Using the bosh CLI, deploy a job with a spec file that contains something like:

properties:
  ala:
    <...>
  ala.bala:
    <...>

Expected behavior
A clear and concise description of what the problem is (e.g.: The property name "ala" is a prefix for the property name "ala.bala" and this is not allowed.).

Logs
The Ruby exception from the BOSH Director's debug logs is attached.

Versions (please complete the following information):

  • Infrastructure: AWS, GCP, Azure
  • BOSH version: 280.0.15
  • BOSH CLI version: 7.5.0
  • Stemcell version: ubuntu-jammy 22.04.1/1.351
@gbrdead
Copy link
Author

gbrdead commented Feb 6, 2024

bosh_dir_exc.txt

@rkoster
Copy link
Contributor

rkoster commented Feb 22, 2024

We are happy to review a PR addressing this issue.

@rkoster rkoster moved this from Inbox to Waiting for Changes | Open for Contribution in Foundational Infrastructure Working Group Feb 22, 2024
@gbrdead
Copy link
Author

gbrdead commented Feb 22, 2024

I am sorry but I don't have the necessary knowledge and skills.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Waiting for Changes | Open for Contribution
Development

No branches or pull requests

2 participants