hi,all


1)use Software-factory,Convert image

# qemu-img convert -f qcow2 -O vmdk softwarefactory-C7.0-2.2.4.img.qcow2 softwarefactory-C7.0.vmdk

qemu-img: error while reading sector 318592: Input/output error



2)use Software-factory,OpenStack based deployment

glance image-create --progress --disk-format qcow2 --container-format bare --name sf-2.2.4 --file softwarefactory-C7.0-2.2.4.img.qcow2

# nova --debug boot --flavor m1.medium --image sf-2.2.4 --nic net-id=1f127014-1263-4e98-98d6-f930d82f6377 sf-2-2-4

# nova show fba3ea52-81bd-4d17-9f4d-26af3306e2ee

 | fault                                | {"message": "Build of instance fba3ea52-81bd-4d17-9f4d-26af3306e2ee aborted: Image fa074ae8-a97b-4176-8f6e-cfac60026cfc is unacceptable: Unable to convert image to raw: Image /var/lib/nova/instances/_base/a1e248b9613e5766f1e9619bc3c2075f9c59f018.part is unacceptable: ", "code": 500, "details": "  File \"/usr/lib/python2.7/site-packages/nova/compute/manager.py\", line 1926, in _do_build_and_run_instance |

|                                      |     filter_properties)                                          

# nova list

+--------------------------------------+----------+--------+------------+-------------+----------+

| ID                                   | Name     | Status | Task State | Power State | Networks |

+--------------------------------------+----------+--------+------------+-------------+----------+

| fba3ea52-81bd-4d17-9f4d-26af3306e2ee | sf-2-2-4 | ERROR  | -          | NOSTATE     |          |

+--------------------------------------+----------+--------+------------+-------------+----------+            


I need your help, thank you.

                                                                                             





_______________________________________________
Softwarefactory-dev mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/softwarefactory-dev

Reply via email to