Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1248374

Summary: installation with templates failed with error: KeyError: 'pid'
Product: Red Hat OpenStack Reporter: Yogev Rabl <yrabl>
Component: rhosp-directorAssignee: Jiri Stransky <jstransk>
Status: CLOSED CURRENTRELEASE QA Contact: yeylon <yeylon>
Severity: urgent Docs Contact:
Priority: high    
Version: 7.0 (Kilo)CC: calfonso, mburns, rhel-osp-director-maint, sasha, srevivo, yrabl
Target Milestone: ---Keywords: ZStream
Target Release: 7.0 (Kilo)   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-01-06 14:27:10 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:
Bug Depends On:    
Bug Blocks: 1237145    
Attachments:
Description Flags
heat-engine.log none

Description Yogev Rabl 2015-07-30 08:00:57 UTC
Created attachment 1057552 [details]
heat-engine.log

Description of problem:
OSP director installation failed with the errors (see attachment, from heat-engine.log). 
While attempting to verify Bug 1237145, I've modified /usr/share/openstack-tripleo-heat-templates/controller.yaml with the following parameters:
  CinderEnableNfsBackend:
    default: true
    description: Whether to enable or not the NFS backend for Cinder
    type: boolean
  CinderNfsMountOptions:
    default: 'retry=1'
    description: >
      Mount options for NFS mounts used by Cinder NFS backend. Effective
      when CinderEnableNfsBackend is true.
    type: string
  CinderNfsServers:
    default: '192.0.2.1:/exports'
    description: >
      NFS servers used by Cinder NFS backend. Effective when
      CinderEnableNfsBackend is true.
    type: comma_delimited_list

Set the NFS server in the location described in the parameter (according to the instructions that are specified in the bug).
Then ran the installation on controller and compute nodes alone with the command
# openstack overcloud deploy --debug --log-file=overcloud_deploy.log --templates /usr/share/openstack-tripleo-heat-templates/
Version-Release number of selected component (if applicable):
openstack-heat-templates-0-0.6.20150605git.el7ost.noarch
openstack-tripleo-heat-templates-0.8.6-45.el7ost.noarch
openstack-heat-engine-2015.1.0-4.el7ost.noarch
openstack-heat-api-2015.1.0-4.el7ost.noarch
python-heatclient-0.6.0-1.el7ost.noarch
openstack-heat-common-2015.1.0-4.el7ost.noarch
openstack-heat-api-cfn-2015.1.0-4.el7ost.noarch
openstack-heat-api-cloudwatch-2015.1.0-4.el7ost.noarch
heat-cfntools-1.2.8-2.el7.noarch
openstack-tripleo-heat-templates-0.8.6-45.el7ost.noarch
openstack-tripleo-0.0.7-0.1.1664e566.el7ost.noarch
openstack-tripleo-common-0.0.1.dev6-1.git49b57eb.el7ost.noarch
openstack-tripleo-image-elements-0.9.6-6.el7ost.noarch
openstack-tripleo-puppet-elements-0.0.1-4.el7ost.noarch


How reproducible:
unknown

Actual results:
failed installation

Expected results:
a successful installation

Additional info:

Comment 3 Alexander Chuzhoy 2015-07-31 18:33:55 UTC
I was able to deploy with no issues. Here's the command I ran:
openstack overcloud deploy --templates --control-scale 3  --compute-scale 1  --ceph-storage-scale 0 --block-storage-scale 0 --swift-storage-scale 0 -e [path to the yaml file]


The yaml file includes:
parameters:
  CinderEnableIscsiBackend: false
  CinderEnableNfsBackend: true
  CinderNfsMountOptions: 'retry=1'
  CinderNfsServers: [IP:share]

Comment 4 chris alfonso 2015-08-21 16:18:18 UTC
Is this still reproducible?

Comment 5 Red Hat Bugzilla 2023-09-14 03:02:47 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days