cloudstack/plugins
Rohit Yadav acc5fdcdbd
CLOUDSTACK-10290: allow config drives on primary storage for KVM (#2651)
This introduces a new global setting `vm.configdrive.primarypool.enabled` to toggle creation/hosting of config drive iso files on primary storage, the default will be false causing them to be hosted on secondary storage. The current support is limited from hypervisor resource side and in current implementation limited to `KVM` only. The next big change is that config drive is created at a temporary location by management server and shipped to either KVM or SSVM agent via cmd-answer pattern, the data of which is not logged in logs. This saves us from adding genisoimage dependency on cloudstack-agent pkg.

The APIs to reset ssh public key, password and user-data (via update VM API) requires that VM should be shutdown. Therefore, in the refactoring I removed the case of updation of existing ISO. If there are objections I'll re-put the strategy to detach+attach new config iso as a way of updation. In the refactored implementation, the folder name is changed to lower-cased configdrive. And during VM start, migration or shutdown/removal if primary storage is enable for use, the KVM agent will handle cleanup tasks otherwise SSVM agent will handle them.

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2018-05-21 14:27:23 +05:30
..
acl CLOUDSTACK-10327: Do not invalidate the session when an API command is not available (#2498) 2018-04-24 15:01:19 +02:00
affinity-group-processors Host Affinity plugin (#2630) 2018-05-21 12:49:08 +05:30
alert-handlers Updating pom.xml version numbers for release 4.11.1.0-SNAPSHOT 2018-02-26 16:57:48 +01:00
api Updating pom.xml version numbers for release 4.11.1.0-SNAPSHOT 2018-02-26 16:57:48 +01:00
ca/root-ca ca: Fixes #2530 have all IPs from KVM host in issued X509 cert 2018-05-04 12:37:23 +05:30
database Updating pom.xml version numbers for release 4.11.1.0-SNAPSHOT 2018-02-26 16:57:48 +01:00
dedicated-resources Updating pom.xml version numbers for release 4.11.1.0-SNAPSHOT 2018-02-26 16:57:48 +01:00
deployment-planners Updating pom.xml version numbers for release 4.11.1.0-SNAPSHOT 2018-02-26 16:57:48 +01:00
event-bus CLOUDSTACK-10319: Prefer TLSv1.2, deprecate TLSv1.0,1.1 (#2480) 2018-03-12 11:43:59 +01:00
file-systems/netapp Updating pom.xml version numbers for release 4.11.1.0-SNAPSHOT 2018-02-26 16:57:48 +01:00
ha-planners/skip-heurestics Updating pom.xml version numbers for release 4.11.1.0-SNAPSHOT 2018-02-26 16:57:48 +01:00
host-allocators/random Updating pom.xml version numbers for release 4.11.1.0-SNAPSHOT 2018-02-26 16:57:48 +01:00
hypervisors CLOUDSTACK-10290: allow config drives on primary storage for KVM (#2651) 2018-05-21 14:27:23 +05:30
integrations Updating pom.xml version numbers for release 4.11.1.0-SNAPSHOT 2018-02-26 16:57:48 +01:00
metrics Updating pom.xml version numbers for release 4.11.1.0-SNAPSHOT 2018-02-26 16:57:48 +01:00
network-elements CLOUDSTACK-10132: Extend support for management servers LB for agents (#2469) 2018-03-15 16:34:03 +05:30
outofbandmanagement-drivers Updating pom.xml version numbers for release 4.11.1.0-SNAPSHOT 2018-02-26 16:57:48 +01:00
storage backports for 4.11.1 from master (#2621) 2018-05-09 15:20:19 +05:30
storage-allocators/random Updating pom.xml version numbers for release 4.11.1.0-SNAPSHOT 2018-02-26 16:57:48 +01:00
user-authenticators saml2: Fixes #2548 SAML2 cert encoding and decoding 2018-05-04 12:37:23 +05:30
pom.xml Host Affinity plugin (#2630) 2018-05-21 12:49:08 +05:30