Commit Graph
13997 Commits
Author SHA1 Message Date
mouyaq 432cd3c409 F #3264: Added VirtualMachineMonitor
(cherry picked from commit fe7dfd3547)
2019-05-28 17:35:51 +02:00
mouyaq bb8f5fc5e5 F #3264: get out wait_timeout and fixes
(cherry picked from commit d29f4713b0)
2019-05-28 17:35:44 +02:00
mouyaq 461c8602c7 F #3264: get out nic_model_class and state_to_c
(cherry picked from commit 913b203b43)
2019-05-28 17:35:37 +02:00
mouyaq 711baec300 F #3264: Separate classes Nic and Disk
(cherry picked from commit 9c41da393b)
2019-05-28 17:35:27 +02:00
mouyaq a91ccdfaef F #3264: VirtualMachineDevice refactor
(cherry picked from commit 886bd2e258)
2019-05-28 17:35:18 +02:00
mouyaq 13e5db0e32 F #3264: fix rubocop offenses in vmm_importer.rb
(cherry picked from commit 155f41b0ad)
2019-05-28 17:35:12 +02:00
mouyaq 948e39e771 F #3264: fix rubocop offenses
(cherry picked from commit f008971e59)
2019-05-28 17:35:06 +02:00
mouyaq a55e4b7f3a F #3264: VmmImporter refactor
(cherry picked from commit bde691c1e8)
2019-05-28 17:35:00 +02:00
mouyaq 3a1f471d75 F #3264: VirtualMachineFolder refactor
(cherry picked from commit 025734fbe7)
2019-05-28 17:34:53 +02:00
Alejandro Huertas Herrero ef8fe769b0 B #3269: onedb purge-done eat too much RAM (#3376)
* Process done VMs in pages, instead of all together
    * Add new method to iterate over pages
    * Add new CLI paramter to specify pages size

(cherry picked from commit b386ae4444)
2019-05-28 17:29:08 +02:00
Anton Todorov d45f639461 B #3362: count NIC aliases in onedb fsck (#3363)
Signed-off-by: Anton Todorov <a.todorov@storpool.com>
(cherry picked from commit 3f641f6553)
2019-05-27 13:05:49 +02:00
Christian González 4266a4510c M #-: Fix memory leak (#3372)
(cherry picked from commit a82dd15d84)
2019-05-27 12:10:53 +02:00
sergiojvg 699db7d8c2 F #964: Allow FILES_DS for vCenter (#3351)
(cherry picked from commit d00b00a072)
2019-05-24 12:25:41 +02:00
Jorge Lobo 0da407fd10 F #2346: upgrade no-vnc (#3353)
* F #2346: upgrade no-vnc

Signed-off-by: Jorge Lobo <jlobo@opennebula.systems>
2019-05-23 17:22:02 +02:00
Jorge Lobo e85bd07297 B #3280: check import vcenter cluster (#3365)
* B #3280: check import vCenter cluster

Signed-off-by: Jorge Lobo <jlobo@opennebula.systems>

* B #3280: check import vCenter cluster

Signed-off-by: Jorge Lobo <jlobo@opennebula.systems>

* B #3365: Changing function order for readibility
2019-05-23 12:22:32 +02:00
Alejandro Huertas Herrero 8dee71cfc5 B #3357: fix alias_id consecutive generation
(cherry picked from commit 35eaf4bb7f)
2019-05-23 11:45:25 +02:00
Tino Vazquez b495c3461c B #3335: Add default zone endpoint
This is a new user templatate attribute that is understood by Sunstone,
users with this setting will be logged in automatically in their
default zone (if no session is available)

(cherry picked from commit 2bf20ac166)
2019-05-21 11:19:13 +02:00
Ruben S. Montero 86fa2a1b31 L #-: Use brackets for symbol arrays
(cherry picked from commit 6e70d45b68)
2019-05-21 10:49:59 +02:00
sergiojvg a4828ed66c F #3337: Retry if failure during shutdown (#3338)
* F #3337: Retry if failure during shutdown

* F #3337: Configurable number of retries

* F #3337: Extend to deploy and cancel

