RDO tickets are now tracked in Jira https://issues.redhat.com/projects/RDO/issues/
Bug 1235139 - [F22-Packstack-Kilo] Error: Could not find dependency Package[openstack-swift] for File[/srv/node] at /var/tmp/packstack/b77f37620d9f4794b6f38730442962b6/manifests/xxx.xxx.xxx.xxx_swift.pp:90
Summary: [F22-Packstack-Kilo] Error: Could not find dependency Package[openstack-swift...
Keywords:
Status: CLOSED EOL
Alias: None
Product: RDO
Classification: Community
Component: openstack-packstack
Version: Kilo
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
: Kilo
Assignee: Martin Magr
QA Contact: Shai Revivo
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-06-24 07:08 UTC by Astian Seb
Modified: 2016-05-19 15:44 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-05-19 15:44:48 UTC
Embargoed:


Attachments (Terms of Use)

Description Astian Seb 2015-06-24 07:08:23 UTC
Description of problem:
Error happens when running on Fedora 22 fresh "packstack --allinone":
PuppetError: Error appeared during Puppet run: XXX.XXX.XXX.XXX_swift.pp
Error: Could not find dependency Package[openstack-swift] for File[/srv/node] at /var/tmp/packstack/b77f37620d9f4794b6f38730442962b6/manifests/XXX.XXX.XXX.XXX_swift.pp:90



Version-Release number of selected component (if applicable):
1. Fedora 22 (with fresh update via yum)

yum repolist
repo id                                                         repo name                                                                      status
*fedora                                                         Fedora 22 - x86_64                                                             44,762
openstack-kilo                                                  OpenStack Kilo Repository                                                         237
*updates                                                        Fedora 22 - x86_64 - Updates                                                    5,062


2. openstack-kilo (installed via: yum install -y https://rdoproject.org/repos/rdo-release.rpm)

How reproducible:
100%

Steps to Reproduce:
1.install fresh F22
2."yum -y update" + reboot
3."yum install -y https://rdoproject.org/repos/rdo-release.rpm"
4. "packstack --allinone"
5. you hit bug: https://bugzilla.redhat.com/show_bug.cgi?id=1234042 and solve it with workarounf #1
6. run again packstack with previously generated answer file
7. you hit this issue

Actual results:
tail /var/tmp/packstack/20150623-064841-QqLXmn/openstack-setup.log
PuppetError: Error appeared during Puppet run: xxx.xxx.xxx.xxx_swift.pp
Error: Could not find dependency Package[openstack-swift] for File[/srv/node] at /var/tmp/packstack/b77f37620d9f4794b6f38730442962b6/manifests/xxx.xxx.xxx.xxx_swift.pp:90

tail /var/tmp/packstack/20150623-064841-qLXmn/manifests/xxx.xxx.xxx.xxx_swift.pp.log
Error: Could not find dependency Package[openstack-swift] for File[/srv/node] at /var/tmp/packstack/b77f37620d9f4794b6f38730442962b6/manifests/
xxx.xxx.xxx.xxx_swift.pp:90


Expected results:
packstack should run smoothly

Additional info:
Looks like dependency in swift_storage.pp is not met:

if (!defined(File['/srv/node'])) {
  file { '/srv/node':
    ensure  => directory,
    owner   => 'swift',
    group   => 'swift',
    require => Package['openstack-swift'],
  }

But how to solve it?

Comment 1 Astian Seb 2015-07-01 05:35:16 UTC
Solved in:
https://bugzilla.redhat.com/show_bug.cgi?id=1234785

Comment 3 Chandan Kumar 2016-05-19 15:44:48 UTC
This bug is against a Version which has reached End of Life.
If it's still present in supported release (http://releases.openstack.org), please update Version and reopen.


Note You need to log in before you can comment on or make changes to this bug.