[fuel-menu] fuelmenu verification failed with error: Could not match _ at line 1 on node fuel.domain.tld

Bug #1542321 reported by Sergey Kulanov
24
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
Critical
Matthew Mosesohn
8.0.x
Fix Released
Critical
Fuel Python (Deprecated)
Mitaka
Fix Released
Critical
Matthew Mosesohn

Bug Description

fulemenu verification command failed with error:

/var/log/puppet/fuelmenu-puppet.log:

2016-02-05 13:12:35 +0000 Puppet (info): Loading facts
2016-02-05 13:12:35 +0000 Puppet (debug): Loading facts from /etc/puppet/modules/l23network/lib/facter/fqdn_hostname.rb
2016-02-05 13:12:35 +0000 Puppet (debug): Loading facts from /etc/puppet/modules/l23network/lib/facter/ovs_vlan_splinters.rb
2016-02-05 13:12:35 +0000 Puppet (debug): Loading facts from /etc/puppet/modules/l23network/lib/facter/check_kern_module.rb
2016-02-05 13:12:35 +0000 Puppet (debug): Loading facts from /etc/puppet/modules/l23network/lib/facter/openvswitch.rb
2016-02-05 13:12:35 +0000 Puppet (debug): Loading facts from /etc/puppet/modules/l23network/lib/facter/default_route.rb
2016-02-05 13:12:35 +0000 Puppet (debug): Loading facts from /etc/puppet/modules/l23network/lib/facter/l23_os.rb
2016-02-05 13:12:35 +0000 Puppet (info): Loading facts
2016-02-05 13:12:35 +0000 Puppet (debug): Loading facts from /etc/puppet/modules/galera/lib/facter/mysql_log_file_size_real.rb
2016-02-05 13:12:35 +0000 Puppet (debug): Loading facts from /etc/puppet/modules/galera/lib/facter/galera_gcomm_empty.rb
2016-02-05 13:12:35 +0000 Puppet (info): Loading facts
2016-02-05 13:12:35 +0000 Puppet (debug): Loading facts from /etc/puppet/modules/stdlib/lib/facter/facter_dot_d.rb
2016-02-05 13:12:35 +0000 Puppet (debug): Loading facts from /etc/puppet/modules/stdlib/lib/facter/puppet_vardir.rb
2016-02-05 13:12:35 +0000 Puppet (debug): Loading facts from /etc/puppet/modules/stdlib/lib/facter/pe_version.rb
2016-02-05 13:12:35 +0000 Puppet (debug): Loading facts from /etc/puppet/modules/stdlib/lib/facter/root_home.rb
2016-02-05 13:12:38 +0000 Puppet (debug): Evicting cache entry for environment 'production'
2016-02-05 13:12:38 +0000 Puppet (debug): Caching environment 'production' (ttl = 0 sec)
2016-02-05 13:12:38 +0000 Puppet (err): Could not parse for environment production: Could not match _ at line 1 on node fuel.domain.tld
2016-02-05 13:12:38 +0000 Puppet (err): Could not parse for environment production: Could not match _ at line 1 on node fuel.domain.tld

