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

Bug 1070907

Summary: openstack-foreman-installer: swift parameter mismatch between swift_storage host group and controller host group
Product: Red Hat OpenStack Reporter: Dafna Ron <dron>
Component: openstack-foreman-installerAssignee: Jason Guiditta <jguiditt>
Status: CLOSED NOTABUG QA Contact: Ami Jeain <ajeain>
Severity: high Docs Contact:
Priority: unspecified    
Version: 4.0CC: cwolfe, morazi, rhos-maint, yeylon
Target Milestone: ---   
Target Release: 5.0 (RHEL 7)   
Hardware: x86_64   
OS: Linux   
Whiteboard: storage
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-05-22 21:28:57 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:
Attachments:
Description Flags
screen shots none

Description Dafna Ron 2014-02-27 17:11:43 UTC
Created attachment 868653 [details]
screen shots

Description of problem:

when I add a controller host group these are the swift parameter names: 

swift_admin_password - 68e005b03849f099f02c5162d66425ba
swift_ringserver_ip - 192.168.203.1
swift_shared_secret - 5ea516c30d508b4017f873fd127d0284
swift_storage_device - device1
swift_storage_ips - ["192.168.203.1", "192.168.203.2", "192.168.203.3", "192.168.203.4"]

when I add a swift storage host group these are the swift parameters names and values: 

* swift_all_ips - ["192.168.203.1", "192.168.203.2", "192.168.203.3", "192.168.203.4"]
* swift_ext4_device - /dev/sdc2
* swift_local_interface - eth3
* swift_loopback - true
* swift_ring_server - 192.168.203.1
* swift_shared_secret - 5ea516c30d508b4017f873fd127d0284

As you can see, there is a mismatch between the fields (not just loop being missing but also loopback parameter being missing but also some of names are missing and when it comes to swift_storage_device it's really unclear what device1 means. 

Version-Release number of selected component (if applicable):

foreman-1.3.0.2-1.el6sat.noarch
openstack-foreman-installer-1.0.4-1.el6ost.noarch
foreman-selinux-1.3.0-1.el6sat.noarch
rubygem-foreman_api-0.1.6-1.el6sat.noarch
foreman-mysql-1.3.0.2-1.el6sat.noarch
foreman-mysql2-1.3.0.2-1.el6sat.noarch
ruby193-rubygem-foreman_openstack_simplify-0.0.6-5.el6ost.noarch
foreman-installer-1.3.0-1.el6sat.noarch
foreman-proxy-1.3.0-3.el6sat.noarch

How reproducible:

100%

Steps to Reproduce:
1. select host group controller nova for one host
2. select host group swift_storage for second host 
3.

Actual results:

parameters names are not the same, some are missing, some of the values are not the same. 

Expected results:

I know that we are about to change foreman but the parameters names and values should have constancy and might be also related to the changes worked on.  

Additional info: screen shots

Comment 1 Crag Wolfe 2014-05-22 21:25:47 UTC
I believe this is mainly a documentation issue.  "device1" is the standard place that swift exposes the first device under /srv/node.  See https://github.com/redhat-openstack/astapor/pull/114 for a description of the parameters.