Swift manfests uses /var/lib/glance

Bug #1274578 reported by Ivan Ponomarev
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Invalid
Medium
Aleksandr Didenko

Bug Description

When I try to install swift-proxy apart of controller and I have got this problem:
ERR (/Stage[main]/Swift/File[/var/lib/glance]) Could not evaluate: Could not find user glance

https://github.com/stackforge/fuel-library/blob/master/deployment/puppet/swift/manifests/init.pp#L52-L58

Tags: puppet swift iso
Dmitry Pyzhov (dpyzhov)
Changed in fuel:
assignee: nobody → Fuel Library Team (fuel-library)
Revision history for this message
Andrey Danin (gcon-monolake) wrote :

Please, provide steps to reprodice and a diagnostic snapshot.

Changed in fuel:
status: New → Incomplete
Revision history for this message
Ivan Ponomarev (ivanzipfer) wrote :

Step to reproduce:
just install openstack::swift::proxy separately of conroller nodes

And I already shown where is located this problem
https://github.com/stackforge/fuel-library/blob/master/deployment/puppet/swift/manifests/init.pp#L52-L58
file is not subscribed on glance user in manifest

And I don't have useful diagnostic snapshot because I create a new role for customer

summary: - Could not evaluate: Could not find user glance
+ Swift manfests uses /var/lib/glance
Revision history for this message
Andrey Danin (gcon-monolake) wrote :

The problem is the dir '/var/lib/glance' is created by Swift manifests. This code was add bu Andrey Korolev as a part of Ubuntu support commit https://github.com/stackforge/fuel-library/commit/c72ef226a3bf9eb4859d7b87e437c0d570c5d342
In order to be able to run swift manifests separately we have to manage a creation of '/var/lib/glance' for Ubuntu somehow.

Changed in fuel:
status: Incomplete → Confirmed
Revision history for this message
Vladimir Kuklin (vkuklin) wrote :

We are going to support this in future after role separation. Right now installation of swift-proxy on the other nodes is not under consideration.

Changed in fuel:
milestone: 4.1 → 5.0
status: Confirmed → Triaged
Changed in fuel:
milestone: 5.0 → 5.1
importance: Undecided → Medium
Revision history for this message
Mike Scherbakov (mihgen) wrote :

Wait - really? I thought we have /var/lib/glance mount point, so it's being created at the pmanager.py time.

Revision history for this message
Ivan Ponomarev (ivanzipfer) wrote :

Yes, we have.
But we don't have glance user and group

Changed in fuel:
assignee: Fuel Library Team (fuel-library) → Aleksandr Didenko (adidenko)
Revision history for this message
Bogdan Dobrelya (bogdando) wrote :
Changed in fuel:
status: Triaged → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related blueprints

Remote bug watches

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