Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
This project is now read‑only. Starting Monday, February 2, please use https://ibm-ceph.atlassian.net/ for all bug tracking management.

Bug 1507823

Summary: [UPDATES] CREATE_FAILED resources.WorkflowTasks_Step2_Execution Error: /dev/vdb: unrecognised disk label
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Yurii Prokulevych <yprokule>
Component: Ceph-DiskAssignee: Sébastien Han <shan>
Status: CLOSED DUPLICATE QA Contact: Yogev Rabl <yrabl>
Severity: high Docs Contact:
Priority: high    
Version: 2.4CC: augol, gfidente, jjoyce, johfulto, lbezdick, mandreou, mcornea, sathlang, shan
Target Milestone: rc   
Target Release: 2.5   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-11-08 16:23:29 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Yurii Prokulevych 2017-10-31 09:13:29 UTC
Description of problem:
-----------------------
Failed to setup heat's output for minor updates:

openstack overcloud update stack --init-minor-update \
    --container-registry-file images.yaml 2>&1
...
2017-10-31 08:46:17Z [overcloud-AllNodesDeploySteps-6r4iupgnc7c6.WorkflowTasks_Step2_Execution]: UPDATE_COMPLETE  The Resource WorkflowTasks_Step2_ExHeat Stack update failed.
Heat Stack update failed.
ecution requires replacement.
2017-10-31 08:46:17Z [overcloud-AllNodesDeploySteps-6r4iupgnc7c6.WorkflowTasks_Step2_Execution]: CREATE_IN_PROGRESS  state changed
2017-10-31 08:52:22Z [overcloud-AllNodesDeploySteps-6r4iupgnc7c6.WorkflowTasks_Step2_Execution]: CREATE_FAILED  resources.WorkflowTasks_Step2_Execution: ERROR
2017-10-31 08:52:23Z [overcloud-AllNodesDeploySteps-6r4iupgnc7c6]: UPDATE_FAILED  resources.WorkflowTasks_Step2_Execution: ERROR
2017-10-31 08:52:24Z [AllNodesDeploySteps]: UPDATE_FAILED  resources.AllNodesDeploySteps: resources.WorkflowTasks_Step2_Execution: ERROR
2017-10-31 08:52:25Z [overcloud]: UPDATE_FAILED  resources.AllNodesDeploySteps: resources.WorkflowTasks_Step2_Execution: ERROR

 Stack overcloud UPDATE_FAILED 

overcloud.AllNodesDeploySteps.WorkflowTasks_Step2_Execution:
  resource_type: OS::Mistral::ExternalResource
  physical_resource_id: ab327b0e-6552-4a11-9d6e-74f901209f05
  status: CREATE_FAILED
  status_reason: |
    resources.WorkflowTasks_Step2_Execution: ERROR

---
In /var/log/mistral/ceph-install-workflow.log:
...
2017-10-26 07:01:55,011 p=17502 u=mistral |  TASK [ceph-osd : fix partitions gpt header or labels of the osd disks] *********
2017-10-26 07:01:55,049 p=17502 u=mistral |  skipping: [192.168.24.9] => (item=[{'_ansible_parsed': True, 'stderr_lines': [u'Error: /dev/vdb: unrecognised disk label'], '_ansible_item_result': True, u'end': u'20
17-10-26 11:01:54.280857', '_ansible_no_log': False, u'stdout': u'Model: Virtio Block Device (virtblk)\nDisk /dev/vdb: 42.9GB\nSector size (logical/physical): 512B/512B\nPartition Table: unknown\nDisk Flags: ', 
u'cmd': [u'parted', u'--script', u'/dev/vdb', u'print'], u'msg': u'non-zero return code', u'rc': 1, u'start': u'2017-10-26 11:01:54.272220', u'delta': u'0:00:00.008637', 'item': u'/dev/vdb', u'changed': False, u
'invocation': {u'module_args': {u'creates': None, u'executable': None, u'_uses_shell': False, u'_raw_params': u'parted --script /dev/vdb print', u'removes': None, u'warn': True, u'chdir': None, u'stdin': None}},
 'stdout_lines': [u'Model: Virtio Block Device (virtblk)', u'Disk /dev/vdb: 42.9GB', u'Sector size (logical/physical): 512B/512B', u'Partition Table: unknown', u'Disk Flags: '], 'failed_when_result': False, u'st
derr': u'Error: /dev/vdb: unrecognised disk label', u'failed': False}, u'/dev/vdb']) 
...

Version-Release number of selected component (if applicable):
-------------------------------------------------------------
ceph-ansible-3.0.3-1.el7cp.noarch
puppet-ceph-2.4.2-0.20170927195215.718a5ff.el7ost.noarch


Steps to Reproduce:
-------------------
1. Install RHOS-12
2. Install latest repos on uc/oc, prepare latest containers
3. Update uc
4. Apply patches https://review.openstack.org/#/q/topic:bp/tripleo-common-ansible-python-api+(status:open+OR+status:merged
5. Restart mistral/heat on uc
6. Try to setup heat's output:
 openstack overcloud update stack --init-minor-update \
    --container-registry-file images.yaml

Actual results:
---------------
Failed to setup heat's output


Additional info:
----------------
Virtual setup: 3controllers + 2computes + 3ceph

Comment 5 John Fulton 2017-11-08 16:23:29 UTC

*** This bug has been marked as a duplicate of bug 1490283 ***