cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-7541) Volume gets created with the size mentioned in the custom disk offering
Date Thu, 30 Oct 2014 11:52:36 GMT

    [ https://issues.apache.org/jira/browse/CLOUDSTACK-7541?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14189962#comment-14189962
] 

ASF GitHub Bot commented on CLOUDSTACK-7541:
--------------------------------------------

Github user anshul1886 commented on the pull request:

    https://github.com/apache/cloudstack/pull/28#issuecomment-61080108
  
    There seems to be some setup issue. This commit has made changes into custom disk offering.
And that test is passing fine. Also error logs also shows some setup issue.
    
    usr/local/lib/python2.7/dist-packages/nose-1.3.4-py2.7.egg/nose/plugins/manager.py:395:
RuntimeWarning: Unable to load plugin marvinPlugin = marvin.marvinPlugin:MarvinPlugin: mysql-connector-python>=1.1.6
      RuntimeWarning)
    Usage: nosetests [options]
    
    nosetests: error: no such option: --with-marvin
    /home/travis/build.sh: line 108: 14848 Terminated              travis_jigger $! $timeout
$cmd
    travis_time:end:0da67387:start=1414660406188033558,finish=1414660407047833113,duration=859799555
    
    The command "for suite in $TESTS; do travis_wait 30 nosetests --with-xunit --xunit-file=integration-test-results/$suite.xml
--with-marvin --marvin-config=setup/dev/advanced.cfg test/integration/smoke/$suite.py -s -a
tags=advanced,required_hardware=false --zone=Sandbox-simulator --hypervisor=simulator ; done"
exited with 2.
    travis_time:start:05291c61



> Volume gets created with the size mentioned in the custom disk offering 
> ------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-7541
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7541
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Volumes
>    Affects Versions: 4.5.0
>         Environment: latest build from 4.5 with commit  932ea253eb8c65821503ab9db301073cdb2a413e
>            Reporter: Sanjeev N
>            Assignee: Anshul Gangwar
>            Priority: Critical
>             Fix For: 4.5.0
>
>         Attachments: cloud.dmp, management-server.rar
>
>
> Volume gets created with the size mentioned in the custom disk offering 
> Steps to reproduce:
> ==============
> 1.Bring up cs with latest build
> 2.Create custom disk offering with disk size say 2
> 3.Create data disk using this offering and provide disk size as 1 while creating data
disk
> Expected Result:
> ==============
> Since the disk offering is of type custom , volume should be created with size given
during volume creation instead of taking it from the disk offering.
> If the disk offering is custom then the volume creation must ignore the size given in
the offering and should create volume with size provide while creating volume.
> Actual Result:
> ===========
> Disk got created with size mentioned in disk offering rather than the size given during
volume creation time. 
> Observations:
> ===========
> http://10.147.38.153:8096/client/api?command=createDiskOffering&isMirrored=false&name=custom&displaytext=custom&storageType=shared&cacheMode=none&provisioningType=thin&customized=true&disksize=2
> { "creatediskofferingresponse" :  { "diskoffering" : {"id":"2ddb8b79-9592-4b8c-8bd9-3d32c582873b","name":"custom","displaytext":"custom","disksize":2,"created":"2014-09-12T23:33:24+0530","iscustomized":true,"storagetype":"shared","provisioningtype":"thin","displayoffering":true}
}  }
> http://10.147.38.153:8080/client/api?command=createVolume&response=json&sessionkey=USf4e%2BpnzNiyWyq1PCeDFswjB%2BU%3D&name=custom&zoneId=2c67c83e-b8c3-42d0-a37b-b37287ac84dd&diskOfferingId=2ddb8b79-9592-4b8c-8bd9-3d32c582873b&size=1&_=1410525928417
> { "queryasyncjobresultresponse" : {"accountid":"638d4e82-341f-11e4-a4c9-06097e000023","userid":"638d5ddc-341f-11e4-a4c9-06097e000023","cmd":"org.apache.cloudstack.api.command.admin.volume.CreateVolumeCmdByAdmin","jobstatus":1,"jobprocstatus":0,"jobresultcode":0,"jobresulttype":"object","jobresult":{"volume":{"id":"42f24df4-b4ae-4b4c-80ce-ea1b5daf12bd","name":"custom","zoneid":"2c67c83e-b8c3-42d0-a37b-b37287ac84dd","zonename":"zone1","type":"DATADISK","provisioningtype":"thin","size":2147483648,"created":"2014-09-12T23:34:32+0530","state":"Allocated","account":"admin","domainid":"2caca782-341f-11e4-a4c9-06097e000023","domain":"ROOT","storagetype":"shared","hypervisor":"None","diskofferingid":"2ddb8b79-9592-4b8c-8bd9-3d32c582873b","diskofferingname":"custom","diskofferingdisplaytext":"custom","destroyed":false,"isextractable":true,"tags":[],"displayvolume":true,"quiescevm":false,"jobid":"edf1a066-63b0-400b-bf15-4f77bf659206","jobstatus":0}},"jobinstancetype":"Volume","jobinstanceid":"42f24df4-b4ae-4b4c-80ce-ea1b5daf12bd","created":"2014-09-12T23:34:32+0530","jobid":"edf1a066-63b0-400b-bf15-4f77bf659206"}
}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message