duplicate declaration of swift in keystone service

Bug #1383315 reported by Denis Egorenko
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Committed
High
Andrew Woodward

Bug Description

{"build_id": "2014-10-16_20-18-23", "ostf_sha": "de177931b53fbe9655502b73d03910b8118e25f1", "build_number": "75", "auth_required": true, "api": "1.0", "nailgun_sha": "0f6314e60808f84ab7eb86a1da57f91fd569f77a", "production": "docker", "fuelmain_sha": "5cf06aac43ccb4a6031fbfa87ff9f9a729314daa", "astute_sha": "c3e7c7a18528cf9acca48021488a93dff74f5c97", "feature_groups": ["mirantis"], "release": "6.0", "release_versions": {"2014.2-6.0": {"VERSION": {"build_id": "2014-10-16_20-18-23", "ostf_sha": "de177931b53fbe9655502b73d03910b8118e25f1", "build_number": "75", "api": "1.0", "nailgun_sha": "0f6314e60808f84ab7eb86a1da57f91fd569f77a", "production": "docker", "fuelmain_sha": "5cf06aac43ccb4a6031fbfa87ff9f9a729314daa", "astute_sha": "c3e7c7a18528cf9acca48021488a93dff74f5c97", "feature_groups": ["mirantis"], "release": "6.0", "fuellib_sha": "aaffaab911edc5720be4bdc7e6369e6ab927d662"}}}, "fuellib_sha": "aaffaab911edc5720be4bdc7e6369e6ab927d662"}

Mon Oct 20 12:59:44 +0000 2014 Puppet (err): Duplicate declaration: Keystone_service[swift] is already declared in file /etc/puppet/modules/ceph/manifests/keystone.pp:12; cannot redeclare at /etc/puppet/modules/swift/manifests/keystone/auth.pp:63 on node node-15.domain.tld

Steps to reproduce:
1) Deploy HA Ubuntu;
2) Neutron GRE;
3) Controller, Compute + Ceph OSD (nova, glance, cinder, rados);

description: updated
description: updated
description: updated
Changed in fuel:
assignee: nobody → Fuel Library Team (fuel-library)
Changed in fuel:
milestone: none → 6.0
Stanislav Makar (smakar)
Changed in fuel:
importance: Undecided → High
importance: High → Medium
Changed in fuel:
status: New → Confirmed
Revision history for this message
Dmitry Borodaenko (angdraug) wrote :

reported version contains fuellib_sha that doesn't exist in fuel-library master branch:
https://github.com/stackforge/fuel-library/commit/aaffaab911edc5720be4bdc7e6369e6ab927d662

Revision history for this message
Dmitry Borodaenko (angdraug) wrote :

The fix for bug #1375254 is related to this problem, please check if the problem still exists with a more recent 6.0 iso (anything built on 2014-10-17 or later). If the problem no longer exists, please mark as duplicate, otherwise please reopen.

Changed in fuel:
status: Confirmed → Incomplete
assignee: Fuel Library Team (fuel-library) → Denis Egorenko (degorenko)
Revision history for this message
Ryan Moe (rmoe) wrote :

I ran into this problem on custom ISO #187 built on 10/23. It occurs for me on CentOS as well.

Revision history for this message
Andrew Woodward (xarses) wrote :

Reproduced on ubuntu with

{"build_id": "2014-10-16_00-01-06", "ostf_sha": "de177931b53fbe9655502b73d03910b8118e25f1", "build_number": "25", "auth_required": true, "api": "1.0", "nailgun_sha": "d9facd6a32293da786b738d1a9b1459e36aa3006", "production": "docker", "fuelmain_sha": "18b8264c17782c4dbb77412d3d4fe256a2083d7d", "astute_sha": "c3e7c7a18528cf9acca48021488a93dff74f5c97", "feature_groups": ["mirantis"], "release": "6.0", "release_versions": {"2014.2-6.0": {"VERSION": {"build_id": "2014-10-16_00-01-06", "ostf_sha": "de177931b53fbe9655502b73d03910b8118e25f1", "build_number": "25", "api": "1.0", "nailgun_sha": "d9facd6a32293da786b738d1a9b1459e36aa3006", "production": "docker", "fuelmain_sha": "18b8264c17782c4dbb77412d3d4fe256a2083d7d", "astute_sha": "c3e7c7a18528cf9acca48021488a93dff74f5c97", "feature_groups": ["mirantis"], "release": "6.0", "fuellib_sha": "e69736145022948170f7dfd549ca6b7353201619"}}}, "fuellib_sha": "e69736145022948170f7dfd549ca6b7353201619"}

