borisstoyanov opened a new issue #3939: System offering of router says its 
local storage but it ends up on different if the pools are disabled
URL: https://github.com/apache/cloudstack/issues/3939
 
 
   <!--
   Verify first that your issue/request is not already reported on GitHub.
   Also test if the latest release and master branch are affected too.
   Always add information AFTER of these HTML comments, but no need to delete 
the comments.
   -->
   
   ##### ISSUE TYPE
   <!-- Pick one below and delete the rest -->
    * Bug Report
   
   
   ##### COMPONENT NAME
   <!--
   Categorize the issue, e.g. API, VR, VPN, UI, etc.
   -->
   ~~~
   Deployment planner
   ~~~
   
   ##### CLOUDSTACK VERSION
   <!--
   New line separated list of affected versions, commit ID for issues on master 
branch.
   -->
   
   ~~~
   4.14
   ~~~
   
   ##### CONFIGURATION
   <!--
   Information about the configuration if relevant, e.g. basic network, 
advanced networking, etc.  N/A otherwise
   -->
   
   
   ##### OS / ENVIRONMENT
   <!--
   Information about the environment if relevant, N/A otherwise
   -->
   Have a local storage pool with some other pools as well
   
   ##### SUMMARY
   <!-- Explain the problem/feature briefly -->
   Steps: 
   
   
   
   ```
   (localcloud) SBCM5> > list routers filter=name,serviceofferingid,,templateid,
   {
     "count": 1,
     "router": [
       {
         "name": "r-21-VM",
         "serviceofferingid": "1f3d4c8c-c585-47f1-8cdb-f03cb4076988",
         "templateid": "62f6a3bd-0160-4e52-b72c-2e61fc74a987"
       }
     ]
   }
   (localcloud) SBCM5> > list templates id=62f6a3bd-0160-4e52-b72c-2e61fc74a987 
templatefilter=all filter=directdownload,name,
   {
     "count": 1,
     "template": [
       {
         "directdownload": true,
         "name": "ssvm4.14"
       }
     ]
   }
   (localcloud) SBCM5> > list serviceofferings issystem=true
       {
         "cpunumber": 1,
         "cpuspeed": 500,
         "created": "2020-02-20T07:23:35+0000",
         "defaultuse": true,
         "id": "1f3d4c8c-c585-47f1-8cdb-f03cb4076988",
         "iscustomized": false,
         "issystem": true,
         "isvolatile": false,
         "limitcpuuse": false,
         "memory": 256,
         "name": "System Offering For Software Router - Local Storage",
         "offerha": true,
         "provisioningtype": "thin",
         "storagetype": "local",
         "systemvmtype": "domainrouter"
       },
   
   ```
   ```
   But there’s a system offering available for mountshare and it is not used: 
   
    "serviceoffering": [
       {
         "cpunumber": 1,
         "cpuspeed": 1024,
         "created": "2020-02-25T09:45:03+0000",
         "defaultuse": false,
         "displaytext": "System offering for VR - Mountshare",
         "id": "43e8df56-6f4e-408e-b619-53cf6289dc30",
         "iscustomized": false,
         "iscustomizediops": false,
         "issystem": true,
         "isvolatile": false,
         "limitcpuuse": false,
         "maxiops": 0,
         "memory": 512,
         "miniops": 0,
         "name": "System offering for VR - Mountshare",
         "offerha": false,
         "provisioningtype": "thin",
         "storagetype": "shared",
         "systemvmtype": "domainrouter",
         "tags": "ms"
       },
   
   MariaDB [cloud]> select id,pool_id from volumes where name ='ROOT-21';
   +----+---------+
   | id | pool_id |
   +----+---------+
   | 24 |       5 |
   +----+---------+
   1 row in set (0.00 sec)
   
   MariaDB [cloud]> select pool_type from storage_pool where id=5;
   +------------------+
   | pool_type        |
   +------------------+
   | SharedMountPoint |
   +------------------+
   1 row in set (0.00 sec)
   
   
   
   
   ```
   
   
   ##### STEPS TO REPRODUCE
   <!--
   For bugs, show exactly how to reproduce the problem, using a minimal 
test-case. Use Screenshots if accurate.
   
   For new features, show how the feature would be used.
   -->
   
   <!-- Paste example playbooks or commands between quotes below -->
   ~~~
   Enable maintenance on all Storage pools but a Sharedmountpoint
   
   Restart a Network with cleanup
   
   Observe that the new VR is created correctly on the only available storage 
pool, but the offering is not correct under which is created
   ~~~
   
   <!-- You can also paste gist.github.com links for larger files -->
   
   ##### EXPECTED RESULTS
   <!-- What did you expect to happen when running the steps above? -->
   
   ~~~
   Deployment to fail as there's no suitable storage
   ~~~
   
   ##### ACTUAL RESULTS
   <!-- What actually happened? -->
   
   <!-- Paste verbatim command output between quotes below -->
   ~~~
   Deployment is successful on shared storage
   ~~~
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to