old.fuellib_review_syntax_check is failing

Bug #1619642 reported by Alexey Stupnikov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
High
Maksim Malchuk

Bug Description

It looks like old version of fuel_syntax_check.sh is used in stable/7.0 branch of fuel-library. There is no recent patches like https://review.openstack.org/#/c/342896/ there. At the same time it looks like puppet manifests checks generate puppet4 specific errors (see below). Please investigate.

Checking /home/jenkins/workspace/old.fuellib_review_syntax_check/deployment/puppet/ceph
Using rake lint
Fetching gem metadata from https://rubygems.org/.........
Resolving dependencies...
Using rake 11.2.2
Using CFPropertyList 2.2.8
Using diff-lcs 1.2.5
Using facter 2.4.6
Using json_pure 2.0.2
Using hiera 1.3.4
Using metaclass 0.0.4
Using mocha 1.1.0
Using puppet 3.8.7
Using puppet-lint 0.3.2
Using puppet-syntax 2.1.0
Using rspec-support 3.5.0
Using rspec-core 3.5.2
Using rspec-expectations 3.5.0
Using rspec-mocks 3.5.0
Using rspec 3.5.0
Using rspec-puppet 2.1.0
Using puppetlabs_spec_helper 1.1.1
Using bundler 1.7.6
Your bundle is updated!
** Invoke lint (first_time)
** Execute lint
manifests/osds/osd.pp - WARNING: defined type not documented on line 1
Error: Could not parse for environment production: This Array Expression has no effect. A Host Class Definition can not end with a value-producing expression without other effect at /home/jenkins/workspace/old.fuellib_review_syntax_check/deployment/puppet/ceph/manifests/radosgw.pp:237:11
FAILED checking ./manifests/radosgw.pp, return code was 1

Checking /home/jenkins/workspace/old.fuellib_review_syntax_check/deployment/puppet/galera
Using puppet-lint
./manifests/init.pp - WARNING: class included by relative name on line 106
./manifests/init.pp - WARNING: missing documentation for class parameter galera::use_syslog on line 93
./manifests/init.pp - WARNING: missing documentation for class parameter galera::gcomm_port on line 94
./manifests/init.pp - WARNING: missing documentation for class parameter galera::status_check on line 95
./manifests/init.pp - WARNING: missing documentation for class parameter galera::wsrep_sst_password on line 97
Error: Could not parse for environment production: This Array Expression has no effect. A value was produced and then forgotten (one or more preceding expressions may have the wrong form) at /home/jenkins/workspace/old.fuellib_review_syntax_check/deployment/puppet/galera/manifests/init.pp:347:16
FAILED checking ./manifests/init.pp, return code was 1

Checking /home/jenkins/workspace/old.fuellib_review_syntax_check/deployment/puppet/murano
Using puppet-lint
Error: Could not parse for environment production: The parameter 'public_port' is declared more than once in the parameter list at /home/jenkins/workspace/old.fuellib_review_syntax_check/deployment/puppet/murano/manifests/keystone/auth.pp:131:3
FAILED checking ./manifests/keystone/auth.pp, return code was 1

Checking /home/jenkins/workspace/old.fuellib_review_syntax_check/deployment/puppet/sahara
Using puppet-lint
Error: Could not parse for environment production: The parameter 'public_port' is declared more than once in the parameter list at /home/jenkins/workspace/old.fuellib_review_syntax_check/deployment/puppet/sahara/manifests/keystone/auth.pp:131:3
FAILED checking ./manifests/keystone/auth.pp, return code was 1

Example review: https://review.openstack.org/#/c/364432/
Example job: https://ci.fuel-infra.org/job/old.fuellib_review_syntax_check/331/consoleFull

Changed in fuel:
assignee: Fuel CI (fuel-ci) → Dmitry Kaigarodеsev (dkaiharodsev)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-library (stable/7.0)

Fix proposed to branch: stable/7.0
Review: https://review.openstack.org/365639

Changed in fuel:
assignee: Dmitry Kaigarodеsev (dkaiharodsev) → Maksim Malchuk (mmalchuk)
status: Confirmed → In Progress
tags: added: area-library
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-library (stable/7.0)

Reviewed: https://review.openstack.org/365639
Committed: https://git.openstack.org/cgit/openstack/fuel-library/commit/?id=2e855d47b2b656d25edf6859510c8b5def4796fd
Submitter: Jenkins
Branch: stable/7.0

commit 2e855d47b2b656d25edf6859510c8b5def4796fd
Author: Maksim Malchuk <email address hidden>
Date: Mon Sep 5 16:16:35 2016 +0300

    Fix syntax errors in the manifests

    Change-Id: I6cd1ba634c1d814ebf0831bb4cce5a2e9383c3ba
    Closes-Bug: #1619642
    Signed-off-by: Maksim Malchuk <email address hidden>

Changed in fuel:
milestone: 7.0-updates → 7.0-mu-6
status: In Progress → Fix Committed
Revision history for this message
Ekaterina Shutova (eshutova) wrote :
tags: added: on-verification
Changed in fuel:
status: Fix Committed → Fix Released
tags: removed: on-verification
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to fuel-library (stable/7.0)

Related fix proposed to branch: stable/7.0
Review: https://review.openstack.org/376641

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to fuel-library (stable/7.0)

Reviewed: https://review.openstack.org/376641
Committed: https://git.openstack.org/cgit/openstack/fuel-library/commit/?id=c56d4e4783f2591136eaf250467aeb38a5f18b89
Submitter: Jenkins
Branch: stable/7.0

commit c56d4e4783f2591136eaf250467aeb38a5f18b89
Author: Maksim Malchuk <email address hidden>
Date: Mon Sep 26 19:58:45 2016 +0300

    Fix syntax errors in the manifests

    Change-Id: I397bbd2142d9b39bbc88e81966aea72bb084b4e7
    Related-Bug: #1619642
    Related-Bug: #1504128
    Signed-off-by: Maksim Malchuk <email address hidden>

Changed in fuel:
milestone: 7.0-mu-6 → 7.0-updates
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.