[Users] How is it possible to increase disk size?

ovirt at qip.ru ovirt at qip.ru
Thu Jun 21 15:25:08 UTC 2012


each disk of VM on ISCSI SD is lv on vg of storage domain and thin provision disk size is maximum size that lv can expand

I created VM with thin provision disk 30Gb, on SPM lvs show actual size of disk 1Gb

if i do vdsClient extendVolume to 40Gb, lv size become 40Gb (but disk is thin provision and 40Gb is maximum not actual), but  webadmin and  engine cli show that disk size is not changed and is 30Gb

then i tried to update disk size using engine cli  "update  disk --size" and got following

[oVirt shell (connected)]# update disk Fedora17_Disk1 --size 42949672960
unknown error:
status: 500
reason: Internal Server Error
detail: JBoss Web/7.0.0.SNAPSHOT - Error report HTTP Status 500 - type Exception reportmessage description The server encountered an internal error () that prevented it from fulfilling this request.exception org.jboss.resteasy.spi.UnhandledException: org.ovirt.engine.core.compat.NotImplementedException: Pending Backend support
        org.jboss.resteasy.core.SynchronousDispatcher.handleApplicationException(SynchronousDispatcher.java:340)
        org.jboss.resteasy.core.SynchronousDispatcher.handleException(SynchronousDispatcher.java:214)
        org.jboss.resteasy.core.SynchronousDispatcher.handleInvokerException(SynchronousDispatcher.java:190)
        org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:540)
        org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:502)
        org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:119)
        org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:208)
        org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:55)
        org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:50)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
root cause org.ovirt.engine.core.compat.NotImplementedException: Pending Backend support
        org.ovirt.engine.api.restapi.resource.BackendDiskResource.update(BackendDiskResource.java:33)
        sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        java.lang.reflect.Method.invoke(Method.java:601)
        org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:155)
        org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:257)
        org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:222)
        org.jboss.resteasy.core.ResourceLocator.invokeOnTargetObject(ResourceLocator.java:152)
        org.jboss.resteasy.core.ResourceLocator.invoke(ResourceLocator.java:91)
        org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:525)
        org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:502)
        org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:119)
        org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:208)
        org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:55)
        org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:50)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
note The full stack trace of the root cause is available in the JBoss Web/7.0.0.SNAPSHOT logs.JBoss Web/7.0.0.SNAPSHOT

env:

[root at fedora17-ovirt ~]# rpm -qa | fgrep ovirt
ovirt-log-collector-3.1.0-0.fc17.noarch
ovirt-engine-config-3.1.0-3.fc17.noarch
ovirt-engine-userportal-3.1.0-3.fc17.noarch
ovirt-engine-genericapi-3.1.0-3.fc17.noarch
ovirt-engine-sdk-3.1.0.2-1alpha.fc17.noarch
ovirt-engine-notification-service-3.1.0-3.fc17.noarch
ovirt-engine-webadmin-portal-3.1.0-3.fc17.noarch
ovirt-engine-setup-3.1.0-3.fc17.noarch
ovirt-iso-uploader-3.1.0-0.git1841d9.fc17.noarch
ovirt-engine-dbscripts-3.1.0-3.fc17.noarch
ovirt-engine-restapi-3.1.0-3.fc17.noarch
ovirt-image-uploader-3.1.0-0.git9c42c8.fc17.noarch
ovirt-engine-tools-common-3.1.0-3.fc17.noarch
ovirt-engine-backend-3.1.0-3.fc17.noarch
ovirt-engine-3.1.0-3.fc17.noarch
ovirt-engine-cli-3.1.0.1-1alpha.fc17.noarch

I tried to install ovirt-engine-cli-3.1.0.2-1alpha.fc17.noarch but got

 Requires: ovirt-engine-sdk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20120621/6db1137c/attachment.html>


More information about the Users mailing list