Cannot alias Package[swiftclient] to ["python-swiftclient"], already declared

Bug #1644844 reported by Stanislaw Bogatkin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Committed
Critical
Stanislaw Bogatkin
Mitaka
Invalid
Undecided
Unassigned
Newton
Invalid
Undecided
Unassigned

Bug Description

Master branch is broken for community ISO and it cannot pass tests against UCA packages.
Such an error I met when look at logs:

016-11-25 12:38:32 +0000 Scope(Class[Openstack_tasks::Glance::Glance]) (notice): MODULAR: glance/glance.pp
   2016-11-25 12:38:35 +0000 Scope(Class[Glance::Api]) (warning): default_store not provided, it will be automatically set to glance.store.swift.Store
   2016-11-25 12:38:35 +0000 Scope(Class[Glance::Glare]) (warning): default_store not provided, it will be automatically set to glance.store.swift.Store
   2016-11-25 12:38:36 +0000 Scope(Class[Glance::Notify::Rabbitmq]) (warning): glance::notify::rabbitmq::rabbit_host, glance::notify::rabbitmq::rabbit_hosts, glance::notify::rabbitmq::rabbit_password, glance::noti fy::rabbitmq::rabbit_port, glance::notify::rabbitmq::rabbit_userid and glance::notify::rabbitmq::rabbit_virtual_host are deprecated. Please use glance::notify::rabbitmq::default_transport_url instead.
   2016-11-25 12:38:36 +0000 Scope(Class[Swift::Client]) (warning): Could not look up qualified variable '::swift::client_package_ensure'; class ::swift has not been evaluated
   2016-11-25 12:38:36 +0000 Puppet (err): Puppet::Parser::AST::Resource failed with error ArgumentError: Cannot alias Package[swiftclient] to ["python-swiftclient"] at /etc/puppet/modules/swift/manifests/client.p p:28; resource ["Package", "python-swiftclient"] already declared at /etc/puppet/modules/swift/manifests/client.pp:28 on node node-2.test.domain.local
   /usr/lib/ruby/vendor_ruby/puppet/resource/catalog.rb:137:in `alias'
   /usr/lib/ruby/vendor_ruby/puppet/resource/catalog.rb:111:in `create_resource_aliases'
   /usr/lib/ruby/vendor_ruby/puppet/resource/catalog.rb:90:in `add_one_resource'
   /usr/lib/ruby/vendor_ruby/puppet/resource/catalog.rb:72:in `block in add_resource'
   /usr/lib/ruby/vendor_ruby/puppet/resource/catalog.rb:71:in `each'
   /usr/lib/ruby/vendor_ruby/puppet/resource/catalog.rb:71:in `add_resource'

...

Current master ISO, UCA neurton VLAN test. Example: https://custom-ci.infra.mirantis.net/view/11.0/job/11.0.custom.system_test/5/console

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/402647

Changed in fuel:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-library (master)

Reviewed: https://review.openstack.org/402647
Committed: https://git.openstack.org/cgit/openstack/fuel-library/commit/?id=a4984232b3a8634d836906694bceb34c690a1b06
Submitter: Jenkins
Branch: master

commit a4984232b3a8634d836906694bceb34c690a1b06
Author: Stanislaw Bogatkin <email address hidden>
Date: Fri Nov 25 17:10:54 2016 +0300

    Remove explicit python-swift package declaration from glance

    As python-swift package already defined in glance::backend::swift
    class, don't declaring it explicitly at glance task.

    Change-Id: I5e45cb3b3cde1294a5a9207e5727bd9da9f79238
    Closes-Bug: #1644844

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
Stanislaw Bogatkin (sbogatkin) wrote :

Set as invalid for lower releases as we won't use UCA tests for them.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/fuel-library 11.0.0.0rc1

This issue was fixed in the openstack/fuel-library 11.0.0.0rc1 release candidate.

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.