stable/mitaka to latest/trunk undercloud upgrade fails with "2016-06-21 13:16:05 - Error: Invalid parameter dport on Tripleo::Firewall::Rule[101 mongodb_config] on node instack"

Bug #1594895 reported by Marios Andreou
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Triaged
Medium
Marios Andreou

Bug Description

after deploying stable/mitaka I am trying to upgrade that env. Note that I have also applied https://review.openstack.org/#/c/331804 here so services are all stopped before the package update. I enabled latest/trunk repos and disabled stable/mitaka

 Whilst upgrading the undercloud I hit:

        2016-06-21 13:16:01 - Notice: Scope(Class[Tripleo"::Firewall::Post]): At this stage, all network traffic is blocked.
        2016-06-21 13:16:03 - Warning: Scope(Class[Nova::Keystone::Auth]): Note that service_name parameter default value will be changed to "Compute Service" (according to Keystone default catalog) in a future release. In case you use different value, please update your manifests accordingly.
        2016-06-21 13:16:03 - Warning: Scope(Class[Nova::Keystone::Auth]): Note that service_name_v3 parameter default value will be changed to "Compute Service v3" (according to Keystone default catalog) in a future release. In case you use different value, please update your manifests accordingly.
        2016-06-21 13:16:04 - Warning: Scope(Class[Heat]): Default value for rabbit_heartbeat_timeout_threshold parameter is different from OpenStack project defaults
        2016-06-21 13:16:04 - Warning: Scope(Class[Nova::Compute::Ironic]): The admin_username parameter in class nova::compute::ironic is deprecated, use class nova::ironic::common instead.
        2016-06-21 13:16:04 - Warning: Scope(Class[Nova::Compute::Ironic]): The admin_password parameter in class nova::compute::ironic is deprecated, use class nova::ironic::common instead.
        2016-06-21 13:16:04 - Warning: Scope(Class[Nova::Compute::Ironic]): The admin_url parameter in class nova::compute::ironic is deprecated, use class nova::ironic::common instead.
        2016-06-21 13:16:04 - Warning: Scope(Class[Nova::Compute::Ironic]): The admin_tenant_name parameter in class nova::compute::ironic is deprecated, use class nova::ironic::common instead.
        2016-06-21 13:16:04 - Warning: Scope(Class[Nova::Compute::Ironic]): The api_endpoint parameter in class nova::compute::ironic is deprecated, use class nova::ironic::common instead.
        2016-06-21 13:16:05 - Warning: You cannot collect exported resources without storeconfigs being set; the collection will be ignored on line 92 in file /etc/puppet/modules/mistral/manifests/api.pp
        2016-06-21 13:16:05 - Error: Invalid parameter dport on Tripleo::Firewall::Rule[101 mongodb_config] on node instack
        2016-06-21 13:16:05 - Wrapped exception:
        2016-06-21 13:16:05 - Invalid parameter dport
        2016-06-21 13:16:05 - Error: Invalid parameter dport on Tripleo::Firewall::Rule[101 mongodb_config] on node instack
        + rc=1
        + set -e
        + echo 'puppet apply exited with exit code 1'
        puppet apply exited with exit code 1
        + '[' 1 '!=' 2 -a 1 '!=' 0 ']'
        + exit 1
        [2016-06-21 13:16:05,774] (os-refresh-config) [ERROR] during configure phase. [Command '['dib-run-parts', '/usr/libexec/os-refresh-config/configure.d']' returned non-zero exit status 1]

        [2016-06-21 13:16:05,775] (os-refresh-config) [ERROR] Aborting...
        Traceback (most recent call last):
          File "<string>", line 1, in <module>
          File "/usr/lib/python2.7/site-packages/instack_undercloud/undercloud.py", line 1039, in install
            _run_orc(instack_env)
          File "/usr/lib/python2.7/site-packages/instack_undercloud/undercloud.py", line 917, in _run_orc
            _run_live_command(args, instack_env, 'os-refresh-config')
          File "/usr/lib/python2.7/site-packages/instack_undercloud/undercloud.py", line 450, in _run_live_command
            raise RuntimeError('%s failed. See log for details.' % name)
        RuntimeError: os-refresh-config failed. See log for details.
        Command 'instack-install-undercloud' returned non-zero exit status 1
        [stack@instack ~]$

This is already addressed on master branch at

        commit 0bf0f72defc5260346717cf7c9d836342b34ebd6
        Author: James Slagle <email address hidden>
        Date: Wed Apr 20 10:11:36 2016 -0400

            Add dport/sport parameter to firewall rule

            The port parameter to puppetlabs-firewall is actually deprecated[1].
            This adds support for using the new parameter names dport and sport. The
            port parameter is still retained in puppet-tripleo for backwards
            compatibily for anyone using that interface. It is marked deprecated in
            the documentation, however no deprecation warning is needed because
            there is already a warning from from puppetlabs-firewall.

            blueprint undercloud-elements
            Change-Id: I0598007f90018f80a3266193bb24dbf112de49b7

        "Add dport/sport parameter to firewall rule" https://review.openstack.org/#/c/308358/ I0598007f90018f80a3266193bb24dbf112de49b7 puppet-tripleo

This bug is filed for tracking the issue and there are a few more related bugs (related, in the sense that they are likely packaging/and/or backporting issues) and they will be tracked at https://blueprints.launchpad.net/tripleo/+spec/overcloud-upgrades-workflow-mitaka-to-newton whiteboard once I get round to updating that in a few moments

packages like

[stack@instack ~]$ rpm -qa | grep "instack\|tripleo\|openstack\|puppet"
openstack-tripleo-puppet-elements-5.0.0-0.20160613150956.bee7e8b.el7.centos.noarch
openstack-ironic-inspector-3.2.3-0.20160613102244.06443d3.el7.centos.noarch
openstack-aodh-listener-2.0.2-0.20160607162328.7212765.el7.centos.noarch
openstack-tripleo-heat-templates-5.0.0-0.20160621090519.2059931.el7.centos.noarch
openstack-ironic-conductor-5.1.1-0.20160531213225.8d75d2a.el7.centos.noarch
openstack-selinux-0.7.2-1.el7.noarch
openstack-aodh-common-2.0.2-0.20160607162328.7212765.el7.centos.noarch
openstack-utils-2015.2-1.el7.noarch
openstack-sahara-api-4.0.2-0.20160611015244.cf13d95.el7.centos.noarch
openstack-nova-13.0.1-0.20160611000828.c8ec9eb.el7.centos.noarch
openstack-heat-engine-6.0.1-0.20160610190800.4efadc5.el7.centos.noarch
openstack-swift-proxy-2.7.1-0.20160507155743.d75e6d3.el7.centos.noarch
instack-0.0.9-0.20160520194509.5aabf5c.el7.centos.noarch
python-openstackclient-2.3.1-0.20160527090105.2c076ec.el7.centos.noarch
openstack-heat-templates-0.0.1-0.20160608121809.c9c5e15.el7.centos.noarch
openstack-ironic-common-5.1.1-0.20160531213225.8d75d2a.el7.centos.noarch
openstack-glance-12.0.1-0.20160607084838.7eb3d15.el7.centos.noarch
openstack-aodh-notifier-2.0.2-0.20160607162328.7212765.el7.centos.noarch
openstack-ceilometer-central-6.0.1-0.20160607095924.9c08a89.el7.centos.noarch
openstack-sahara-engine-4.0.2-0.20160611015244.cf13d95.el7.centos.noarch
openstack-nova-api-13.0.1-0.20160611000828.c8ec9eb.el7.centos.noarch
openstack-nova-conductor-13.0.1-0.20160611000828.c8ec9eb.el7.centos.noarch
python-openstack-mistral-2.0.1-0.20160614044752.21b2322.el7.centos.noarch
openstack-keystone-9.0.3-0.20160611023307.582596c.el7.centos.noarch
openstack-heat-api-cfn-6.0.1-0.20160610190800.4efadc5.el7.centos.noarch
openstack-swift-container-2.7.1-0.20160507155743.d75e6d3.el7.centos.noarch
openstack-tripleo-image-elements-5.0.0-0.20160613170926.5feb901.el7.centos.noarch
openstack-ceilometer-notification-6.0.1-0.20160607095924.9c08a89.el7.centos.noarch
openstack-ceilometer-collector-6.0.1-0.20160607095924.9c08a89.el7.centos.noarch
openstack-ceilometer-polling-6.0.1-0.20160607095924.9c08a89.el7.centos.noarch
puppet-3.6.2-3.el7.noarch
instack-undercloud-5.0.0-0.20160621061831.dac21d6.el7.centos.noarch
openstack-nova-compute-13.0.1-0.20160611000828.c8ec9eb.el7.centos.noarch
openstack-sahara-4.0.2-0.20160611015244.cf13d95.el7.centos.noarch
openstack-nova-cells-13.0.1-0.20160611000828.c8ec9eb.el7.centos.noarch
openstack-nova-novncproxy-13.0.1-0.20160611000828.c8ec9eb.el7.centos.noarch
openstack-nova-cert-13.0.1-0.20160611000828.c8ec9eb.el7.centos.noarch
openstack-mistral-common-2.0.1-0.20160614044752.21b2322.el7.centos.noarch
openstack-zaqar-2.0.1-0.20160614115924.1fa01e0.el7.centos.noarch
openstack-tempest-12.0.1-0.20160608094305.ebe375c.el7.centos.noarch
openstack-neutron-ml2-8.1.3-0.20160614122838.b3e6bc9.el7.centos.noarch
openstack-neutron-openvswitch-8.1.3-0.20160614122838.b3e6bc9.el7.centos.noarch
openstack-heat-api-6.0.1-0.20160610190800.4efadc5.el7.centos.noarch
openstack-swift-object-2.7.1-0.20160507155743.d75e6d3.el7.centos.noarch
openstack-tripleo-0.0.1-0.20160620225235.99ccd66.el7.centos.noarch
openstack-aodh-evaluator-2.0.2-0.20160607162328.7212765.el7.centos.noarch
openstack-sahara-common-4.0.2-0.20160611015244.cf13d95.el7.centos.noarch
openstack-ceilometer-common-6.0.1-0.20160607095924.9c08a89.el7.centos.noarch
openstack-nova-scheduler-13.0.1-0.20160611000828.c8ec9eb.el7.centos.noarch
openstack-nova-network-13.0.1-0.20160611000828.c8ec9eb.el7.centos.noarch
openstack-ceilometer-api-6.0.1-0.20160607095924.9c08a89.el7.centos.noarch
openstack-aodh-api-2.0.2-0.20160607162328.7212765.el7.centos.noarch
openstack-swift-plugin-swift3-1.10-1.el7.noarch
python2-openstacksdk-0.8.7-0.20160613191808.a136052.el7.centos.noarch
python-tripleoclient-5.0.0-0.20160620224457.ca59d7f.el7.centos.noarch
openstack-heat-common-6.0.1-0.20160610190800.4efadc5.el7.centos.noarch
openstack-neutron-common-8.1.3-0.20160614122838.b3e6bc9.el7.centos.noarch
openstack-neutron-8.1.3-0.20160614122838.b3e6bc9.el7.centos.noarch
openstack-puppet-modules-8.1.1-0.20160609150428.ab63b38.el7.centos.noarch
openstack-cinder-8.0.1-0.20160610162359.acd8e00.el7.centos.noarch
openstack-nova-console-13.0.1-0.20160611000828.c8ec9eb.el7.centos.noarch
openstack-swift-2.7.1-0.20160507155743.d75e6d3.el7.centos.noarch
openstack-ironic-api-5.1.1-0.20160531213225.8d75d2a.el7.centos.noarch
openstack-swift-account-2.7.1-0.20160507155743.d75e6d3.el7.centos.noarch
openstack-tripleo-common-2.0.1-0.20160603143603.82ef955.el7.centos.noarch
openstack-nova-common-13.0.1-0.20160611000828.c8ec9eb.el7.centos.noarch
[stack@instack ~]$

Revision history for this message
Marios Andreou (marios-b) wrote :

this should be addressed by:

"Fix mitaka..newton upgrade for openstack-puppet-modules package" https://review.openstack.org/#/c/332889/ I2b37d2103156b7801f78738f22741183d77e8e2a python-tripleoclient

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.