1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-01-11 05:17:41 +03:00
Commit Graph

15922 Commits

Author SHA1 Message Date
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
Jorge Lobo
67816c03b2 B #3213 Adjust Sunstone banner (#3285)
Signed-off-by: Jorge Lobo <jlobo@opennebula.systems>
2019-04-29 18:04:10 +02:00
sergiojvg
8440eac802 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
2019-04-29 17:53:35 +02:00
Jan Orel
776d5629dd F OpenNebula/infra#224 Packages for Ubuntu 19.04 (#3290) 2019-04-29 17:50:19 +02:00
Christian González
0d8d34645e Allow vm migration if the VM have PCI devices and is in poff state (#3291) 2019-04-29 17:47:57 +02:00
Tino Vazquez
fe39e53054
L: Update cops for rubocop v0.68.0 2019-04-29 17:33:34 +02:00
Tino Vazquez
faeac24126
L: Add upgrade files to rubocop exclusion list
Files are not linted
2019-04-29 17:05:59 +02:00
sergiojvg
9227577fe2 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
2019-04-29 16:17:30 +02:00
Alejandro Huertas Herrero
595c1c9df7 F #1414: fix bug related with older context packages (#3287) 2019-04-29 11:41:27 +02:00
Daniel Clavijo Coca
df4b534cf6
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

(cherry picked from commit bfe6c41fd6)
2019-04-29 10:30:37 +02:00
Alejandro Huertas Herrero
523612b923 F #3082: fix fsck version and add system_disk_size field (#3279) 2019-04-27 21:01:07 +02:00