swift install not working

Bug #1631657 reported by admin0
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack-Ansible
Invalid
Undecided
Unassigned

Bug Description

stable/newton
ubuntu 16.04

First I installed all other services => keystone,glance,neutron,nova,cinder,heat,ceilometer,aodh
Then I followed this document:

http://docs.openstack.org/developer/openstack-ansible-os_swift/configure-swift-add.html

swift.yml
---

 global_overrides:
   swift:
     storage_network: 'br-storage'
     replication_network: 'br-mgmt'
     part_power: 8
     repl_number: 3
     min_part_hours: 1
     zone: 0
     weight: 100
     mount_point: /srv/node
     drives:
       - name: loop1
       - name: loop2
       - name: loop3
     storage_policies:
      - policy:
         name: gold
         index: 0
         default: True

 swift-proxy-hosts:
  c14:
    ip: 172.29.236.14
  c15:
    ip: 172.29.236.15
  c16:
    ip: 172.29.236.16

 swift_hosts:
  c11:
   ip: 172.29.236.11
   container_vars:
    swift_vars:
     zone: 0

  c12:
   ip: 172.29.236.12
   container_vars:
    swift_vars:
     zone: 0

  c13:
   ip: 172.29.236.13
   container_vars:
    swift_vars:
     zone: 0

Endpoint is added:

root@c14-utility-container-2de13e28:~# openstack endpoint list | grep swift
WARNING: openstackclient.common.utils is deprecated and will be removed after Jun 2017. Please use osc_lib.utils
| 005b84ccf84e4386bc55093e775aa0f2 | NL1 | swift | object-store | True | public | https://cloud101.stack31.com:8080/v1/AUTH_%(tenant_id)s |
| 053945d074b3469bacf25da6499de0a7 | NL1 | swift | object-store | True | admin | http://cloud101int.stack31.com:8080/v1/AUTH_%(tenant_id)s |
| ae66d581d11c4f4095de5b26cf6eb44c | NL1 | swift | object-store | True | internal | http://cloud101int.stack31.com:8080/v1/AUTH_%(tenant_id)s |

https://cloud101.stack31.com:8080 - this does not work !!

grep -ri 8080 /etc/haproxy* does not produce any results...

Full result of openstack-ansible os-swift-install.yml is in the link below. Strange thing is there is no errors in the playbook run.

http://cdn.pasteraw.com/nerdvl3h0wnpkswjyno5w9meew1jsbi

Revision history for this message
Jimmy McCrory (jimmy-mccrory) wrote :

Looks like a typo in the configuration.
The group name should have an underscore where there's a dash.

'swift-proxy_hosts' instead of 'swift-proxy-hosts'

Revision history for this message
admin0 (shashi-eu) wrote :

Thank you for noticing that.

I have fixed that typo, re-run the repo-build and all appropriate playbooks and swift is working fine.

I will change this status to invalid.

Thanks,

Changed in openstack-ansible:
status: New → Invalid
Revision history for this message
Jesse Pretorius (jesse-pretorius) wrote :

See the line 'To install additional services, see the example configuration files in /etc/openstack_deploy/conf.d' in http://docs.openstack.org/developer/openstack-ansible/newton/install-guide/configure.html

I expect that perhaps we could make it a little more obvious in some way.

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.