because of incorrect (sparse string):
K _ m o d < | t i t l e = = " b o n d i n g " | > { e n s u r e = > a b s e n t

/var/log/fuelmenu.log:
2016-02-05 13:24:49,063 DEBUG Preparing screen UI for Network Setup
2016-02-05 13:24:49,065 DEBUG Preparing screen UI for Fuel User
2016-02-05 13:24:52,337 INFO Checking and applying module: Fuel User
2016-02-05 13:24:52,365 INFO Saving module: Fuel User
2016-02-05 13:24:52,365 INFO Checking and applying module: Network Setup
2016-02-05 13:24:52,368 DEBUG Executing command: arping -D -c3 -w1 -I eth0 -s 10.20.0.2 10.20.0.2
2016-02-05 13:24:54,375 DEBUG Command executed with exit code: 0
2016-02-05 13:24:54,376 INFO Puppet data: [{'type': 'literal', 'name': 'K_mod <| title == "bonding" |> {ensure => absent} '}, {'params': {'install_bondtool': False}, 'type': 'resource', 'class': 'class', 'name': 'l23network'}, {'params': {'check_by_ping': 'none', 'ipaddr': '10.20.0.2/24'}, 'type': 'resource', 'class': 'l23network::l3::ifconfig', 'name': 'eth0'}]
2016-02-05 13:24:54,378 INFO Puppet start
2016-02-05 13:24:54,378 DEBUG puppet apply -d -v --logdest /var/log/puppet/fuelmenu-puppet.log
2016-02-05 13:24:54,378 DEBUG K _ m o d < | t i t l e = = " b o n d i n g " | > { e n s u r e = > a b s e n t } class { "l23network": install_bondtool => false, } l23network::l3::ifconfig { "eth0": check_by_ping => "none", ipaddr => "10.20.0.2/24", }
2016-02-05 13:24:54,378 DEBUG Executing command: puppet apply -d -v --logdest /var/log/puppet/fuelmenu-puppet.log
2016-02-05 13:24:57,720 DEBUG Command executed with exit code: 1
2016-02-05 13:24:57,720 ERROR Exit code: 1. Error: Stdout:
2016-02-05 13:24:57,720 ERROR Puppet apply failed

We need to revert both:
https://review.openstack.org/#/q/Ib50c2d3672f7e10cff5cc3c29d7b3dbf5d428a86
https://review.openstack.org/#/c/275635/
https://review.openstack.org/#/c/275271/

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

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

Changed in fuel:
assignee: Fuel Python Team (fuel-python) → Matthew Mosesohn (raytrac3r)
status: New → In Progress
tags: added: regression-8.0 team-bugfix
tags: added: module-fuelmenu
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-menu (stable/8.0)

Fix proposed to branch: stable/8.0
Review: https://review.openstack.org/276748

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

Reviewed: https://review.openstack.org/276736
Committed: https://git.openstack.org/cgit/openstack/fuel-menu/commit/?id=827363920da9e021413d0918393390b9327c2346
Submitter: Jenkins
Branch: master

commit 827363920da9e021413d0918393390b9327c2346
Author: Matthew Mosesohn <email address hidden>
Date: Fri Feb 5 17:43:57 2016 +0400

    Fix literal string builder for puppet class

    Change-Id: I30e12ca8b2c2a7edb14d2748e037fe442a1dd7c7
    Closes-Bug: #1542321

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-menu (stable/8.0)

Reviewed: https://review.openstack.org/276748
Committed: https://git.openstack.org/cgit/openstack/fuel-menu/commit/?id=78ffc73065a9674b707c081d128cb7eea611474f
Submitter: Jenkins
Branch: stable/8.0

commit 78ffc73065a9674b707c081d128cb7eea611474f
Author: Matthew Mosesohn <email address hidden>
Date: Fri Feb 5 17:43:57 2016 +0400

    Fix literal string builder for puppet class

    Change-Id: I30e12ca8b2c2a7edb14d2748e037fe442a1dd7c7
    Closes-Bug: #1542321

tags: added: on-verification
Revision history for this message
Andrey Sledzinskiy (asledzinskiy) wrote :

verified on 8.0-552

tags: removed: on-verification
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-menu (master)

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

Revision history for this message
Matthew Mosesohn (raytrac3r) wrote :

#6 this is for another bug and doesn't need to be reopened

Revision history for this message
ElenaRossokhina (esolomina) wrote :

Verified on 9.0 iso#308
cat /etc/fuel_build_id:
 308
cat /etc/fuel_build_number:
 308
cat /etc/fuel_release:
 9.0
cat /etc/fuel_openstack_version:
 mitaka-9.0
rpm -qa | egrep 'fuel|astute|network-checker|nailgun|packetary|shotgun':
 fuel-release-9.0.0-1.mos6344.noarch
 network-checker-9.0.0-1.mos72.x86_64
 fuel-openstack-metadata-9.0.0-1.mos8681.noarch
 python-fuelclient-9.0.0-1.mos313.noarch
 fuel-9.0.0-1.mos6344.noarch
 fuel-nailgun-9.0.0-1.mos8681.noarch
 rubygem-astute-9.0.0-1.mos742.noarch
 fuel-misc-9.0.0-1.mos8338.noarch
 fuel-library9.0-9.0.0-1.mos8338.noarch
 shotgun-9.0.0-1.mos88.noarch
 fuel-agent-9.0.0-1.mos276.noarch
 fuel-ui-9.0.0-1.mos2677.noarch
 fuel-setup-9.0.0-1.mos6344.noarch
 nailgun-mcagents-9.0.0-1.mos742.noarch
 fuel-provisioning-scripts-9.0.0-1.mos8681.noarch
 python-packetary-9.0.0-1.mos135.noarch
 fuel-bootstrap-cli-9.0.0-1.mos276.noarch
 fuel-migrate-9.0.0-1.mos8338.noarch
 fuel-mirror-9.0.0-1.mos135.noarch
 fuel-notify-9.0.0-1.mos8338.noarch
 fuel-ostf-9.0.0-1.mos933.noarch
 fuelmenu-9.0.0-1.mos270.noarch
 fuel-utils-9.0.0-1.mos8338.noarch

Changed in fuel:
status: Fix Committed → Fix Released
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.