[IBP] Incorrect address for metadata of image

Bug #1434499 reported by Anastasia Palkina
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Committed
Medium
Alexander Gordeev

Bug Description

"build_id": "2015-03-19_22-54-44",
"ostf_sha": "b9a090c71682fbea5d9351051827d7d654d07be3",
"build_number": "210",
"release_versions": {"2014.2-6.1": {"VERSION": {"build_id": "2015-03-19_22-54-44", "ostf_sha": "b9a090c71682fbea5d9351051827d7d654d07be3", "build_number": "210", "api": "1.0", "nailgun_sha": "1d2bd383caecc5ec3f86bf93ccca940326f23e97", "production": "docker", "python-fuelclient_sha": "b223dcaf5fdad2f714cd245958fefe03995d6207", "astute_sha": "4a117a1ca6bdcc34fe4d086959ace1a6d18eeca9", "feature_groups": ["mirantis"], "release": "6.1", "fuelmain_sha": "f3d6353c08d8eb709c7ab100b56dc2bebef4157f", "fuellib_sha": "7764225db5bc653563309912afbb4058283c808b"}}},
"auth_required": true,
"api": "1.0",
"nailgun_sha": "1d2bd383caecc5ec3f86bf93ccca940326f23e97",
"production": "docker",
"python-fuelclient_sha": "b223dcaf5fdad2f714cd245958fefe03995d6207",
"astute_sha": "4a117a1ca6bdcc34fe4d086959ace1a6d18eeca9",
"feature_groups": ["mirantis"],
"release": "6.1",
"fuelmain_sha": "f3d6353c08d8eb709c7ab100b56dc2bebef4157f",
"fuellib_sha": "7764225db5bc653563309912afbb4058283c808b"

1. Create new environment (Ubuntu)
2. Choose Neutron, GRE
3. Choose Ceilometer
4. Add 1 controller+mongo, 1 compute, 2 mongo
5. Start deployment
6. In fuel-agent.log during provisioning:

fuel_agent.utils.utils [-] Got non-critical error when accessing to http://10.yaml on 3 attempt: HTTPConnectionPool(host='10.yaml', port=80): Max retries exceeded with url: / (Caused by <class 'socket.gaierror'>: [Errno -2] Name or service not known)

Need http://10.20.0.2:8080/targetimages/env_2_ubuntu_1404_amd64.yaml instead http://10.yaml

Revision history for this message
Anastasia Palkina (apalkina) wrote :
Revision history for this message
Alexander Gordeev (a-gordeev) wrote :

both, centos and ubuntu are affected

summary: - [IBP] Incorrect address for metadata of image for Ubuntu
+ [IBP] Incorrect address for metadata of image
Changed in fuel:
status: New → Confirmed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-web (master)

Fix proposed to branch: master
Review: https://review.openstack.org/166186

Changed in fuel:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-web (master)

Reviewed: https://review.openstack.org/166186
Committed: https://git.openstack.org/cgit/stackforge/fuel-web/commit/?id=afaa31787c0a5b465112d47733dcac45ad769e3a
Submitter: Jenkins
Branch: master

commit afaa31787c0a5b465112d47733dcac45ad769e3a
Author: Alexander Gordeev <email address hidden>
Date: Fri Mar 20 14:54:04 2015 +0300

    IBP: fix image metadata uri guessing

    By default, fuel-agent tries to guess image metadata uri from root
    image uri by substituting its file extension with '.yaml'

    Eg.:
    if root uri is:
     http://10.20.0.2:8080/targetimages/env_2_ubuntu_1404_amd64.img.gz
    so, the guessed metadata uri will be:
     http://10.20.0.2:8080/targetimages/env_2_ubuntu_1404_amd64.yaml

    Change-Id: I2ed8a0d7c8585573fd5f5d89093b56173e34829a
    Closes-Bug: #1434499

Changed in fuel:
status: In Progress → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.