Skip to content

test: Fix no default user in test_status.py#5478

Merged
blackboxsw merged 2 commits into
canonical:mainfrom
TheRealFalcon:test-fix
Jul 2, 2024
Merged

test: Fix no default user in test_status.py#5478
blackboxsw merged 2 commits into
canonical:mainfrom
TheRealFalcon:test-fix

Conversation

@TheRealFalcon
Copy link
Copy Markdown
Contributor

Proposed Commit Message

test: Fix no default user in test_status.py

Additional Context

Test Steps

Merge type

  • Squash merge using "Proposed Commit Message"
  • Rebase and merge unique commits. Requires commit messages per-commit each referencing the pull request number (#<PR_NUM>)

Copy link
Copy Markdown
Collaborator

@blackboxsw blackboxsw left a comment

Choose a reason for hiding this comment

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

Can we move away from deprecated key ca-certs too?

- name: something
ssh-authorized-keys: ["something"]
- default
ca-certs:
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I think we also need to change ca-certs to ca_certs to avoid getting integration test failures in the following test:

FAILED tests/integration_tests/cmd/test_status.py::test_status_json_errors - assert 'Deprecated cloud-config provided: users.0.ssh-authorized-keys' in 'Deprecated cloud-config provided: ca-certs:  Deprecated in version 22.3. Use ``ca_certs`` instead., use...

Copy link
Copy Markdown
Collaborator

@blackboxsw blackboxsw left a comment

Choose a reason for hiding this comment

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

Merge away

@blackboxsw blackboxsw merged commit 0a4c43d into canonical:main Jul 2, 2024
@TheRealFalcon TheRealFalcon deleted the test-fix branch July 2, 2024 18:23
holmanb pushed a commit to holmanb/cloud-init that referenced this pull request Aug 2, 2024
Also use ca_certs instead of ca-certs deprecated key
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

Successfully merging this pull request may close these issues.

2 participants