1
0
mirror of https://github.com/OpenNebula/one.git synced 2024-12-24 21:34:01 +03:00
Commit Graph

16102 Commits

Author SHA1 Message Date
Tino Vazquez
d0dc51f0c9
B #3373: Consume STDIN in dummy TMs and VMMs drvrs
To prevent Broken Pipe errors
2019-09-03 16:42:52 +02:00
Alejandro Huertas Herrero
42d83f59bf B #3578: change parser to process alias (#3635) 2019-09-03 16:30:32 +02:00
Vlastimil Holer
d9ee08235b F #3042: Respect GEMS_LOCATION, use STDIN for data (#3639) 2019-09-03 14:09:24 +02:00
Christian González
6a5f0e6f60 M #-: Fix docker-machine addon compatibility (#3642) 2019-09-03 13:24:52 +02:00
Carlos J. Herrera
cbf8f0d7ff M #~: fixing some typos (#3633)
Signed-off-by: Carlos J. Herrera Matos <cherrera@opennebula.systems>
2019-09-02 19:29:46 +02:00
Angel Luis Moya Gonzalez
e5a6bb6b99 F #3440: Fix monitoring loop (#3636)
Fix a monitoring loop that occurs when NSX Manager is not
reachable. An SSH exception is created an created a personalized
message that break the format of the attribute NSX_STATUS.
That message has been changed to a static message.

Also fix a typo when launching an Standard Error.
2019-09-02 18:18:50 +02:00
Jorge Lobo
3b8bf172f3 F #3440: Fix error show nsx-t form (#3634)
* F #3440: Refactor host.rb

Refactor host.rb using classes:
NSXClient
TransportZone

* Error corrections

* M #3440: Added forgotten sleep

* M #3440: Change require order in nsx_driver

Change require order in NSX Driver to avoid
the inclussion of additional requires.

* F #3440: NSX add form in vnets

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

* F #3440: add action NSX

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

* F #3440: add form set user and password

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

* F #3440: add form NSX-V in vnet (create)

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

* F #3440: fix form NSX-V in vnet (create)

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

* F #3440: clear form NSX-V in vnet (create)

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

* F #3440: add form NSX-T in vnet (create)

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

* F #3440: Submit action NSX (vnet create)

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

* F #3440: fix error show nsx-t form

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

* Delete sshuttle.pid
2019-09-02 17:39:42 +02:00
Jan Orel
72e0b2e580 B #3203: Attach volat. disk as blk device (LVM) (#3603) 2019-09-02 17:08:30 +02:00
Tino Vazquez
e2c92e7a32
M #-: Change wrong repo check for protect branch 2019-09-02 10:06:00 +02:00
Alejandro Huertas
6796f5093d
F #3042: Packet public networking
* code linting
    * add new files into install.sh
    * decrypt secrets in ipam/hook
    * fix use of <<~EOF

(cherry picked from commit f9e469b10f)
2019-08-30 17:30:34 +02:00
Alejandro Huertas
1a56d89890
F #3042: Packet Public Networking
* Add alias ip hook
    * Add packet ipam scripts
    * Make some changes in packethost Ruby gem
    * Make some changes in Packet vmm driver

(cherry picked from commit c87025d314)
2019-08-30 17:29:24 +02:00
Tino Vazquez
94e7fd7487 M #-: Removing unneeded debug information
Jorge's footprints
2019-08-28 15:50:04 -07:00
Jorge Lobo
81ed024186 F #3440: Add forms NSX sunstone (#3620)
* F #3440: NSX add form in vnets

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

* F #3440: add action NSX

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

* F #3440: add form set user and password

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

* F #3440: add form NSX-V in vnet (create)

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

* F #3440: fix form NSX-V in vnet (create)

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

* F #3440: clear form NSX-V in vnet (create)

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

* F #3440: add form NSX-T in vnet (create)

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

* F #3440: Submit action NSX (vnet create)

Signed-off-by: Jorge Lobo <jlobo@opennebula.systems>
(cherry picked from commit eb3d3cab65dde232806745e0d32a657335b080da)
2019-08-28 15:07:23 -07:00
Ruben S. Montero
609ca70789
F #3380: Add missing 0mq gem file 2019-08-27 14:33:42 +02:00
Ruben S. Montero
8ffb9e1530
F #3380: Add 0mq gem files 2019-08-27 13:53:10 +02:00
Daniel Clavijo Coca
c00f50dfc7
B #3596: Lxd snap update (#3605)
(cherry picked from commit ecad39b8fe)
2019-08-27 10:42:31 +02:00
Tino Vazquez
c54a8400ad
L #-: Remove trailing space
(cherry picked from commit 4e52864586)
2019-08-22 14:22:38 +02:00
Angel Luis Moya Gonzalez
244a5ee737 B #3563: Fix VM import (#3609)
Fix the problem when trying to import a VM with
guest.net.ipConfig attribute unset.
2019-08-22 14:09:44 +02:00
Tino Vazquez
7a76cb85ab
L #-: Disable SpaceAroundOperators rubocop layout
Also fix line too long offense
2019-08-22 13:20:00 +02:00
Angel Luis Moya Gonzalez
3581561240 F #3440: Refactor and corrections (#3570)
* F #3440: Refactor host.rb

Refactor host.rb using classes:
NSXClient
TransportZone

* Error corrections

* M #3440: Added forgotten sleep

* M #3440: Change require order in nsx_driver

Change require order in NSX Driver to avoid
the inclussion of additional requires.
2019-08-22 11:15:24 +02:00
Vlastimil Holer
060c85607a F #2799: Respect GEMS_LOCATION (#3602) 2019-08-19 23:54:45 +02:00
Vlastimil Holer
787e957f85 F #2799: Respect GEMS_LOCATION (#3598) 2019-08-18 20:33:09 +02:00
Ruben S. Montero
77e7b69ad6
F #3586: Use pthreads 2019-08-16 11:19:11 +02:00
Pavel Czerný
e31deafff7 F #3586: Uniform thread-safe random generator 2019-08-16 11:11:31 +02:00
Daniel Clavijo Coca
78bf58c5f3 F #2451 Fix dummy vnm hoks (#3589) 2019-08-13 23:02:37 +02:00
Jan Orel
41d9e000ed B #3373: pass VM template via STDIN (#3583) 2019-08-12 16:02:25 +02:00
Jan Orel
a551326e77 B #3496: Validate disk-snapshot id (#3579) 2019-08-12 15:49:39 +02:00
Vlastimil Holer
ed03d91b63 F #3440: Fix hash syntax (#3588) 2019-08-12 15:44:49 +02:00
Vlastimil Holer
39e4e819ec F #3576: Gemfile.lock for Debian 10 (#3577) 2019-08-08 12:59:26 +02:00
Jan Orel
e98c801f8f F#3244: Better mixed modes (#3574) 2019-08-07 11:37:39 +02:00
Alejandro Huertas Herrero
598bf6c069 B #3484: check if alias is being detached (#3575) 2019-08-06 10:44:54 +02:00
Angel Luis Moya Gonzalez
e5e169932f F #3440: Initial NSX driver commit (#3549)
* F #3440: Create and delete NSX networks

This allows to create and delete from command line both
NSX-V netwoks and NSX-T networks.

* F #1256: Allow attach created Opaque Networks

This allows to attach a new created Opaque Network
to a instance.

* F #3440: Allows attach/detach created NSX-V networks

Changes included:
Allow attach and detach nics to a VM from nsx-v networks
created from OpenNebula.
Improve function to retrieve nsx-t network identifier on vc

* M #-: Change Network types as constants

Created new constans into Network class to identify
the different types of networks
Also changed order to detect Network avoiding incorrect
detections due to its parent Classes

* F #3440 #1256: Added NSX info to monitor

Added the following NSX info to host monitor:
NSX_MANAGER: "NSX Manager | NSX-T Manager"
NSX_TYPE: "NSX-V | NSX-T"
NSX_VERSION: "NSX-V or NSX-T version"
NSX_URL: NSX Manager url

* F #3440: Add Transport Zones to monitor host info

If the folowing attributes are correct, the transport
zones are listed into the host monitor information:

NSX_MANAGER
NSX_TYPE
NSX_USER
NSX_PASSWORD

* F #3440: Change NSX parameters to Host object

Some parameters created in first instance in vnet object for
testing purposes, has been changed to its definitive placement,
the Host object.

* F #3440: Added NSX_STATUS