* F #3337: Use retry_interval variable

* Update shutdown

(cherry picked from commit 73e16b9acc)
2019-05-20 18:39:13 +02:00
Tino Vazquez 2dbb9cb89d B #3280: Revert original cluster create semantics
(cherry picked from commit ddb2d892c2)
2019-05-20 18:26:58 +02:00
Tino Vazquez 78bd769356 B #3280: Refactor vCenter CLI host import 2019-05-20 15:05:50 +02:00
Ruben S. Montero 87697ae528 L #-: Lint onevm_exec.rb & reduce duplicated code 2019-05-20 12:26:23 +02:00
Daniel Clavijo Coca f07da23bce F #3222: return ec pool usage if used (#3333) 2019-05-20 11:35:50 +02:00
sergiojvg bfa43cc867 B #3331: Support token behind proxy (#3332)
(cherry picked from commit e178b5caba)
2019-05-17 18:21:34 +02:00
jmdelafe b1edde3339 B #3280: Check clusters (#3317)
* fix bug-3280

* B #3280: Import vCenter cluster as host needs to check existing OpenNebula clusters

* B #3280: Import vCenter cluster as host needs to check existing OpenNebula clusters

* fix bug-3280

Signed-off-by: jmdelafe <13242860+jmdelafe@users.noreply.github.com>

* B #3280: Import vCenter cluster as host needs to check existing OpenNebula clusters

Signed-off-by: jmdelafe <13242860+jmdelafe@users.noreply.github.com>

* B #3280: Import vCenter cluster as host needs to check existing OpenNebula clusters

Signed-off-by: jmdelafe <13242860+jmdelafe@users.noreply.github.com>
(cherry picked from commit aa0eae8eda)
2019-05-17 18:10:27 +02:00
jmdelafe 4bb5d05c61 B #3281: Import Wild VM in vCenter defaults to host 0 (#3339)
(cherry picked from commit 112234cd67)
2019-05-17 17:56:07 +02:00
Vlastimil Holer 638d4015ed M #-: Bump version to 5.8.3 (#3334) 2019-05-14 17:25:59 +02:00
sergiojvg e791e10061 B #3326: Do not set mac when importing template (#3327)
(cherry picked from commit d93615811b)
2019-05-11 21:56:06 +02:00
Jorge Lobo 20fc6d29b0 B #3308: Extended info conf attribute (#3325)
New Sunstone attribute to pull extended pool info from oned

Signed-off-by: Jorge Lobo <jlobo@opennebula.systems>
2019-05-10 18:52:40 +02:00
sergiojvg 34fe649e93 Feature 2335 (#3313)
* F #3112: Bugs fixed

* F #2335: Implement clear and clear_all methods

(cherry picked from commit 59b7a1beb0)
2019-05-10 11:11:37 +02:00
Christian González dd05b4353c M #-: Fix vnet name check on create (#3323)
(cherry picked from commit 983c154d7a)
2019-05-10 09:47:30 +02:00
sergiojvg 558dba1d50 B #3320: Get ip when multiple ARs (#3321)
(cherry picked from commit 0e7457bfae)
2019-05-09 12:35:27 +02:00
Daniel 83bbad6101 B #3305: OpenvSwitch “del_flows” traceback (#3304)
The “del_flows” override the loop variable “m” when matching the port,
on the second loop which result in the following error.

    /var/tmp/one/vnm/ovswitch/OpenvSwitch.rb:287:in `match': wrong
    argument type MatchData (expected Regexp) (TypeError)

* src/vnm_mad/remotes/ovswitch/OpenvSwitch.rb: use a different variable
  name when matching the port than the loop iterator.

Signed-off-by: Daniel Dehennin <daniel.dehennin@ac-dijon.fr>
(cherry picked from commit 2e13e8eb53)
2019-05-09 11:31:49 +02:00
sergiojvg 12e92c87a9 F #3112: Bug fixed (#3318)
(cherry picked from commit c129976625)
2019-05-08 19:03:51 +02:00
Jorge Lobo dc4e630338 B #3101 multiple entries for a VF nic (#3310)
* B #3101 multiple entries for a VF nic

Signed-off-by: Jorge Lobo <jlobo@opennebula.systems>

* B #3101: multiple entries for VF nic

Signed-off-by: Jorge Lobo <jlobo@opennebula.systems>

* B #3101: multiple entries for VF nic

Signed-off-by: Jorge Lobo <jlobo@opennebula.systems>

* B #3101: multiple entries for VF nic

Signed-off-by: Jorge Lobo <jlobo@opennebula.systems>
2019-05-08 15:24:36 +02:00
Daniel Clavijo Coca efc232d2bb M #-: Fix LXD shutdown timeout (#3314) 2019-05-08 12:01:19 +02:00
sergiojvg e75a02dd28 F #3112: Bugs fixed (#3312)
(cherry picked from commit 46e0adb5cd)
2019-05-08 11:41:28 +02:00
Vlastimil Holer 4a0b133cd2 B #3229: Retry onehost sync on IOError (#3309) 2019-05-07 14:42:13 +02:00
Christian González de26135c52 F #3296 Add IP6_LINK and IP6_GLOBAL attributes to VM short body
(cherry picked from commit 8bed8f562c)
2019-05-06 17:50:36 +02:00
Ruben S. Montero 7785509e5a B #2758: add db_versioning to federated tables. Fix reference to
pool_control table
2019-05-06 17:41:09 +02:00
kvaps d86a36b3e6 M #-: Don't (de)activate LV for other states (#3246)
Signed-off-by: kvaps <kvapss@gmail.com>
(cherry picked from commit 099c99a947)
2019-05-06 17:37:08 +02:00
sergiojvg 8e474c85ed F #3112: Manage IPs for vCenter imported VMs (#3301)
* F #3112: Manage IPs for vCenter imported VMs

* F #3112: Bug fix

* F #3112: Code refracting

(cherry picked from commit 46057cd97e)
2019-05-06 17:19:25 +02:00
Christian González c5d5fc01ec B #3193 Lock VM mark disappears in Sunstone (#3288)
(cherry picked from commit a2a8310d1e)
2019-04-30 09:53:33 +02:00
Jorge Lobo 373eca987f B #3213 Adjust Sunstone banner (#3285)
Signed-off-by: Jorge Lobo <jlobo@opennebula.systems>
(cherry picked from commit 67816c03b2)
2019-04-29 18:04:28 +02:00
sergiojvg b1b1501e34 F #3293 Read driver action on attach_disk using STDIN for vcenter dri… (#3293)
* F #3293 Read driver action on attach_disk using STDIN for vcenter drivers

* Update attach_disk

(cherry picked from commit 8440eac802)
2019-04-29 17:53:56 +02:00
sergiojvg 7d65da875f Feature 1896 - Use Information from drv_action (#3214)
* F #1896: Get host id from drv_action on shutdown

Signed-off-by: Sergio Vega <svega@opennebula.systems>

* F #1896: Get host id from drv_action on every supported action

Signed-off-by: Sergio Vega <svega@opennebula.systems>

* F #1896: Enhance vCenter driver actions pool calls

(cherry picked from commit 9227577fe2)
2019-04-29 17:06:43 +02:00
Daniel Clavijo Coca bfe6c41fd6 development: Removes TODO comments, add start/stop log messages and includes API retries.
* LXD Remove some TODOs

* Handle LXD ocassional shutdown error

* Fix API response error handling

* Explicitly log the moment the container starts/stops

* Update client.rb
2019-04-29 10:26:00 +02:00
Alejandro Huertas Herrero a8402c5581 F #3082: add system_disk_size field (#3286) 2019-04-29 09:52:12 +02:00
Ruben S. Montero aed5af427d Revert "F #3082: fix fsck version and add system_disk_size field (#3279)"
This reverts commit bb1c215b45.
2019-04-29 09:54:49 +02:00
Alejandro Huertas Herrero bb1c215b45 F #3082: fix fsck version and add system_disk_size field (#3279)
(cherry picked from commit 523612b923)
2019-04-27 21:06:20 +02:00