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 in bash substring during domain_cfgfile_create #33

Open
andreamtp opened this issue Jun 17, 2017 · 0 comments
Open

Error in bash substring during domain_cfgfile_create #33

andreamtp opened this issue Jun 17, 2017 · 0 comments

Comments

@andreamtp
Copy link

andreamtp commented Jun 17, 2017

When running valine on a Fedora25 for the first time, I receive, one per each VM in my libvirt:

./valine/valine: riga 330: /var/lib/valine/centos7-prometheus: No such file or directory
./valine/valine: riga 350: /var/lib/valine/centos7-prometheus: No such file or directory
Warning: centos7-prometheus config file has improper CfgVersion ('0Sifr' expected)
Storage displayed for this domain might not be accurate
If this causes problems, delete /var/lib/valine/centos7-prometheus

The error is triggered by the lack of /var/lib/valine , problem is that user do not receive the expected message:

mkdir: impossibile creare la directory "/var/lib/valine": Permission denied
Error: Missing [and unable to create] needed directory '/var/lib/valine'
As root, execute:
  mkdir -pm 2775 /var/lib/valine; chgrp libvirt /var/lib/valine

due to some bash substring mistake.

In attach lvm config and debug output.

valine.zip

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

No branches or pull requests

1 participant