[Contrail-3.0] Deployment failed on pre-deploy
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel Plugins |
Fix Released
|
Critical
|
Przemysław Szypowicz |
Bug Description
Pre-deployment plugin tasks will fail if there is no /etc/astute.yaml file,
the issue was found while working on upgrade procedure.
Actual result:
Deployment failed,
from astute log
2016-03-08 22:59:28 ERR [710] Unexpected error Failed to execute hook 'contrail-3.0.0' Puppet run failed. Check puppet logs for details
---
uids:
- '1'
parameters:
puppet_modules: puppet/
puppet_manifest: puppet/
timeout: 720
cwd: "/etc/fuel/
priority: 2800
fail_on_error: true
type: puppet
diagnostic_name: contrail-3.0.0
from puppet log
2016-03-08 22:59:27 +0000 Puppet (err): Could not run: Could not retrieve facts for node-1.domain.tld: No such file or directory - /etc/astute.yaml
/etc/fuel/
/etc/fuel/
/etc/fuel/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/bin/
Possible cause of problem is a custom fact sriov_devices, which requires /etc/astute.yaml file, which may be not available on pre-deploy.
Proposed solution - convert the fact into custom parser function, which will be called only from manifests that actually make use of it.
description: | updated |
Changed in fuel-plugins: | |
status: | New → In Progress |
importance: | Undecided → Critical |
assignee: | Fuel Plugin Contrail (fuel-plugin-contrail) → Przemysław Szypowicz (pszypowicz) |
Changed in fuel-plugins: | |
status: | In Progress → Fix Committed |
Changed in fuel-plugins: | |
status: | Fix Committed → Fix Released |
Fix proposed to branch: stable/3.0 /review. openstack. org/290386
Review: https:/