Skip to content

Non-descriptive error message when a BOSH job spec property name is a prefix for another one #2495

Open

Description

@gbrdead

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

Activity

  1. gbrdead commented on Feb 6, 2024

    @gbrdead
    Author
  2. rkoster commented on Feb 22, 2024

    @rkoster
    Contributor

    We are happy to review a PR addressing this issue.

  3. moved this from Inbox to Waiting for Changes | Open for Contribution in Foundational Infrastructure Working Groupon Feb 22, 2024
  4. gbrdead commented on Feb 22, 2024

    @gbrdead
    Author

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions