Detailed bug description:
Deployment fails if use ubuntu mirror for 6.1 mu7 updates - http://mirror.fuel-infra.org/mos/snapshots/ubuntu-latest/dists/mos6.1-proposed.
Steps to reproduce:
1. Set up 6.1 master node, update it with mu7 updates using repo http://mirror.fuel-infra.org/mos/snapshots/centos-6-latest/mos6.1/proposed//
2. Create new ubuntu environment, add nodes with roles, verify networks
3. Go to Settings > Repositories section > 'Add Extra Repo' button > Enter the following repo with 6.1 mu7 updates:
mos-updates-2
deb http://mirror.fuel-infra.org/mos/snapshots/ubuntu-latest/dists/mos6.1-proposed mos6.1-proposed main restricted
1200
Press 'Save Settings' button.
4. Run deployment
Expected results:
Deployment should be performed successfully with 6.1 mu7 repo.
Actual result:
Deployment fails right after the start.
In Fuel Master Web Backend logs there is the following error:
2016-07-19 10:12:47 ERROR
[7fb0d1942740] (tasks_templates) Failed to fetch 'Release' file due to '404 Client Error: Not Found'. The apt preferences won't be applied for repo 'mos-updates-2'.
In Fuel Master Astute logs the following error appears:
2016-07-19 10:14:14 ERR
[637] Error running provisioning: Failed to execute hook 'shell' Failed to run command cd / && fa_build_image --log-file /var/log/fuel-agent-env-2.log --data_driver nailgun_build_image --input_data '{"image_data": {"/boot": {"container": "gzip", "uri": "http://10.109.10.2:8080/targetimages/env_2_ubuntu_1404_amd64-boot.img.gz", "format": "ext2"}, "/": {"container": "gzip", "uri": "http://10.109.10.2:8080/targetimages/env_2_ubuntu_1404_amd64.img.gz", "format": "ext4"}}, "output": "/var/www/nailgun/targetimages", "repos": [{"name": "ubuntu", "section": "main universe multiverse", "uri": "http://archive.ubuntu.com/ubuntu/", "priority": null, "suite": "trusty", "type": "deb"}, {"name": "ubuntu-updates", "section": "main universe multiverse", "uri": "http://archive.ubuntu.com/ubuntu/", "priority": null, "suite": "trusty-updates", "type": "deb"}, {"name": "ubuntu-security", "section": "main universe multiverse", "uri": "http://archive.ubuntu.com/ubuntu/", "priority": null, "suite": "trusty-security", "type": "deb"}, {"name": "mos", "section": "main restricted", "uri": "http://10.109.10.2:8080/2014.2.2-6.1/ubuntu/x86_64", "priority": 1050, "suite": "mos6.1", "type": "deb"}, {"name": "mos-updates", "section": "main restricted", "uri": "http://mirror.fuel-infra.org/mos/ubuntu/", "priority": 1050, "suite": "mos6.1-updates", "type": "deb"}, {"name": "mos-security", "section": "main restricted", "uri": "http://mirror.fuel-infra.org/mos/ubuntu/", "priority": 1050, "suite": "mos6.1-security", "type": "deb"}, {"name": "mos-holdback", "section": "main restricted", "uri": "http://mirror.fuel-infra.org/mos/ubuntu/", "priority": 1100, "suite": "mos6.1-holdback", "type": "deb"}, {"name": "Auxiliary", "section": "main restricted", "uri": "http://10.109.10.2:8080/2014.2.2-6.1/ubuntu/auxiliary", "priority": 1150, "suite": "auxiliary", "type": "deb"}, {"name": "mos-updates-2", "section": "main restricted", "uri": "http://mirror.fuel-infra.org/mos/snapshots/ubuntu-latest/dists/mos6.1-proposed", "priority": 1200, "suite": "mos6.1-proposed", "type": "deb"}], "codename": "trusty"}'
---
priority: 100
type: shell
uids:
- master
parameters:
retries: 1
cmd: 'fa_build_image --log-file /var/log/fuel-agent-env-2.log --data_driver nailgun_build_image
--input_data ''{"image_data": {"/boot": {"container": "gzip", "uri": "http://10.109.10.2:8080/targetimages/env_2_ubuntu_1404_amd64-boot.img.gz",
"format": "ext2"}, "/": {"container": "gzip", "uri": "http://10.109.10.2:8080/targetimages/env_2_ubuntu_1404_amd64.img.gz",
"format": "ext4"}}, "output": "/var/www/nailgun/targetimages", "repos": [{"name":
"ubuntu", "section": "main universe multiverse", "uri": "http://archive.ubuntu.com/ubuntu/",
"priority": null, "suite": "trusty", "type": "deb"}, {"name": "ubuntu-updates",
"section": "main universe multiverse", "uri": "http://archive.ubuntu.com/ubuntu/",
"priority": null, "suite": "trusty-updates", "type": "deb"}, {"name": "ubuntu-security",
"section": "main universe multiverse", "uri": "http://archive.ubuntu.com/ubuntu/",
"priority": null, "suite": "trusty-security", "type": "deb"}, {"name": "mos",
"section": "main restricted", "uri": "http://10.109.10.2:8080/2014.2.2-6.1/ubuntu/x86_64",
"priority": 1050, "suite": "mos6.1", "type": "deb"}, {"name": "mos-updates", "section":
"main restricted", "uri": "http://mirror.fuel-infra.org/mos/ubuntu/", "priority":
1050, "suite": "mos6.1-updates", "type": "deb"}, {"name": "mos-security", "section":
"main restricted", "uri": "http://mirror.fuel-infra.org/mos/ubuntu/", "priority":
1050, "suite": "mos6.1-security", "type": "deb"}, {"name": "mos-holdback", "section":
"main restricted", "uri": "http://mirror.fuel-infra.org/mos/ubuntu/", "priority":
1100, "suite": "mos6.1-holdback", "type": "deb"}, {"name": "Auxiliary", "section":
"main restricted", "uri": "http://10.109.10.2:8080/2014.2.2-6.1/ubuntu/auxiliary",
"priority": 1150, "suite": "auxiliary", "type": "deb"}, {"name": "mos-updates-2",
"section": "main restricted", "uri": "http://mirror.fuel-infra.org/mos/snapshots/ubuntu-latest/dists/mos6.1-proposed",
"priority": 1200, "suite": "mos6.1-proposed", "type": "deb"}], "codename": "trusty"}'''
cwd: "/"
timeout: 3600
interval: 1
, trace:
["/usr/lib64/ruby/gems/2.1.0/gems/astute-6.1.0/lib/astute/nailgun_hooks.rb:58:in `block in process'",
"/usr/lib64/ruby/gems/2.1.0/gems/astute-6.1.0/lib/astute/nailgun_hooks.rb:26:in `each'",
"/usr/lib64/ruby/gems/2.1.0/gems/astute-6.1.0/lib/astute/nailgun_hooks.rb:26:in `process'",
"/usr/lib64/ruby/gems/2.1.0/gems/astute-6.1.0/lib/astute/orchestrator.rb:86:in `block in provision'",
"/usr/lib64/ruby/gems/2.1.0/gems/astute-6.1.0/lib/astute/provision.rb:272:in `call'",
"/usr/lib64/ruby/gems/2.1.0/gems/astute-6.1.0/lib/astute/provision.rb:272:in `report_image_provision'",
"/usr/lib64/ruby/gems/2.1.0/gems/astute-6.1.0/lib/astute/orchestrator.rb:76:in `provision'",
"/usr/lib64/ruby/gems/2.1.0/gems/astute-6.1.0/lib/astute/server/dispatcher.rb:50:in `provision'",
"/usr/lib64/ruby/gems/2.1.0/gems/astute-6.1.0/lib/astute/server/dispatcher.rb:37:in `image_provision'",
"/usr/lib64/ruby/gems/2.1.0/gems/astute-6.1.0/lib/astute/server/server.rb:142:in `dispatch_message'",
"/usr/lib64/ruby/gems/2.1.0/gems/astute-6.1.0/lib/astute/server/server.rb:103:in `block in dispatch'",
"/usr/lib64/ruby/gems/2.1.0/gems/astute-6.1.0/lib/astute/server/task_queue.rb:64:in `call'",
"/usr/lib64/ruby/gems/2.1.0/gems/astute-6.1.0/lib/astute/server/task_queue.rb:64:in `block in each'",
"/usr/lib64/ruby/gems/2.1.0/gems/astute-6.1.0/lib/astute/server/task_queue.rb:56:in `each'",
"/usr/lib64/ruby/gems/2.1.0/gems/astute-6.1.0/lib/astute/server/task_queue.rb:56:in `each'",
"/usr/lib64/ruby/gems/2.1.0/gems/astute-6.1.0/lib/astute/server/server.rb:101:in `each_with_index'",
"/usr/lib64/ruby/gems/2.1.0/gems/astute-6.1.0/lib/astute/server/server.rb:101:in `dispatch'",
"/usr/lib64/ruby/gems/2.1.0/gems/astute-6.1.0/lib/astute/server/server.rb:85:in `block in perform_main_job'"]
Reproducibility:
Always
Workaround:
N/A
Description of the environment:
VERSION:
feature_groups:
- mirantis
production: "docker"
release: "6.1"
openstack_version: "2014.2.2-6.1"
api: "1.0"
build_number: "525"
build_id: "2015-06-19_13-02-31"
nailgun_sha: "dbd54158812033dd8cfd7e60c3f6650f18013a37"
python-fuelclient_sha: "4fc55db0265bbf39c369df398b9dc7d6469ba13b"
astute_sha: "1ea8017fe8889413706d543a5b9f557f5414beae"
fuel-library_sha: "2e7a08ad9792c700ebf08ce87f4867df36aa9fab"
fuel-ostf_sha: "8fefcf7c4649370f00847cc309c24f0b62de718d"
fuelmain_sha: "a3998372183468f56019c8ce21aa8bb81fee0c2f"
Additional information:
Diagnostic snapshot is available here: https://drive.google.com/open?id=0B70qF1Qfk0IRRmM2cmlXOXVYU0k
You have wrong deb repository URL mirror. fuel-infra. org/mos/ snapshots/ ubuntu- latest mos6.1-proposed main restricted
It should be
deb http://