Bug 1175399 - rubygem-staypuft: Error during first time puppet runs on every host: Error 400 on SERVER: Local ip for ovs agent must be set when tunneling is enabled at /etc/puppet/environments/production/modules/neutron/manifests/agents/ovs.pp:32
Summary: rubygem-staypuft: Error during first time puppet runs on every host: Error 40...
Keywords:
Status: CLOSED EOL
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: rubygem-staypuft
Version: unspecified
Hardware: x86_64
OS: Linux
high
high
Target Milestone: ---
: Installer
Assignee: Mike Burns
QA Contact: Omri Hochman
URL:
Whiteboard:
: 1176561 1188507 (view as bug list)
Depends On:
Blocks: 1177026
TreeView+ depends on / blocked
 
Reported: 2014-12-17 16:08 UTC by Alexander Chuzhoy
Modified: 2016-09-29 13:35 UTC (History)
13 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-09-29 13:35:13 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Alexander Chuzhoy 2014-12-17 16:08:28 UTC
rubygem-staypuft: Error during first time puppet runs on every host: Error 400 on SERVER: Local ip for ovs agent must be set when tunneling is enabled at /etc/puppet/environments/production/modules/neutron/manifests/agents/ovs.pp:32 

Environment:
rhel-osp-installer-client-0.5.4-1.el7ost.noarch
ruby193-rubygem-staypuft-0.5.6-1.el7ost.noarch
ruby193-rubygem-foreman_openstack_simplify-0.0.6-8.el7ost.noarch
openstack-puppet-modules-2014.2.7-2.el7ost.noarch
openstack-foreman-installer-3.0.7-1.el7ost.noarch
rhel-osp-installer-0.5.4-1.el7ost.noarch


Steps to reproduce:
1. Install rhel-osp-installer
2. Create/run HAneutron deployment with 3 controllers + 2 computes
3. Check the reports (Monitor->Reports) after giving enough time for OS installation and puppet run.

Result:
 The failed column has "3" for every participating host.
Checking the reports, the failure is:
Could not retrieve catalog from remote server: Error 400 on SERVER: Local ip for ovs agent must be set when tunneling is enabled at /etc/puppet/environments/production/modules/neutron/manifests/agents/ovs.pp:32 on node <nodename>

Expected result:
No failures in the reports.

Comment 3 Alexander Chuzhoy 2014-12-24 16:14:17 UTC
Note: Subsequent reports don't have this error and the deployment can complete successfully.

Comment 4 Arthur Berezin 2014-12-30 14:07:28 UTC
*** Bug 1176561 has been marked as a duplicate of this bug. ***

Comment 7 John Fulton 2015-01-19 23:46:50 UTC
If your installer is stuck and giving this error, then verify that your hosts' other NICs in the tenant are in the correct subnet using the Foreman GUI's subnet pull-down menu.

Comment 8 Mike Burns 2015-02-03 23:10:06 UTC
*** Bug 1188507 has been marked as a duplicate of this bug. ***

Comment 10 Alessandro Vozza 2015-03-03 22:06:50 UTC
After digging some more, I found https://bugzilla.redhat.com/show_bug.cgi?id=1180322#c29

This lead me to https://github.com/jistr/staypuft/commit/4be8a5608c3bdf77ec85d5a5f5ad9fb1fcea71f6 ; I can test it tomorrow at customer. Applying this: https://github.com/jistr/foreman-installer-staypuft/commit/e074e25cbeb7c47f5edf3b447805c7c02c8d0e03 seems however unnecessary (running on hardware here).

Comment 14 Edu Alcaniz 2015-06-18 18:55:55 UTC
I am getting the same error

Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Local ip for ovs agent must be set when tunneling is enabled at /etc/puppet/environments/production/modules/neutron/manifests/agents/ovs.pp:32 on node pod2-controller2.team2.pod2.osll.lab.eng.rdu.redhat.com
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run


but I just ifdown and ifup the network interfaces and I ran

puppet agent -t
with no luck. any progress ?

Comment 16 Jaromir Coufal 2016-09-29 13:35:13 UTC
Closing list of bugs for RHEL OSP Installer since its support cycle has already ended [0]. If there is some bug closed by mistake, feel free to re-open.

For new deployments, please, use RHOSP director (starting with version 7).

-- Jaromir Coufal
-- Sr. Product Manager
-- Red Hat OpenStack Platform

[0] https://access.redhat.com/support/policy/updates/openstack/platform


Note You need to log in before you can comment on or make changes to this bug.