networking-ansible ml2 manifest fails with dependency cycle error

Bug #1781011 reported by Rabi Mishra
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
puppet-neutron
Medium
Rabi Mishra

Bug Description

TASK [Debug output for task which failed: Run puppet host configuration for step 4] ***
task path: /var/lib/mistral/4cbe92b4-3f82-4511-b409-33edad6f011f/common_deploy_steps_tasks.yaml:172
Tuesday 10 July 2018 15:48:39 +0000 (0:00:18.617) 0:09:04.441 **********
fatal: [reprosubnode-1]: FAILED! => {
    "failed_when_result": true,
    "outputs.stdout_lines | default([]) | union(outputs.stderr_lines | default([]))": [
        "Notice: hiera(): Cannot load backend module_data: cannot load such file -- hiera/backend/module_data_backend",
        "Notice: Scope(Class[Tripleo::Firewall::Post]): At this stage, all network traffic is blocked.",
        "Notice: Compiled catalog for reprosubnode-1.rdocloud in environment production in 4.07 seconds",
        "Changes:",
        "Events:",
        "Resources:",
        "Time:",
        " Last run: 1531237719",
        " Total: 6.98",
        " Config retrieval: 6.98",
        "Version:",
        " Config: 1531237711",
        " Puppet: 4.8.2",
        "Warning: Undefined variable '::deploy_config_name'; ",
        " (file & line not available)",
        "Warning: Undefined variable 'deploy_config_name'; ",
        "Warning: ModuleLoader: module 'neutron' has unresolved dependencies - it will only see those that are resolved. Use 'puppet module list --tree' to see information about modules",
        "Warning: This method is deprecated, please use match expressions with Stdlib::Compat::Array instead. They are described at https://docs.puppet.com/puppet/latest/reference/lang_data_type.html#match-expressions. at [\"/etc/puppet/modules/neutron/manifests/init.pp\", 486]:[\"/etc/puppet/modules/tripleo/manifests/profile/base/neutron/plugins/ml2.pp\", 45]",
        " (at /etc/puppet/modules/stdlib/lib/puppet/functions/deprecation.rb:28:in `deprecation')",
        "Warning: This method is deprecated, please use the stdlib validate_legacy function,",
        " with Stdlib::Compat::Hash. There is further documentation for validate_legacy function in the README. at [\"/etc/puppet/modules/neutron/manifests/config.pp\", 136]:[\"/etc/puppet/modules/tripleo/manifests/profile/base/neutron.pp\", 141]",
        " with Stdlib::Compat::Bool. There is further documentation for validate_legacy function in the README. at [\"/etc/puppet/modules/ntp/manifests/init.pp\", 54]:[\"/etc/puppet/modules/tripleo/manifests/profile/base/time/ntp.pp\", 29]",
        " with Stdlib::Compat::Absolute_Path. There is further documentation for validate_legacy function in the README. at [\"/etc/puppet/modules/ntp/manifests/init.pp\", 55]:[\"/etc/puppet/modules/tripleo/manifests/profile/base/time/ntp.pp\", 29]",
        " with Stdlib::Compat::String. There is further documentation for validate_legacy function in the README. at [\"/etc/puppet/modules/ntp/manifests/init.pp\", 56]:[\"/etc/puppet/modules/tripleo/manifests/profile/base/time/ntp.pp\", 29]",
        " with Stdlib::Compat::Array. There is further documentation for validate_legacy function in the README. at [\"/etc/puppet/modules/ntp/manifests/init.pp\", 66]:[\"/etc/puppet/modules/tripleo/manifests/profile/base/time/ntp.pp\", 29]",
        " with Pattern[]. There is further documentation for validate_legacy function in the README. at [\"/etc/puppet/modules/ntp/manifests/init.pp\", 68]:[\"/etc/puppet/modules/tripleo/manifests/profile/base/time/ntp.pp\", 29]",
        " with Stdlib::Compat::Numeric. There is further documentation for validate_legacy function in the README. at [\"/etc/puppet/modules/ntp/manifests/init.pp\", 76]:[\"/etc/puppet/modules/tripleo/manifests/profile/base/time/ntp.pp\", 29]",
        "Warning: This method is deprecated, please use match expressions with Stdlib::Compat::String instead. They are described at https://docs.puppet.com/puppet/latest/reference/lang_data_type.html#match-expressions. at [\"/etc/puppet/modules/snmp/manifests/params.pp\", 310]:[\"/var/lib/tripleo-config/puppet_step_config.pp\", 39]",
        "Warning: ModuleLoader: module 'oslo' has unresolved dependencies - it will only see those that are resolved. Use 'puppet module list --tree' to see information about modules",
        "Warning: Scope(Neutron::Plugins::Ml2::Type_driver[local]): local type_driver is useful only for single-box, because it provides no connectivity between hosts",
        "Error: Failed to apply catalog: Found 1 dependency cycle:",
        "(Anchor[neutron::config::begin] => File[/etc/neutron/plugin.ini] => Class[Neutron::Plugins::Ml2] => Class[Neutron::Plugins::Ml2::Networking_ansible] => Package[python2-networking-ansible] => Anchor[neutron::install::end] => Anchor[neutron::config::begin])",
        "Try the '--graph' option and opening the resulting '.dot' file in OmniGraffle or GraphViz"
    ]
}

Rabi Mishra (rabi)
Changed in puppet-neutron:
assignee: nobody → Rabi Mishra (rabi)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to puppet-neutron (master)

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

Changed in puppet-neutron:
status: New → In Progress
Changed in puppet-neutron:
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to puppet-neutron (master)

Reviewed: https://review.openstack.org/581420
Committed: https://git.openstack.org/cgit/openstack/puppet-neutron/commit/?id=d6c0500b086ab7500a3a50c245d4696a49d93054
Submitter: Zuul
Branch: master

commit d6c0500b086ab7500a3a50c245d4696a49d93054
Author: rabi <email address hidden>
Date: Tue Jul 10 21:58:47 2018 +0530

    Fix dependency cycle in networking-ansible plugin manifest

    Removes the redundant dependency from networking_ansible.pp.

    Change-Id: I7c52d29e4f147d84c4e34bf7fdd067df827c7949
    Closes-Bug: #1781011

Changed in puppet-neutron:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/puppet-neutron 13.3.0

This issue was fixed in the openstack/puppet-neutron 13.3.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to puppet-neutron (stable/queens)

Fix proposed to branch: stable/queens
Review: https://review.opendev.org/655601

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to puppet-neutron (stable/queens)

Reviewed: https://review.opendev.org/655601
Committed: https://git.openstack.org/cgit/openstack/puppet-neutron/commit/?id=a6a5bd82b59494b97c985fd02eae7f7f69311de5
Submitter: Zuul
Branch: stable/queens

commit a6a5bd82b59494b97c985fd02eae7f7f69311de5
Author: rabi <email address hidden>
Date: Tue Jul 10 21:58:47 2018 +0530

    Fix dependency cycle in networking-ansible plugin manifest

    Removes the redundant dependency from networking_ansible.pp.

    Change-Id: I7c52d29e4f147d84c4e34bf7fdd067df827c7949
    Closes-Bug: #1781011
    (cherry picked from commit d6c0500b086ab7500a3a50c245d4696a49d93054)

tags: added: in-stable-queens
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers