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

Introducing Machine for OpenStackApplication #298

Merged

Conversation

rgildein
Copy link
Contributor

In data-plane upgrade, we will need to have Machine object, which will be used during hypervisor upgrade.

gabrielcocenza and others added 5 commits March 12, 2024 16:55
- Introduction of the machine class with the following fields:
  - hostname, az, id and is_data_plane
- juju_utils generate COU machine class based on juju Application
  data
- Apps receive the machines with units deployed as attribute during
  the creation of the instance.
- changed conftests to have a single source of truth for the unit
  tests.
- channel_codename property started failing coverage and we don't
  need to make another check because channel is already checked.
- finished unit tests
@rgildein rgildein added the enhancement New feature or request label Mar 12, 2024
@rgildein rgildein self-assigned this Mar 12, 2024
@rgildein rgildein requested review from a team, Pjack, aieri, agileshaw and jneo8 March 12, 2024 17:04
@rgildein rgildein requested a review from a team as a code owner March 15, 2024 10:02
@rgildein rgildein requested a review from gabrielcocenza March 15, 2024 16:54
gabrielcocenza
gabrielcocenza previously approved these changes Mar 15, 2024
aieri
aieri previously approved these changes Mar 15, 2024
tests/unit/apps/test_auxiliary.py Show resolved Hide resolved
Copy link
Contributor

@agileshaw agileshaw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One tiny wording fix (sorry), otherwise LGTM

cou/apps/factory.py Outdated Show resolved Hide resolved
@rgildein rgildein dismissed stale reviews from aieri and gabrielcocenza via 2b6f9cf March 15, 2024 23:48
@rgildein rgildein merged commit 594919b into canonical:main Mar 18, 2024
4 checks passed
@rgildein rgildein deleted the feature/BSENG-2167/add-machines-to-apps branch March 18, 2024 13:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants