I have treied with several sequences of actions.
First i set show_multiple_locations = True
in /etc/glance/glance-api.conf
and restarted glance by: glance-control all restart
Flow 1
1) Created small image via Horizon GUI.
2) glance --os-image-api-version 2 location-add --url file:///etc/fstab f44eb9f7-2045-4118-b09b-fdfb71d58b2a
The administrator has disabled API access to image locations (HTTP 400)
OK
Flow 2
1) Created small image via GUI.
2) Added Metadata via Horizon url=file:///etc/fstab
1) glance image-create --disk-format raw --container-format bare
2) glance --os-image-api-version 2 location-add --url file:///etc/mtab 22f3e03e-1431-4f31-a1c6-0cfe52ae3c43
The administrator has disabled API access to image locations (HTTP 400)
OK
Flow 4
1) glance image-create --disk-format raw --container-format bare
2) glance image-update --location filesystem:///etc/passwd 3b3a5f9d-690b-42d7-bfbf-aef5d82d73d2
<html>
<head>
<title>400 Bad Request</title>
</head>
<body>
<h1>400 Bad Request</h1>
External source are not supported: 'filesystem:///etc/passwd'<br /><br />
</body>
Almost good, but CLI output could be like in Flow 1 and 3.
I have treied with several sequences of actions. locations = True glance- api.conf
First i set show_multiple_
in /etc/glance/
and restarted glance by: glance-control all restart
Flow 1
1) Created small image via Horizon GUI.
2) glance --os-image- api-version 2 location-add --url file:///etc/fstab f44eb9f7- 2045-4118- b09b-fdfb71d58b 2a
The administrator has disabled API access to image locations (HTTP 400)
OK
Flow 2
1) Created small image via GUI.
2) Added Metadata via Horizon url=file: ///etc/ fstab
3) glance image-download --file ~/small.iso f44eb9f7- 2045-4118- b09b-fdfb71d58b 2a
4) Checked contents of file - OK.
Flow 3
1) glance image-create --disk-format raw --container-format bare api-version 2 location-add --url file:///etc/mtab 22f3e03e- 1431-4f31- a1c6-0cfe52ae3c 43
2) glance --os-image-
The administrator has disabled API access to image locations (HTTP 400)
OK
Flow 4
1) glance image-create --disk-format raw --container-format bare
2) glance image-update --location filesystem: ///etc/ passwd 3b3a5f9d- 690b-42d7- bfbf-aef5d82d73 d2 ///etc/ passwd' <br /><br />
<html>
<head>
<title>400 Bad Request</title>
</head>
<body>
<h1>400 Bad Request</h1>
External source are not supported: 'filesystem:
</body>
Almost good, but CLI output could be like in Flow 1 and 3.
Environement: version: "2014.2.2-6.1" 18_03-43- 53" 81c3fd5b139c966 d680d81e0a5" fuelclient_ sha: "38765563e1a7f1 4f45201fd47cf50 7393ff5d673" 48bcd9d9ace9185 7b6f4a0ec15" f497c35f2b3bb88 9c2041465d8" 80b8b2a4a7eab65 86583ffaf33" 7d336c4cc253606 d4dd0d59a60"
VERSION:
feature_groups:
- mirantis
production: "docker"
release: "6.1"
openstack_
api: "1.0"
build_number: "432"
build_id: "2015-05-
nailgun_sha: "076566b5df37f6
python-
astute_sha: "cb655a9a9ad268
fuel-library_sha: "1621cb350af744
fuel-ostf_sha: "9ce18007490817
fuelmain_sha: "0e970647a83d9a
Deployment in VirtualBox. Ubuntu 14.04.1, Neutron VLAN, Cinder and Glance on LVM
1 Controller+Cinder
1 Compute+Cinder
1 Cinder