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

unable to install healthcheck (3.4.10-10) via ansible #480

Closed
jeroenmaelbrancke opened this issue Jun 29, 2018 · 3 comments
Closed

unable to install healthcheck (3.4.10-10) via ansible #480

jeroenmaelbrancke opened this issue Jun 29, 2018 · 3 comments
Labels
Milestone

Comments

@jeroenmaelbrancke
Copy link
Contributor

jeroenmaelbrancke commented Jun 29, 2018

Problem

With the newer version of the healthcheck (3.4.10-10).
The version on andes-updates-3 (3.4.8-1) doesn't have this issue.

failed: [DEV-3N-199-182] (item=[u'screen', u'genisoimage', u'libvirt-bin', u'libvirt0', u'qemu', u'qemu-kvm', u'openvstorage-health-check', u'python-libvirt', u'python-timeout-decorator', u'virtinst']) => {"attempts": 5, "cache_update_time": 1530261536, "cache_updated": false, "failed": true, "item": ["screen
genisoimage
libvirt-bin
libvirt0
qemu
qemu-kvm
openvstorage-health-check
python-libvirt
python-timeout-decorator
virtinst"], "msg": "'/usr/bin/apt-get -y -o \"Dpkg::Options::=--force-confdef\" -o \"Dpkg::Options::=--force-confold\"     install 'openvstorage-health-check' --allow-unauthenticated' failed: E: Sub-process /usr/bin/dpkg returned an error code (1)

stderr": "E: Sub-process /usr/bin/dpkg returned an error code (1)

stdout": "Reading package lists...
Building dependency tree...
Reading state information...
openvstorage-health-check is already the newest version (3.4.10-1).
The following packages were automatically installed and are no longer required:
  linux-headers-4.4.0-31 linux-headers-4.4.0-31-generic linux-headers-4.4.0-42
  linux-headers-4.4.0-42-generic linux-image-4.4.0-31-generic
  linux-image-4.4.0-42-generic linux-image-extra-4.4.0-31-generic
  linux-image-extra-4.4.0-42-generic
Use 'apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 206 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up openvstorage-health-check (3.4.10-1) ...\r
Traceback (most recent call last):\r
  File \"<string>\", line 1, in <module>\r
ImportError: No module named ovs.extensions.healthcheck.expose_to_cli\r
dpkg: error processing package openvstorage-health-check (--configure):\r
 subprocess installed post-installation script returned error exit status 1\r
Errors were encountered while processing:\r
 openvstorage-health-check\r

stdout_lines": ["Reading package lists...
Building dependency tree...
Reading state information...
openvstorage-health-check is already the newest version (3.4.10-1).
The following packages were automatically installed and are no longer required:
  linux-headers-4.4.0-31 linux-headers-4.4.0-31-generic linux-headers-4.4.0-42
  linux-headers-4.4.0-42-generic linux-image-4.4.0-31-generic
  linux-image-4.4.0-42-generic linux-image-extra-4.4.0-31-generic
  linux-image-extra-4.4.0-42-generic
Use 'apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 206 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up openvstorage-health-check (3.4.10-1) ...
Traceback (most recent call last):
  File \"<string>\", line 1, in <module>
ImportError: No module named ovs.extensions.healthcheck.expose_to_cli
dpkg: error processing package openvstorage-health-check (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 openvstorage-health-check"]}

Maybe something to do with the backport of version 3.7.0 with additional tweaks (3.4.9)?

@JeffreyDevloo
Copy link
Contributor

Bighorn has the .pth file to resolve the python path. The backport did not take this into account

@JeffreyDevloo
Copy link
Contributor

Released in https://github.com/openvstorage/openvstorage-health-check/releases/tag/3.4.11
Packaged in openvstorage-health-check_3.4.11-1_amd64.deb

@wimpers wimpers added this to the M milestone Jul 10, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants