Commit Graph
15932 Commits
Author SHA1 Message Date
mouyaq bcc7fbcdc3 F #3264: fix after rebase 2019-05-27 18:49:26 +02:00
mouyaq fe7dfd3547 F #3264: Added VirtualMachineMonitor 2019-05-27 18:49:26 +02:00
mouyaq d29f4713b0 F #3264: get out wait_timeout and fixes 2019-05-27 18:49:25 +02:00
mouyaq 913b203b43 F #3264: get out nic_model_class and state_to_c 2019-05-27 18:49:24 +02:00
mouyaq 9c41da393b F #3264: Separate classes Nic and Disk 2019-05-27 18:49:24 +02:00
mouyaq 886bd2e258 F #3264: VirtualMachineDevice refactor 2019-05-27 18:49:23 +02:00
mouyaq 155f41b0ad F #3264: fix rubocop offenses in vmm_importer.rb 2019-05-27 18:44:18 +02:00
mouyaq f008971e59 F #3264: fix rubocop offenses 2019-05-27 18:44:18 +02:00
mouyaq bde691c1e8 F #3264: VmmImporter refactor 2019-05-27 18:44:17 +02:00
mouyaq 025734fbe7 F #3264: VirtualMachineFolder refactor 2019-05-27 18:44:16 +02:00
Tino Vazquez 2556fb2df9 F #1408: Remove no longer used VCENTER_ attributes
Datastores no longer hold vCenter credentials, but rather they
are pulled from the vCenter host associated.
2019-05-27 17:43:11 +02:00
Anton Todorov 3f641f6553 B #3362: count NIC aliases in onedb fsck (#3363)
Signed-off-by: Anton Todorov <a.todorov@storpool.com>
2019-05-27 13:00:13 +02:00
Christian González a82dd15d84 M #-: Fix memory leak (#3372) 2019-05-27 11:54:16 +02:00
sergiojvg d00b00a072 F #964: Allow FILES_DS for vCenter (#3351) 2019-05-24 12:24:23 +02:00
Tino Vazquez c53b1018b9 M #-: Add Travis test for conf branch protection
OpenNebula maintenance and hotfix revisions do not allow for any
change in their configuration files with respect to their
previous version.

In a minor branch (one-XX), the new 01-conf_branch_protect.sh script
will warn about configuration changes.
2019-05-24 11:54:48 +02:00
Jorge Lobo beb85ef212 F #2346: upgrade no-vnc (#3353)
* F #2346: upgrade no-vnc

Signed-off-by: Jorge Lobo <jlobo@opennebula.systems>
(cherry picked from commit 0da407fd10)
2019-05-23 17:27:38 +02:00
Jorge Lobo 7bb7a19151 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

(cherry picked from commit e85bd07297)
2019-05-23 12:24:35 +02:00
Alejandro Huertas Herrero 35eaf4bb7f B #3357: fix alias_id consecutive generation 2019-05-23 11:39:40 +02:00
Tino Vazquez 2bf20ac166 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)
2019-05-21 11:18:49 +02:00
Ruben S. Montero 6e70d45b68 L #-: Use brackets for symbol arrays 2019-05-21 10:49:05 +02:00
Ruben S. Montero 7f4a63d2ec L #-: Lint onevm_exec.rb & reduce duplicated code
(cherry picked from commit 87697ae528)
2019-05-21 10:49:05 +02:00
sergiojvg 4c323c7e35 F #3337: Configure retries from vcenterrc (#3350)
* F #3337: Configure retries from vcenterrc

