sgdisk: command not found in docker-cobbler.log and docker-nailgun.log

Bug #1494301 reported by Sergey Kulanov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
Low
Sergey Kulanov

Bug Description

1. Install ISO #1 - kilo-8.0
2. After successful test passed https://ci.fuel-infra.org/job/master.fuel-library.pkgs.ubuntu.neutron_vlan_ha/864/ we have error messages in logs:
`rgrep sgdisk fuel-snapshot-2015-09-10_12-14-22/*`

fuel-snapshot-2015-09-10_12-14-22/10.109.0.2/var/log/docker-nailgun.log:sh: sgdisk: command not found
fuel-snapshot-2015-09-10_12-14-22/10.109.0.2/var/log/docker-nailgun.log:sh: sgdisk: command not found
fuel-snapshot-2015-09-10_12-14-22/10.109.0.2/var/log/docker-cobbler.log:sh: sgdisk: command not found
fuel-snapshot-2015-09-10_12-14-22/10.109.0.2/var/log/docker-cobbler.log:sh: sgdisk: command not found

Reason:
 This happens because we don't have gdisk package installed on node for gathering facts:

https://github.com/stackforge/fuel-library/blob/master/deployment/puppet/ceph/lib/facter/ceph_osd.rb#L20

Solution:
Check if we have packages installed

description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-library (master)

Fix proposed to branch: master
Review: https://review.openstack.org/222167

Changed in fuel:
assignee: nobody → Sergey Kulanov (skulanov)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-library (master)

Reviewed: https://review.openstack.org/222167
Committed: https://git.openstack.org/cgit/stackforge/fuel-library/commit/?id=b96caa25630479d77b4316c7f006c049b2ebf4cb
Submitter: Jenkins
Branch: master

commit b96caa25630479d77b4316c7f006c049b2ebf4cb
Author: Sergey Kulanov <email address hidden>
Date: Thu Sep 10 15:31:35 2015 +0300

    Handle sgdisk utility missing for ceph facts

    We can have environment without installed gdisk packages
    that is why we need to correctly handle facts, gathering
    with sgdisk utility

    Change-Id: I00882c9fc885afcb9dce5319f4a6a29aa89fd125
    Closes-bug: #1494301

Changed in fuel:
status: In Progress → Fix Committed
Dmitry Pyzhov (dpyzhov)
tags: added: area-library
Revision history for this message
Nastya Urlapova (aurlapova) wrote :
Changed in fuel:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.