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

Error at Indexer upgrade test #3031

Closed
vikman90 opened this issue Jul 9, 2024 · 2 comments
Closed

Error at Indexer upgrade test #3031

vikman90 opened this issue Jul 9, 2024 · 2 comments
Labels
level/task Subtask issue request/operational Operational requests type/bug Bug issue

Comments

@vikman90
Copy link
Member

vikman90 commented Jul 9, 2024

Wazuh version Install type
4.8.1 → 4.9.0 Indexer

Source

Error

Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=os&infra=container error was
14: curl#6 - "Could not resolve host: mirrorlist.centos.org; Unknown error"
@AlexRuiz7
Copy link
Member

This test needs to be updated as it generated packages for wazuh-indexer using the tools from wazuh-packages. Since 4.9.0, all package are generated using the tools hosted in the repository of the component.

https://github.com/wazuh/wazuh-packages/blob/v4.9.0-alpha1/.github/workflows/test-indexer-rpm.yml

On the other hand, this test is prior the creation of the wazuh-indexer repository. We do not take ownership of these tests for the time being. However, we do smoke test the generated packages.

Taking a look at the workflow run, I identify 2 errors:

  • An error related to a missing / unaccessible Centos repository:

    Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=os&infra=container error was
    14: curl#6 - "Could not resolve host: mirrorlist.centos.org; Unknown error"
    
  • An error related to a missing folder. Most likely due to the outdated package's generation:

    Cannot find a valid baseurl for repo: base/7/x86_64
    Error: the directory does not exist. /usr/share/wazuh-indexer/plugins/opensearch-security/securityconfig.
    

As final notes, I think this test needs to be skipped / disabled until we re-design it under the new packages generation process https://github.com/wazuh/internal-devel-requests/issues/187

@rauldpm
Copy link
Member

rauldpm commented Jul 9, 2024

Tests and repository code are pending removal from 4.9.0, we should ignore those tests.

@AlexRuiz7 AlexRuiz7 closed this as not planned Won't fix, can't repro, duplicate, stale Jul 9, 2024
This was referenced Jul 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
level/task Subtask issue request/operational Operational requests type/bug Bug issue
Projects
None yet
Development

No branches or pull requests

3 participants