* F #3337: Add retry_interval variable
2019-05-20 18:42:59 +02:00
sergiojvg 73e16b9acc 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
2019-05-20 18:38:46 +02:00
Tino Vazquez ddb2d892c2 B #3280: Revert original cluster create semantics 2019-05-20 18:26:01 +02:00
Tino Vazquez 14633d9515 B #3280: Refactor vCenter CLI host import
(cherry picked from commit 78bd769356)
2019-05-20 15:06:09 +02:00
Daniel Clavijo Coca 6272fb2143 F #3222: return ec pool usage if used (#3333)
(cherry picked from commit f07da23bce)
2019-05-20 11:44:00 +02:00
sergiojvg e178b5caba B #3331: Support token behind proxy (#3332) 2019-05-17 18:21:10 +02:00
jmdelafe 112234cd67 B #3281: Import Wild VM in vCenter defaults to host 0 (#3339) 2019-05-17 17:55:46 +02:00
jmdelafe aa0eae8eda 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>
2019-05-14 17:47:49 +02:00
Tino Vazquez 17f3c37955 L #-: Disable new 0.69.0 default rububocop cops
(cherry picked from commit 091c49b558)
2019-05-14 12:22:03 +02:00
sergiojvg d93615811b B #3326: Do not set mac when importing template (#3327) 2019-05-11 21:47:45 +02:00
sergiojvg 59b7a1beb0 Feature 2335 (#3313)
* F #3112: Bugs fixed

* F #2335: Implement clear and clear_all methods
2019-05-10 11:08:12 +02:00
Christian González 983c154d7a M #-: Fix vnet name check on create (#3323) 2019-05-10 09:43:33 +02:00
sergiojvg 0e7457bfae B #3320: Get ip when multiple ARs (#3321) 2019-05-09 12:33:58 +02:00
Daniel 2e13e8eb53 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>
2019-05-09 11:25:51 +02:00
sergiojvg c129976625 F #3112: Bug fixed (#3318) 2019-05-08 18:59:39 +02:00
Jorge Lobo 2a5f009fb9 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>
(cherry picked from commit dc4e630338)
2019-05-08 15:25:09 +02:00
Daniel Clavijo Coca 103a323952 M #-: Fix LXD shutdown timeout (#3314)
(cherry picked from commit efc232d2bb)
2019-05-08 12:05:16 +02:00
sergiojvg 46e0adb5cd F #3112: Bugs fixed (#3312) 2019-05-08 11:41:02 +02:00
Alejandro Huertas Herrero 27e0a16a25 F #688: add new options to CLI (#3311)
* Add options to:
        * Remove header
        * Choose CSV separator
        * Not strip columns
        * Expand column size
        * Disable expand
        * Set column size

    * Add new operators to filter data

    * Change default configuration files sizes

    * Lint and clean the code
2019-05-07 17:23:15 +02:00
Vlastimil Holer 5a81924d84 B #3229: Retry onehost sync on IOError (#3309)
(cherry picked from commit 4a0b133cd2)
2019-05-07 14:48:12 +02:00
Christian González 8bed8f562c F #3296 Add IP6_LINK and IP6_GLOBAL attributes to VM short body 2019-05-06 17:45:24 +02:00
Ruben S. Montero 5e4f97e84e B #2758: add db_versioning to federated tables. Fix reference to
pool_control table

(cherry picked from commit 7785509e5a)
2019-05-06 17:41:56 +02:00
kvaps 099c99a947 M #-: Don't (de)activate LV for other states (#3246)
Signed-off-by: kvaps <kvapss@gmail.com>
2019-05-06 17:32:13 +02:00
sergiojvg 46057cd97e 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
2019-05-06 17:18:46 +02:00
Tino Vázquez 71bfab1a3e M #-: Formatting COMMIT_MESSAGES.md 2019-04-30 15:30:41 +02:00
Tino Vázquez de43a428f0 M #-: Adjustments to COMMIT_MESSAGES.md 2019-04-30 15:29:34 +02:00
Tino Vázquez d0b944ce13 M #-: Minor changes to COMMIT_MESSAGES.md 2019-04-30 15:28:00 +02:00
Tino Vazquez c099e11104 F #3295: Add commit messages guidelines
Hopefully this commit message abides by the rules.
2019-04-30 15:20:55 +02:00
Christian González a2a8310d1e B #3193 Lock VM mark disappears in Sunstone (#3288) 2019-04-30 09:49:04 +02:00