Deploying with OVS fails - puppet-user: Error: Function lookup() did not find a value for the name 'ovn_dbs_vip'

Bug #1886841 reported by Harald Jensås
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Invalid
High
Unassigned

Bug Description

Deployment with '/home/centos/tripleo-heat-templates/environments/services/neutron-ovs.yaml' to deploy OVS instead of OVN fails, puppet is doing a lookup for 'ovn_dbs_vip'

Deploy command:

openstack overcloud deploy --templates /home/centos/tripleo-heat-templates \
  -n /home/centos/overcloud/templates/network_data_subnets_routed.yaml \
  -r /home/centos/overcloud/templates/my_roles_data.yaml \
  -e /home/centos/tripleo-heat-templates/environments/enable-swap.yaml \
  -e /home/centos/tripleo-heat-templates/environments/services/neutron-ovs.yaml \
  -e /home/centos/tripleo-heat-templates/environments/services/ironic-overcloud.yaml \
  -e /home/centos/tripleo-heat-templates/environments/network-isolation.yaml \
  -e /home/centos/tripleo-heat-templates/environments/network-environment.yaml \
  -e /home/centos/overcloud/nic-configs/net-multiple-nics.yaml \
  -e /home/centos/overcloud/environments/node_data.yaml

2020-07-08T13:29:58.785024983+00:00 stdout F include ::tripleo::packages
2020-07-08T13:29:58.785024983+00:00 stdout F include tripleo::profile::base::neutron::agents::networking_baremetal
2020-07-08T13:29:58.785024983+00:00 stdout F include tripleo::profile::base::neutron::server
2020-07-08T13:29:58.785024983+00:00 stdout F include tripleo::profile::base::database::mysql::client
2020-07-08T13:29:58.785024983+00:00 stdout F include tripleo::profile::base::neutron::plugins::ml2
2020-07-08T13:29:58.785024983+00:00 stdout F
2020-07-08T13:29:58.785024983+00:00 stdout F include tripleo::profile::base::neutron::dhcp
2020-07-08T13:29:58.785024983+00:00 stdout F
2020-07-08T13:29:58.785024983+00:00 stdout F include tripleo::profile::base::neutron::l3
2020-07-08T13:29:58.785024983+00:00 stdout F
2020-07-08T13:29:58.785024983+00:00 stdout F include tripleo::profile::base::neutron::metadata
2020-07-08T13:29:58.785024983+00:00 stdout F
2020-07-08T13:29:58.785024983+00:00 stdout F include tripleo::profile::base::neutron::ovs
2020-07-08T13:29:58.785024983+00:00 stdout F
2020-07-08T13:29:58.967792263+00:00 stdout F Running puppet
2020-07-08T13:29:58.970708674+00:00 stderr F + /usr/bin/puppet apply --summarize --detailed-exitcodes --color=false --modulepath=/etc/puppet/modules:/usr/share/openstack-puppet/modules --tags '"file,file_line,concat,augeas,cron,neutron_config,ironic_neutron_agent_config,neutron_config,neutron_api_config,neutron_plugin_ml2,neutron_config,neutron_dhcp_agent_config,neutron_config,neutron_l3_agent_config,neutron_config,neutron_metadata_agent_config,neutron_config,neutron_agent_ovs,neutron_plugin_ml2"' /etc/config.pp
2020-07-08T13:29:59.012229935+00:00 stderr F + logger -s -t puppet-user
2020-07-08T13:30:29.023398489+00:00 stderr F <13>Jul 8 13:29:58 puppet-user: Warning: /etc/puppet/hiera.yaml: Use of 'hiera.yaml' version 3 is deprecated. It should be converted to version 5
2020-07-08T13:30:29.023398489+00:00 stderr F <13>Jul 8 13:30:29 puppet-user: (file: /etc/puppet/hiera.yaml)
2020-07-08T13:30:29.024333349+00:00 stderr F <13>Jul 8 13:30:29 puppet-user: Warning: Undefined variable '::deploy_config_name';
2020-07-08T13:30:29.024333349+00:00 stderr F <13>Jul 8 13:30:29 puppet-user: (file & line not available)
2020-07-08T13:30:29.188033413+00:00 stderr F <13>Jul 8 13:30:29 puppet-user: Warning: The function 'hiera' is deprecated in favor of using 'lookup'. See https://puppet.com/docs/puppet/6.14/deprecated_language.html
2020-07-08T13:30:29.188033413+00:00 stderr F <13>Jul 8 13:30:29 puppet-user: (file & line not available)
2020-07-08T13:30:33.656004602+00:00 stderr F <13>Jul 8 13:30:33 puppet-user: 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", 474]:["/etc/puppet/modules/tripleo/manifests/profile/base/neutron/agents/networking_baremetal.pp", 31]
2020-07-08T13:30:33.656004602+00:00 stderr F <13>Jul 8 13:30:33 puppet-user: (location: /etc/puppet/modules/stdlib/lib/puppet/functions/deprecation.rb:34:in `deprecation')
2020-07-08T13:30:34.716088439+00:00 stderr F <13>Jul 8 13:30:34 puppet-user: Warning: This method is deprecated, please use match expressions with Stdlib::Compat::Ipv6 instead. They are described at https://docs.puppet.com/puppet/latest/reference/lang_data_type.html#match-expressions. at ["/etc/puppet/modules/tripleo/manifests/profile/base/neutron/authtoken.pp", 34]:["/etc/puppet/modules/tripleo/manifests/profile/base/neutron/server.pp", 110]
2020-07-08T13:30:34.716088439+00:00 stderr F <13>Jul 8 13:30:34 puppet-user: (location: /etc/puppet/modules/stdlib/lib/puppet/functions/deprecation.rb:34:in `deprecation')
2020-07-08T13:30:43.441788845+00:00 stderr F <13>Jul 8 13:30:43 puppet-user: Error: Function lookup() did not find a value for the name 'ovn_dbs_vip'
2020-07-08T13:30:43.563347412+00:00 stderr F + rc=1
2020-07-08T13:30:43.563347412+00:00 stderr F + '[' false = false ']'
2020-07-08T13:30:43.563347412+00:00 stderr F + set +x

Tags: networking
Revision history for this message
Harald Jensås (harald-jensas) wrote :

I think I may have found the issue.

The ironic environment enabled ovn:
https://opendev.org/openstack/tripleo-heat-templates/src/branch/master/environments/services/ironic-overcloud.yaml#L2

BTW: Ironic and OVN absolutely does'nt play since OVN now raises an error[1] when Ironic tries to set the extra_dhcp_opts.

[1] https://review.opendev.org/#/c/722025/8/neutron/plugins/ml2/drivers/ovn/mech_driver/mech_driver.py

Changed in tripleo:
status: Triaged → Invalid
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.