Skip to content

docs: add DependenciesNotReady troubleshooting and fix make target#450

Merged
kvaps merged 2 commits intocozystack:mainfrom
kvaps:docs/troubleshooting-dependencies-not-ready
Mar 12, 2026
Merged

docs: add DependenciesNotReady troubleshooting and fix make target#450
kvaps merged 2 commits intocozystack:mainfrom
kvaps:docs/troubleshooting-dependencies-not-ready

Conversation

@kvaps
Copy link
Member

@kvaps kvaps commented Mar 12, 2026

Summary

  • Add troubleshooting section for packages stuck in DependenciesNotReady status, explaining how to find missing dependencies in operator logs and fix them
  • Fix outdated make image-cozystackmake image-packages in the packages management development guide

Summary by CodeRabbit

  • Documentation
    • Updated build instructions in the development guide
    • Added troubleshooting section with diagnostic steps and solutions for packages stuck due to missing dependencies

kvaps and others added 2 commits March 13, 2026 00:58
Add a section explaining how to diagnose and fix packages stuck in
DependenciesNotReady status, which commonly happens when a required
package in the dependency chain is disabled.

Co-Authored-By: Claude <[email protected]>
Signed-off-by: Andrei Kvapil <[email protected]>
Update `make image-cozystack` to `make image-packages` to match the
current Makefile target.

Co-Authored-By: Claude <[email protected]>
Signed-off-by: Andrei Kvapil <[email protected]>
@netlify
Copy link

netlify bot commented Mar 12, 2026

Deploy Preview for cozystack ready!

Name Link
🔨 Latest commit 16e3052
🔍 Latest deploy log https://app.netlify.com/projects/cozystack/deploys/69b3533ec53ad6000843c1c4
😎 Deploy Preview https://deploy-preview-450--cozystack.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Mar 12, 2026

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 5e8dfa0b-2daa-40e4-ab99-30928f240724

📥 Commits

Reviewing files that changed from the base of the PR and between b030984 and 16e3052.

📒 Files selected for processing (2)
  • content/en/docs/v1/development.md
  • content/en/docs/v1/operations/troubleshooting/_index.md

📝 Walkthrough

Walkthrough

The changes update documentation by modifying a build instruction in the development guide and adding a new troubleshooting section that provides diagnostic steps and solutions for packages experiencing dependency readiness issues.

Changes

Cohort / File(s) Summary
Build Documentation
content/en/docs/v1/development.md
Updated build instruction to build the packages image instead of the cozystack image.
Troubleshooting Guide
content/en/docs/v1/operations/troubleshooting/_index.md
Added new troubleshooting section "Packages stuck in DependenciesNotReady" with diagnostic steps, kubectl output examples, and remediation instructions for dependency-related readiness issues.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Poem

🐰 A hop through the docs, so clear and so bright,
Build instructions fixed, dependencies right,
Troubleshooting guides to help find the way,
When packages are stuck, we save the day! ✨

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
📝 Coding Plan
  • Generate coding plan for human review comments

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@gemini-code-assist
Copy link
Contributor

Summary of Changes

Hello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request enhances the project's documentation by providing crucial troubleshooting guidance for common package dependency issues and rectifying an outdated command in the development guide. These updates aim to improve the developer and operator experience by making it easier to diagnose and fix problems, and by ensuring the documentation accurately reflects current build processes.

Highlights

  • Troubleshooting Guide: Added a new troubleshooting section for packages stuck in DependenciesNotReady status, detailing how to diagnose and resolve missing dependencies by checking operator logs and using ignoreDependencies.
  • Documentation Fix: Corrected an outdated make target from make image-cozystack to make image-packages in the packages management development guide.

🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console.

Changelog
  • content/en/docs/v1/development.md
    • Updated the make command for building images from image-cozystack to image-packages.
  • content/en/docs/v1/operations/troubleshooting/_index.md
    • Added a new section titled "Packages stuck in DependenciesNotReady" with steps to diagnose and fix the issue, including checking operator logs and modifying ignoreDependencies.
Activity
  • No human activity has been recorded on this pull request yet.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for GitHub and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

@kvaps kvaps marked this pull request as ready for review March 12, 2026 23:59
@kvaps kvaps requested a review from lllamnyp as a code owner March 12, 2026 23:59
@kvaps kvaps merged commit 7abc47b into cozystack:main Mar 12, 2026
5 of 6 checks passed
Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request updates the documentation by fixing an outdated make command and adding a new troubleshooting section for packages stuck in DependenciesNotReady status. The changes are clear and valuable. I've provided a couple of suggestions for the new troubleshooting guide to enhance clarity and make the instructions more specific for users.

If some packages show `DependenciesNotReady` status:

```console
$ kubectl get pkg -A | grep -v True
Copy link
Contributor

Choose a reason for hiding this comment

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

medium

The grep -v True command is a bit broad as it will show any package that is not ready, regardless of the reason. To make the command more specific to the issue described in this section (DependenciesNotReady), it would be more precise to filter on the status message directly, based on the example output provided.

Suggested change
$ kubectl get pkg -A | grep -v True
$ kubectl get pkg -A | grep "dependencies are not ready"

dependency not found, marking as not ready package=cozystack.monitoring-application dependency=cozystack.postgres-operator
```

2. **Check if you disabled a required package** — some packages have dependencies on other packages. If you disabled a package (e.g. `cozystack.postgres-operator`) that other packages depend on, the entire dependency chain will be blocked.
Copy link
Contributor

Choose a reason for hiding this comment

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

medium

This is a good point. To make it more actionable for the user, you could add a hint on how to check for disabled packages. For example, by mentioning where to look for the disabledPackages list.

Suggested change
2. **Check if you disabled a required package** — some packages have dependencies on other packages. If you disabled a package (e.g. `cozystack.postgres-operator`) that other packages depend on, the entire dependency chain will be blocked.
2. **Check if you disabled a required package** — some packages have dependencies on other packages. If you disabled a package (e.g. `cozystack.postgres-operator`) that other packages depend on, the entire dependency chain will be blocked. You can check for disabled packages in your `cozystack.cozystack-platform` Package resource, under `spec.components.platform.values.bundles.disabledPackages`.

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.

1 participant