[contrail] Deploy cluster failed on ntp-server.pp with Contrail plugin 3.0
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel Plugins |
Fix Released
|
High
|
Oleksandr Martsyniuk |
Bug Description
Steps to reproduce:
1. Create an environment with "Neutron with tunneling segmentation" as a network configuration
2. Enable and configure Contrail plugin
3. Add a node with controller role
4. Add 2 nodes with "compute" and "Storage-cinder" roles
5. Add a node with Base-OS role
6. Add 3 nodes with "contrail-config", "contrail-control" and "contrail-db" roles
7. Deploy cluster with plugin
Expected result:
Deploy cluster passed successfully
Actual result:
[689] Error running RPC method granular_deploy: Failed to execute hook 'puppet' Puppet run failed. Check puppet logs for details --- priority: 900 fail_on_error: true type: puppet uids: - '1' parameters: puppet_modules: "/etc/puppet/
puppet_manifest: "/etc/puppet/
timeout: 3600
cwd: "/" , trace: ["/usr/
additional info:
this is juniper distribution
api: '1.0'
astute_sha: 6c5b73f93e24cc7
auth_required: true
build_id: '301'
build_number: '301'
feature_groups:
- mirantis
fuel-agent_sha: 50e90af6e3d560e
fuel-library_sha: 5d50055aeca1dd0
fuel-nailgun-
fuel-ostf_sha: 2cd967dccd66cfc
fuelmain_sha: a65d453215edb02
nailgun_sha: 4162b0c15adb425
openstack_version: 2015.1.0-7.0
production: docker
python-
release: '7.0'
release_versions:
2015.1.0-7.0:
VERSION:
api: '1.0'
astute_sha: 6c5b73f93e24cc7
build_id: '301'
build_number: '301'
feature_
- mirantis
fuel-
fuel-
fuel-
fuel-
fuelmain_sha: a65d453215edb02
nailgun_sha: 4162b0c15adb425
openstack
production: docker
python-
release: '7.0'
Changed in fuel-plugins: | |
status: | New → In Progress |
Changed in fuel-plugins: | |
status: | In Progress → Fix Committed |
Changed in fuel-plugins: | |
status: | Fix Committed → Fix Released |
From puppet logs:
2015-12-17 18:24:26 +0000 Cs_resource[ p_ntp]( provider= crm) (debug): trying to delete old shadow if exists crm_shadow -b -f -D resource_p_ntp' crm_shadow -b -c resource_p_ntp' :Type:: Cs_resource: :ProviderCrm (debug): Command '/usr/sbin/crm configure load update /tmp/puppet_ crm_update20151 217-15327- 1n3rcvj' failed, and return RC=1, output: :Type:: Cs_resource: :ProviderCrm (debug): error: unpack_ location_ tags: Constraint 'cli-ban- p_neutron- dhcp-agent- on-node- 1.test. domain. local': Invalid reference to 'p_neutron- dhcp-agent' :Type:: Cs_resource: :ProviderCrm (debug): error: unpack_ location_ tags: Constraint 'cli-ban- p_neutron- l3-agent- on-node- 1.test. domain. local': Invalid reference to 'p_neutron- l3-agent' :Type:: Cs_resource: :ProviderCrm (debug): error: unpack_ location_ tags: Constraint 'cli-ban- p_neutron- metadata- agent-on- node-1. test.domain. local': Invalid reference to 'p_neutron- metadata- age :Type:: Cs_resource: :ProviderCrm (debug): error: unpack_ location_ tags: Constraint 'cli-ban- p_neutron- plugin- openvswitch- agent-on- node-1. test.domain. local': Invalid reference to 'p_neutron-pl h-agent' :Type:: Cs_resource: :ProviderCrm (debug): Errors found during check: config not valid :Type:: Cs_resource: :ProviderCrm (debug): WARNING: p_ntp: specified timeout 10 for monitor is smaller than the advised 20s p_ntp]( provider= crm) (debug): no difference - nothing to apply
2015-12-17 18:24:26 +0000 Puppet (debug): Executing '/usr/sbin/
2015-12-17 18:24:26 +0000 Puppet (debug): Executing '/usr/sbin/
2015-12-17 18:24:28 +0000 Puppet:
2015-12-17 18:24:28 +0000 Puppet:
2015-12-17 18:24:28 +0000 Puppet:
2015-12-17 18:24:28 +0000 Puppet:
nt'
2015-12-17 18:24:28 +0000 Puppet:
ugin-openvswitc
2015-12-17 18:24:28 +0000 Puppet:
2015-12-17 18:24:28 +0000 Puppet:
2015-12-17 18:24:28 +0000 Cs_resource[
Looks like disabling resources affects adding new ones.
After deleting the mentioned resources ntp-server task works fine.