Changed in fuel:
importance: Medium → High
Revision history for this message
Dmitry Borodaenko (angdraug) wrote :

Confirmed as not a duplicate, reassigned to Aleksandr who fixed bug #1375254.

Changed in fuel:
status: Incomplete → Confirmed
assignee: Denis Egorenko (degorenko) → Aleksandr Didenko (adidenko)
Revision history for this message
Andrew Woodward (xarses) wrote :

reproduced on today's ISO 46

{"build_id": "2014-10-24_00-01-06", "ostf_sha": "de177931b53fbe9655502b73d03910b8118e25f1", "build_number": "46", "auth_required": true, "api": "1.0", "nailgun_sha": "31b5e4e591926633e45384a0a817e90d190806f3", "production": "docker", "fuelmain_sha": "7b34d04edb929659dad5fa4ddb224346d4e74ec3", "astute_sha": "97eea90efe0a1f17b4934919d6e459d270c10372", "feature_groups": ["mirantis", "techpreview"], "release": "6.0", "release_versions": {"2014.2-6.0": {"VERSION": {"build_id": "2014-10-24_00-01-06", "ostf_sha": "de177931b53fbe9655502b73d03910b8118e25f1", "build_number": "46", "api": "1.0", "nailgun_sha": "31b5e4e591926633e45384a0a817e90d190806f3", "production": "docker", "fuelmain_sha": "7b34d04edb929659dad5fa4ddb224346d4e74ec3", "astute_sha": "97eea90efe0a1f17b4934919d6e459d270c10372", "feature_groups": ["mirantis", "techpreview"], "release": "6.0", "fuellib_sha": "cf39a7503c5a6006ed7a4f2b46b2ef43d7d4dda8"}}}, "fuellib_sha": "cf39a7503c5a6006ed7a4f2b46b2ef43d7d4dda8"}

Changed in fuel:
status: Confirmed → Opinion
status: Opinion → Confirmed
Revision history for this message
Andrew Woodward (xarses) wrote :

caused by https://github.com/stackforge/fuel-library/commit/ce6cb357b0ac94ec35227d5b72fdeab0d073a2df?diff=unified#diff-7f3e62a19e69053cb3ec40b05798a557R245

storage:
  iser: false
  volumes_ceph: true
  objects_ceph: true
  vc_user: ''
  volumes_lvm: false
  osd_pool_size: '2'
  vc_datastore: ''
  images_vcenter: false
  vc_host: ''
  ephemeral_ceph: true
  vc_image_dir: "/openstack_glance"
  volumes_vmdk: false
  pg_num: 256
  vc_datacenter: ''
  vc_password: ''
  images_ceph: true

Changed in fuel:
status: Confirmed → Triaged
Revision history for this message
Andrew Woodward (xarses) wrote :

Testing changing from or to and

I: images_ceph
O: objects_ceph
V: images_vcenter
R: expected result

items = [
  # I, O, V, R
  (True, True, True, False), #Shouldn't happen
  (True, False, True, False),
  (False, False, True, False),
  (True, True, False, False),
  (False, True, True, False),
  (False, True, False, True),
  (True, False, False, True),
  (False, False, False, True),]

def result((i,o,v,r)):
  result = not (i and o) and not v
  print "not (%s and %s) and not %s .. expected %s, got %s" %(i, o, v, r, result)
  return result == r

# In python interperter
>>> for each in items: result(each)...
not (True and True) and not True .. expected False, got False
True
not (True and False) and not True .. expected False, got False
True
not (False and False) and not True .. expected False, got False
True
not (True and True) and not False .. expected False, got False
True
not (False and True) and not True .. expected False, got False
True
not (False and True) and not False .. expected True, got True
True
not (True and False) and not False .. expected True, got True
True
not (False and False) and not False .. expected True, got True
True

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-library (master)

Fix proposed to branch: master
Review: https://review.openstack.org/130908

Changed in fuel:
assignee: Aleksandr Didenko (adidenko) → Andrew Woodward (xarses)
status: Triaged → In Progress
Revision history for this message
Andrew Woodward (xarses) wrote :

Note: I don't think we need to prevent swift from installing when using vcenter for images though, we should just prevent swift from being set as the images provider. but that's for another bug

Revision history for this message
Andrew Woodward (xarses) wrote :
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on fuel-library (master)

Change abandoned by Andrew Woodward (<email address hidden>) on branch: master
Review: https://review.openstack.org/130908
Reason: duplicate review from duplicate bug

Changed in fuel:
status: In Progress → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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