Glance image-update makes html output to console
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mirantis OpenStack |
Fix Released
|
Medium
|
MOS Glance |
Bug Description
Glance image-update shows html output to console instead of plain text when i try to perform restricted operation.
Steps:
1) glance image-create --disk-format raw --container-format bare
2) glance image-update --location filesystem:
ACTUAL output:
"<html>
<head>
<title>400 Bad Request</title>
</head>
<body>
<h1>400 Bad Request</h1>
External source are not supported: 'filesystem:
</body>"
EXPECTED output:
"The administrator has disabled API access to image locations (HTTP 400)"
Environement:
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
tags: | added: glance |
Changed in mos: | |
importance: | Undecided → Medium |
assignee: | nobody → MOS Glance (mos-glance) |
milestone: | none → 6.1 |
Changed in mos: | |
milestone: | 6.1 → 7.0 |
Changed in mos: | |
status: | New → Confirmed |
I've checked on fresh kilo devstack - the return value is in plain text form:
400 Bad Request: External sources are not supported: 'PATH_TO_FILE'
(HTTP 400)
Seems this bug is invalid for upstream glance.