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

[Breaking] Error generating config from resources #906

Closed
wirednkod opened this issue Apr 7, 2023 · 4 comments · Fixed by #907 or #1313
Closed

[Breaking] Error generating config from resources #906

wirednkod opened this issue Apr 7, 2023 · 4 comments · Fixed by #907 or #1313
Assignees
Labels

Comments

@wirednkod
Copy link
Contributor

Issue Description

Whenever one tries to run podman the following errors appear and podman cannot run:

Error: Error: Error generating config for prometheus resource
Error: Error: Error generating config for tempo resource

Steps to reproduce the issue

Steps to reproduce the issue

  1. Execute any spawn with podman from main branch

Describe the results you received

╔════════════════════╤════════════════════════════════════════════════════════════════════════════════════════════════════╗
║ 🧟 Zombienet 🧟    │ Initiation                                                                                         ║
╟────────────────────┼────────────────────────────────────────────────────────────────────────────────────────────────────╢
║ Provider           │ podman                                                                                             ║
╟────────────────────┼────────────────────────────────────────────────────────────────────────────────────────────────────╢
║ Namespace          │ zombie-c684f207                                                                                    ║
╟────────────────────┼────────────────────────────────────────────────────────────────────────────────────────────────────╢
║ Temp Dir           │ /tmp/zombie-c684f207_-74154-sx2pEcqiRJ8m                                                           ║
╚════════════════════╧════════════════════════════════════════════════════════════════════════════════════════════════════╝
!!!! templateConfigPath -> /home/wirednkod/Documents/repos/parity/ts/zombienet/javascript/configs/prometheus.yml
!!!! configPath -> /tmp/zombie-c684f207_-74154-sx2pEcqiRJ8m/prometeus/etc/prometheus.yml

	 Monitor: prometheus - url: http://127.0.0.1:46511
Error:  	 Error: Error generating config for tempo resource

undefined
┌────────────────────┬────────────────────────────────────────────────────────────────────────────────────────────────────┐
│ Node'              │ /tmp/zombie-c684f207_-74154-sx2pEcqiRJ8m/logs                                                      │
│ s logs:            │                                                                                                    │
│ m                  │                                                                                                    │
└────────────────────┴────────────────────────────────────────────────────────────────────────────────────────────────────┘

Describe the results you expected

To run

Zombienet version

main branch

Provider

Podman

Provider version

podman version 3.4.2

Upstream Latest Release

Yes

Additional environment details

Additional environment details

Additional information

Additional information like issue happens only occasionally or issue happens with a particular architecture or on a particular setting

Screenshots

No response

@mrcnski
Copy link
Contributor

mrcnski commented Jul 26, 2023

Think I'm getting the same issue with podman 3.4.4. Hope you don't mind if I reopen?

$ zombienet --provider=podman spawn zombienet_tests/functional/0001-parachains-pvf.toml
╔════════════════════╤════════════════════════════════════════════════════════════════════════════════════════════════════╗
║  Zombienet     │ Initiation                                                                                             ║
╟────────────────────┼────────────────────────────────────────────────────────────────────────────────────────────────────╢
║ Provider           │ podman                                                                                             ║
╟────────────────────┼────────────────────────────────────────────────────────────────────────────────────────────────────╢
║ Namespace          │ zombie-415a28fa                                                                                    ║
╟────────────────────┼────────────────────────────────────────────────────────────────────────────────────────────────────╢
║ Temp Dir           │ /tmp/zombie-415a28fa_-1677310-8RkHX91dHsmv                                                         ║
╚════════════════════╧════════════════════════════════════════════════════════════════════════════════════════════════════╝
Error:           Error: Error generating config for prometheus resource

undefined
┌────────────────────┬────────────────────────────────────────────────────────────────────────────────────────────────────┐
│ Node'              │ /tmp/zombie-415a28fa_-1677310-8RkHX91dHsmv/logs                                                    │
│ s logs:            │                                                                                                    │
│ m                  │                                                                                                    │
└────────────────────┴────────────────────────────────────────────────────────────────────────────────────────────────────┘

This is in the polkadot repo. Running with --provider=native worked fine.

$ zombienet version
1.3.63

@mrcnski mrcnski reopened this Jul 26, 2023
@doutv
Copy link

doutv commented Sep 1, 2023

Same issue. Using native provider --provider=native works fine.

But podman provider will get: Error: Error generating config for prometheus resource

zombienet version
w1.3.65

podman version
Version:      3.4.4
API Version:  3.4.4
Go Version:   go1.18.1
Built:        Thu Jan  1 08:00:00 1970
OS/Arch:      linux/amd64

@doutv
Copy link

doutv commented Sep 4, 2023

@pepoviola Could you take a look at this issue? Thanks a lot~

@wirednkod wirednkod self-assigned this Sep 4, 2023
@pepoviola
Copy link
Collaborator

pepoviola commented Sep 4, 2023

Hi @doutv / @mrcnski , this should be fixed in #1313 and included in the next release.
Thx!

update: This is included in last release v1.3.66.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants