Deployment failed on Centos due to error: Cannot find device "hapr-host"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Confirmed
|
Medium
|
Fuel Library (Deprecated) | ||
6.1.x |
Won't Fix
|
Medium
|
Bartłomiej Piotrowski |
Bug Description
VERSION:
feature_groups:
- mirantis
production: "docker"
release: "6.1"
api: "1.0"
build_number: "178"
build_id: "2015-03-
nailgun_sha: "a9a6578a649a2a
python-
astute_sha: "2d61ee42ec6dae
fuellib_sha: "62e68af896887e
ostf_sha: "8df5f2fcdae3bc
fuelmain_sha: "c73b87f7cbc371
OS: Centos
Deploy cluster in HA mode with Murano and Neutron GRE
Scenario:
1. Create cluster. Set install Murano option
2. Add 1 node with controller role
3. Add 1 nodes with compute role
4. Deploy the cluster
5. Verify Murano services
6. Run OSTF
7. Register Murano image
8. Run OSTF Murano platform tests
Actual result:
Deployment failed. Task hiera failed on compute according astute.yaml is not here
Changed in fuel: | |
status: | New → Confirmed |
tags: | added: module-tasks |
summary: |
- Murano deployment failed on Centos. Astute.yaml is missed on compute - node + Deployment failed on Centos due to error: Cannot find device "hapr-host" |
tags: | added: l23network |
Changed in fuel: | |
importance: | Medium → High |
Changed in fuel: | |
assignee: | Fuel Library Team (fuel-library) → Oleksiy Molchanov (omolchanov) |
Changed in fuel: | |
status: | Confirmed → In Progress |
Changed in fuel: | |
status: | Invalid → Confirmed |
Changed in fuel: | |
assignee: | Oleksiy Molchanov (omolchanov) → Bartlomiej Piotrowski (bpiotrowski) |
Changed in fuel: | |
importance: | High → Medium |
Changed in fuel: | |
milestone: | 6.1 → 7.0 |
no longer affects: | fuel/7.0.x |
Changed in fuel: | |
assignee: | Bartlomiej Piotrowski (bpiotrowski) → Fuel Library Team (fuel-library) |
It is expected behaviour that astute.yaml will not be created on compute, if task on controller failed. controller. pp in current case:
And it was openstack-
2015-03-10T03:26:57 debug: [416] 16b16d81- d428-4d95- a4b8-4eb24424a1 2b: MC agent 'puppetd', method 'last_run_summary', results: {:sender=>"1", :statuscode=>0, :statusmsg=>"OK", :data=> {:output= >"Currently stopped; last completed run 85 seconds ago", :status=>"stopped", :events= >{"total" =>169, "failure"=>0, "success"=>169}, :enabled=>1, :running=>0, :time=> {"config_ retrieval" =>5.193858, "total"=>16.207686, "schedule" =>0.001111, "last_run" =>1425957932, "filebucket" =>0.000218, "file"=>0.442138, "exec"=>10.570361}, :idling=>0, :runtime=>85, :stopped=>1, :resources= >{"scheduled" =>0, "failed"=>0, "skipped"=>0, "total"=>181, "out_of_sync"=>169, "changed"=>169, "restarted"=>19, "failed_ to_restart" =>0}, :lastrun= >1425957932, :version= >{"config" =>1425957900, "puppet"=>"3.4.2"}, :changes= >{"total" =>169}} } 03-10T03: 26:57 debug: [416] Node 1(primary- controller) status: error =>[{"status" =>"error" , "error_ type"=> "deploy" , "uid"=>"1", "role"= >"primary- controller" }]} =>{"puppet_ modules" =>"/etc/ puppet/ modules" , "puppet_ manifest" =>"/etc/ puppet/ modules/ osnailyfacter/ modular/ openstack- controller/ openstack- controller. pp", "timeout"=>3600, "cwd"=>"/"}}' on node 1 valid, but failed
2015-
2015-03-10T03:26:57 debug: [416] Node 1 has failed to deploy. There is no more retries for puppet run.
2015-03-10T03:26:57 debug: [416] {"nodes"
2015-03-10T03:26:57 err: [416] Task '{"priority"=>1300, "type"=>"puppet", "uids"=>["1"], "parameters"
There was errors in puppet log
2015-03- 10T03:25: 17.745912+ 00:00 notice: (/Stage[ main]/Openstack ::Ha::Nova/ Openstack: :Ha::Haproxy_ service[ nova-api- 1]/Exec[ haproxy restart for nova-api- 1]/returns) 2015/03/09_20:25:17 ERROR: Cannot find device "hapr-host"
If those errors are not root cause of this failure, then puppetd reported wrong result