Added NSX_STATUS attribute, checking the following:

- NSX_USER 	(Check if attribute is setted)
- NSX_PASSWORD	(Check if attribute is setted)
- NSX_TYPE	(Check if attribute is setted)
- NSX_MANAGER	(Check if attribute is setted)
- Check a correct connection with NSX Manager

The result is shown in the attribute NSX_STATUS, that
should be NSX_STATUS = "OK" if all is correct.

* F #3440: Refactor and clean

Refactor code into classes and clean.

* F #3440: Clean and rubocop

Set url as base_url + section + parameter
Correction to avoid rubocop warnings

* F #3440: Rubocop fixes

Corrected rubocop warnings

* F #3440: Fix rubocop warnings on hooks

Fixed rubocop warnings on network hooks

* F #3440: Fix rubocop warning on nsx_driver.rb

* F #3440: Forgotten sleep to timeout

Added a forgotten sleep into a timeout secuence.
Added cosmetic changes to minimize code lines.
2019-07-31 18:25:22 +02:00
kvaps
a297619227 F #3384: Inherit FILTER from the virtual network (#3385)
Signed-off-by: kvaps <kvapss@gmail.com>
2019-07-31 11:03:24 +02:00
Ruben S. Montero
1988cb8369
M #-: Update zone.xsd to conform API one.zone.info call 2019-07-30 14:39:24 +02:00
Ruben S. Montero
5faa28d480
F #3503: Update XSD for host schema 2019-07-30 14:20:23 +02:00
Ruben S. Montero
d4b1a66860
F #3503: Fix calculation of FREE_CPUs after updating ISOLCPUS 2019-07-29 16:08:43 +02:00
vmoyankov
4ca50f7519 B #3556: Fix IP spoofing filters (#3558)
Signed-off-by: Venko Moyankov <venko@storpool.com>
2019-07-29 13:51:26 +02:00
Christian González
01d293654a
M #-: Update docker-machine dependencies (#3560)
(cherry picked from commit 820ea73fbd)
2019-07-29 13:04:17 +02:00
Daniel Clavijo Coca
6b39bfea8b F #3509: Log vnm hook stdout
* M #: Removed useless variable
2019-07-26 19:46:00 +02:00
Jorge Lobo
8b9531fb73 B #3195: lost action (#3565)
Signed-off-by: Jorge Lobo <jlobo@opennebula.systems>
2019-07-26 18:39:01 +02:00
Jorge Lobo
7360d0c2f3 F #1764: active button VM.updateconf
Signed-off-by: Jorge Lobo <jlobo@opennebula.systems>
2019-07-26 16:15:51 +02:00
Jorge Lobo
758ec50301 B #3254: add function parse hugepage (#3561) 2019-07-26 15:55:27 +02:00
Ruben S. Montero
a6481bb038
F #1764: updateconf for running VM
L #-: Use nullptr, cpplint rules

co-authored-by: Pavel Czerny <pczerny@opennebula.systems>
2019-07-26 13:45:26 +02:00
Daniel Clavijo Coca
65aabd760a B #3510: Fix 802.1Q hooks (#3557) 2019-07-26 10:07:43 +02:00
Tino Vazquez
597f737347
M #-: By default, OneFlow should leave failed VMs
Instead of forcing the deletion, in order to analyze the problem
2019-07-25 18:49:26 +02:00
Ruben S. Montero
3b4b0b2723
F #3503: Support for DPDK. Added ISOLCPUS to isolate cpus from the NUMA scheduler 2019-07-25 16:23:38 +02:00
Jorge Lobo
7e24e6e5d7 F #3254: add isolcpus (#3553) 2019-07-25 15:24:59 +02:00
Jorge Lobo
31135ce571 B #3254: fix bug hugepages (#3552)
Signed-off-by: Jorge Lobo <jlobo@opennebula.systems>
2019-07-25 11:32:47 +02:00
treywelsh
de5deda28f B #3516: GOCA - fix saveas method mapping (#3517)
Signed-off-by: Pierre Lafievre <pierre.lafievre@iguanesolutions.com>
2019-07-24 11:41:52 +02:00
treywelsh
10d317123f F #3227: GOCA: update dependencies (#3550) 2019-07-24 11:41:36 +02:00