Revision ea5a5b74
b/lib/backend.py | ||
---|---|---|
575 | 575 |
results.extend(names) |
576 | 576 |
except errors.HypervisorError, err: |
577 | 577 |
logging.exception("Error enumerating instances for hypevisor %s", hname) |
578 |
# FIXME: should we somehow not propagate this to the master? |
|
579 | 578 |
raise |
580 | 579 |
|
581 | 580 |
return results |
... | ... | |
1666 | 1665 |
str(disk)) |
1667 | 1666 |
real_disk.Open() |
1668 | 1667 |
result['DISK_%d_PATH' % idx] = real_disk.dev_path |
1669 |
# FIXME: When disks will have read-only mode, populate this |
|
1670 | 1668 |
result['DISK_%d_ACCESS' % idx] = disk.mode |
1671 | 1669 |
if constants.HV_DISK_TYPE in instance.hvparams: |
1672 | 1670 |
result['DISK_%d_FRONTEND_TYPE' % idx] = \ |
b/lib/cli.py | ||
---|---|---|
797 | 797 |
format_fields = [] |
798 | 798 |
for field in fields: |
799 | 799 |
if headers and field not in headers: |
800 |
# FIXME: handle better unknown fields (either revert to old
|
|
800 |
# TODO: handle better unknown fields (either revert to old
|
|
801 | 801 |
# style of raising exception, or deal more intelligently with |
802 | 802 |
# variable fields) |
803 | 803 |
headers[field] = field |
Also available in: Unified diff