You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by GitBox <gi...@apache.org> on 2018/07/11 14:31:49 UTC

[GitHub] nvazquez opened a new issue #2740: Potential mismatch on guest OS - hypervisor mappings on upgrades

nvazquez opened a new issue #2740: Potential mismatch on guest OS - hypervisor mappings on upgrades
URL: https://github.com/apache/cloudstack/issues/2740
 
 
   ##### ISSUE TYPE
    * Bug Report
   
   ##### COMPONENT NAME
   ~~~
   SCHEMA
   ~~~
   
   ##### CLOUDSTACK VERSION
   ~~~
   4.4.0
   4.4.1
   4.4.2
   4.5.0
   4.4.4
   4.5.1
   4.5.2
   4.5.3
   4.6.0
   4.6.1
   4.7.0
   4.7.1
   4.8.0
   4.8.1
   4.9.0
   4.9.1.0
   4.9.2.0
   4.9.3.0
   4.10.0.0
   4.11.0.0
   4.11.1.0
   4.12.0.0
   ~~~
   
   ##### CONFIGURATION
   N/A
   
   
   ##### OS / ENVIRONMENT
   N/A
   
   ##### SUMMARY
   Current support for new guest OS takes place on the upgrade scripts:
   - New guest OS are introduced by inserting entries on `guest_os` table with a hardcoded ID.
   - Hypervisor support for each guest OS are introduced by inserting entries on `guest_os_hypervisor` table, pointing to the hardcoded guest OS IDs on `guest_os` table.
   
   If an administrator adds at least one new guest OS (using `addGuestOs` API method), mappings after the upgrade will not be consistent (in case new guest OS are supported on the newest CloudStack version), as that API method inserts entries on the `guest_os` table.
   
   
   ##### STEPS TO REPRODUCE
   - Add at least one new guest OS on CloudStack
   - Upgrade to newest version
   
   ##### EXPECTED RESULTS
   - Correct mappings for guest OS and hypervisors as stated on the upgrade script
   
   ##### ACTUAL RESULTS
   Some mapping entries will point to the ones that were created manually and not the ones that were supposed to be added by the upgrade script
   

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


With regards,
Apache Git Services