Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ovirt engine 4.1.2.z #12

Closed
wants to merge 637 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
637 commits
Select commit Hold shift + click to select a range
9b3eb3c
webadmin: Show warning when DC is not upgraded to latest version
Feb 13, 2017
ab7c699
webadmin: Show warning when cluster is not upgraded to latest version
Feb 14, 2017
eff6bc4
engine: remove nonexisting columns in taskcleaner
rollandf Feb 22, 2017
5a0efff
build: post ovirt-engine-4.1.1.z branching
sandrobonazzola Feb 22, 2017
0961deb
webadmin: Default values for volume create
sabose Feb 21, 2017
e512edb
scheduling: Dismiss HE VM in affinity migration
yanirq Feb 15, 2017
e87afd5
webadmin: Update VM NUMA nodes if VM memory or CPU count has changed
akrejcir Feb 13, 2017
70637a3
Revert "webadmin: Refresh VM numa nodes when VM memory or CPU cores a…
akrejcir Feb 13, 2017
97cc1b6
he_restore: updating foreign key removing HE hosts
tiraboschi Feb 6, 2017
b5ca837
webadmin: Warn when deploying HE with cluster compatibility less than…
akrejcir Feb 20, 2017
c22c434
he: Ensures that there will be no spm_id=1 host after restore.
Jan 30, 2017
a6716ed
core: Fix installing logutils.jar
mwperina Feb 22, 2017
7db5fc5
core: Allow deployment of HE on clusters with compatibility less than…
akrejcir Feb 21, 2017
4312adb
he_restore: avoid failing with other VM disks
tiraboschi Feb 21, 2017
e2459af
webadmin: add url to UPLOAD_IMAGE_NETWORK_ERROR
danielerez Feb 21, 2017
a903e51
webadmin: support translation on FileUpload
danielerez Feb 16, 2017
c4e2526
restapi: Update to model 4.1.30 and metamodel 1.1.10
jhernand Feb 22, 2017
022eef1
engine: Add timeout to communication with network provider
dominikholler Jan 12, 2017
6a01f72
webadmin: Warn on add brick for HC volume
sabose Feb 22, 2017
660a8e0
gluster: add arbiter flag for bricks
Feb 24, 2017
4a73193
core: rename ImageProxyURL for upgrade from 3.6
danielerez Feb 22, 2017
2e48dd8
webadmin: Modify NewDiskModel's 'Read-Only' value.
Feb 22, 2017
fcfe019
webadmin: Move updateBondOptions to SetupNetworksBondModel
dominikholler Feb 20, 2017
50433b2
backend: Filter non-applicable hosts in HostDeviceFilterPolicyUnit
matobet Feb 22, 2017
1cdb1c6
packaging: spec: ensure debug packages alignment
sandrobonazzola Feb 24, 2017
87f3a2e
webadmin: Fix clicking on labels
awels Feb 24, 2017
0d8fbeb
webadmin: Fix ComboBox
awels Feb 27, 2017
62eeaef
core: wrong message when trying to restart HA VM
shaharha Feb 27, 2017
b90ce68
webadmin: Change message when failing to update plugged nic
Feb 21, 2017
98f3813
search: Add spm_id as a searchable field for Host
Feb 9, 2017
3765d1c
he: Bare metal migration helper script added.
Feb 9, 2017
df00d4b
userportal,webadmin: Text in templates
awels Feb 23, 2017
8a4c234
packaging: spec: Require collectd/fluentd+plugins
didib Feb 2, 2017
d550776
userportal, webadmin: translations update from zanata
sjd78 Feb 28, 2017
db5a9c2
webadmin: Fix ClassCastException when removing template's disk
bennyz Feb 8, 2017
6660ecf
webadmin: Adjust select elements font color on a selected table row
tnisan Mar 1, 2017
a8d1d7c
core: fix wrong failure of space requirement validation
bennyz Jan 29, 2017
ebbe07f
webadmin: Fixing unexpected UI behavior in the New External Subnet wi…
Feb 28, 2017
d9711de
core: StorageHandlingCommandBase - getEntitiesFromStorageOvfDisk() loop
laravot Feb 23, 2017
03097a6
webadmin: Enable overflow setting in DisksAllocationView
tnisan Mar 1, 2017
359bcc7
core: Make BaseDisk implement Nameable
tnisan Mar 1, 2017
7a49541
core: Sort disk order in Libvirt XML by the alias lexonumerically
tnisan Mar 1, 2017
da14da0
backend: generic type of PostDeleteActionHandler::fixParameters
Feb 26, 2017
00c2f24
backend: change Discard After Delete logic
Feb 26, 2017
9679923
packaging: setup: Change the SSL protocols supported by Apache
lveyde Dec 5, 2016
b5bce90
backend: sync luns on live dc upgrade
Feb 15, 2017
66a0255
restapi: Set 'filter=true' by default for non admins
jhernand Feb 24, 2017
9aeff34
restapi: Disable filtering by default for non-admin users
jhernand Mar 1, 2017
34b13e7
restapi: disable keepaliveInterval for download image
danielerez Mar 1, 2017
a5150ee
Remove ovirt-engine-hosts-ansible-inventory
didib Mar 1, 2017
920ab12
core: Validate CPU ids and memory for VM NUMA nodes
akrejcir Feb 2, 2017
cbde18f
webadmin: Add specialized validation for Long values
pcbailey Feb 28, 2017
b941f91
restapi: Update to model 4.1.31
jhernand Mar 1, 2017
7925660
core: CommandCallbacksPoller - set the command correlation id
laravot Feb 22, 2017
f7cc4ac
core: Backend - set the parent correlation id
laravot Feb 23, 2017
a389099
core: MoveImageGroup - remove image correlation id
laravot Feb 23, 2017
ced2f67
core: Monitor devices only for vms that are already in the db
jtokar Feb 28, 2017
df85e20
core: Increment vm db generation when importing devices
jtokar Feb 20, 2017
da03ae8
webadmin: detect file read error during upload
danielerez Mar 5, 2017
8857c14
core: CloneImageGroupVolumesStructure - determineSourceImageGroup()
laravot Mar 6, 2017
6fd8c15
ui: fix few console fields to be greyed out for headless mode
sgratch Mar 1, 2017
8d2e326
webadmin: AbstractDiskModel - setDiskProfilesList()
laravot Mar 5, 2017
69719bf
Version bump
pkliczewski Mar 6, 2017
20240fa
api: add auto_storage_select field to VmPoolMapper
shaharha Feb 23, 2017
a9ec1d3
packaging: spec: require newer ovirt-host-deploy
sandrobonazzola Mar 7, 2017
dacaf41
core: Send direct LUN devices with virtio interface as disk
tnisan Mar 7, 2017
582a324
webadmin: live merge - warning on remove snapshot for unplugged disks
danielerez Mar 7, 2017
33f6321
core: Don't wait for jobs to complete during shutdown
jhernand Mar 7, 2017
9bdfe93
restapi: Update to model 4.1.32
jhernand Mar 8, 2017
f120463
restapi: Add mappings for NFS V4.2
tnisan Mar 8, 2017
38c0c23
engine: normalize bonding options without miimon
dominikholler Jan 20, 2017
d205fa9
restapi: Reduce severity of 'path not found'
jhernand Mar 9, 2017
58a8109
core: Allow memory over commitment only if ksm or ballooning are avai…
jtokar Mar 2, 2017
f4093b2
packaging: pythonlib: Require python-dateutil
didib Mar 9, 2017
49eba5c
packaging: pythonlib: Add mem.py
didib Mar 6, 2017
77e6499
restapi: Fix NPE when requesting ticket on a down VM
matobet Mar 6, 2017
f23bbdf
webadmin: Pass Discard is irrelevant for AttachDiskModel
Mar 12, 2017
57276fb
engine: user login event is not displayed on events tab
Feb 28, 2017
494f17c
engine: populate macPoolId on DC in queries
Feb 27, 2017
c1df303
core: add support for more than one virtio scsi controller
Mar 3, 2017
582aca3
core: Properly adjust # of usb-controllers in UpdateTemplate & AddVm
matobet Mar 8, 2017
f2a4573
Revert "rest: Add implementation for update disk qcow2 compat."
Mar 9, 2017
eeb9df1
core: change indexing of virtio-scsi io threads to start from 1
Mar 10, 2017
3c71580
restapi: Update to model 4.1.33
jhernand Mar 14, 2017
ec14219
ui: set domain value in case that Cloud-Init/Sysprep is enabled
sgratch Mar 12, 2017
7c628e1
restapi: Autoadjusting max memory when VM created
jniederm Mar 10, 2017
a2725c0
core: vm from template - revert flow
laravot Mar 14, 2017
0aaa501
core: Prevert running sparsify on disks on local storage
tnisan Mar 14, 2017
54dc484
restapi: Don't use GetAllDisksByVmId
jhernand Mar 10, 2017
9c71496
core: refactorings related to update cluster flow.
Jan 23, 2017
bcc9329
core: renamed class MoveMacsOfUpdatedCluster.
Jan 23, 2017
9fb021e
core: added bulk methods to MacPool
Jan 23, 2017
8aa7bf3
core: add ID property to MacPool.
Nov 18, 2016
cdb64a7
core: when moving VM to another cluster, update its macs…
Jan 23, 2017
d1252be
core: avoid unlocking in-preview snapshot on failure
danielerez Mar 15, 2017
0d1662a
webadmin: Max memory doesn't follow memory if VM is UP
jniederm Mar 14, 2017
448de17
core: Support QCOW compat update for disk update
Mar 6, 2017
a822644
core: removed indescriptive and incorrect message
Mar 6, 2017
679dcc5
core: added states when nic can be activated or deactivated
Mar 6, 2017
e099163
core: Migration and host refreshes must not mingle
Feb 23, 2017
4cea021
packaging: setup: engine-upgrade-check should note user
lveyde Mar 6, 2017
acd0a09
core: Add job fence on amend.
Mar 16, 2017
4c978b2
core: Use set for disk ids fetched from VM's OVF.
Mar 19, 2017
a245913
core: Use no overcommit as the default cluster memory policy
MarSik Mar 20, 2017
f086666
core: USB devices correctly copied from Blank
jniederm Mar 17, 2017
4d8c94e
Revert "core: Prevert running sparsify on disks on local storage"
rollandf Mar 21, 2017
a81dc0f
engine: enable HSM data operation on local storage
rollandf Mar 21, 2017
da7bcd1
core: CloneImageGroupVolumesStructure - determineSourceImageGroup()
laravot Mar 20, 2017
5b9394c
core: set override firewall to true by default
machacekondra Mar 7, 2017
64c6be8
webadmin: Add memory units to ApplicationMessages
akrejcir Mar 14, 2017
1b06403
core: download image - validate domain status
danielerez Mar 20, 2017
9c8f5ae
core: increase default value of UploadImageXhrTimeoutInSeconds
danielerez Mar 20, 2017
a26ed09
restapi: Avoid place holders that aren't replaced
jhernand Mar 21, 2017
2ea56c4
scheduler: make task queue size configurable
pkliczewski Mar 14, 2017
012ce44
core: update cluster fails when VM/Template have wrong values
shaharha Mar 9, 2017
378d78c
core: Refactor qcow compat update.
Jan 26, 2017
d91395d
core: getQemuImageInfo should not call teardown on live snapshot.
Mar 21, 2017
153cdf2
tools: Remove VdsmSSLProtocol from engine-config options
mwperina Mar 24, 2017
72dc256
engine: make NetworkClusterHelper a CDI bean
Mar 8, 2017
3db9587
engine: extract HostNicsUtil out of GetVdsInterfacesByVdsIdQuery
Mar 9, 2017
c61ae84
engine: use HostNicsUtil instead of GetVdsInterfacesByVdsId query
Mar 9, 2017
507314b
engine: remove redundant load of NetworkCluster's in UpdateVdsCommand
Mar 12, 2017
1f4fe6e
engine: add active hosts caching in NetworkClusterHelper
Mar 13, 2017
c8dce04
engine: reuse preliminarily loaded host object in HostNicsUtil
Mar 13, 2017
093f2f5
engine: update commands to use the new networkClusterHelper.setStatus
Mar 13, 2017
558be7a
engine: use vdsDynamicDao instead of vdsDao
Mar 20, 2017
26e3f6d
engine: add shortcut in DefaultReadDao.get
Mar 21, 2017
f20aece
engine: replace javax.ejb.Singleton with javax.inject.Singleton
Feb 1, 2017
d146aee
core: replace javax.ejb.Singleton with javax.inject.Singleton
Feb 1, 2017
321c7a5
packaging: Update only invalid values in postgres.conf
rgolangh Mar 9, 2017
4c8a10c
core: prevent restoring memory from unsupported version
ahadas Mar 26, 2017
fff336a
core: Remove compat from OVF.
Mar 14, 2017
fe4d33f
he: Notify user to redeploy HE hosts after recovery.
Mar 13, 2017
9c4428a
core: Fix update of video devices in UpdateVmTemplateCommand
matobet Mar 22, 2017
aadc379
core: Change the limit of LVs per VG to 1000
tnisan Mar 27, 2017
e1f9c32
engine: Hide tracebacks in engine.log for non responsive host
Feb 28, 2017
34c9d81
packaging: Extract the value correctly from postgresql.conf
rgolangh Mar 12, 2017
205094b
core: CLUSTER_ADMIN role misses ActionGroup CONFIGURE_MAC_POOL
Mar 8, 2017
72bdf0e
jsonrpc: Version bump
pkliczewski Mar 28, 2017
2c0090f
core: Get migration downtime from event
smelamud Mar 19, 2017
b9f0d1e
core: Introducing virt jobs
smelamud Jan 17, 2017
6218f98
core: Introducing UpdateVolumeCommand
smelamud Jan 4, 2017
7fcaa9b
core: Introducing CreateAllTemplateDisksCommand
smelamud Dec 29, 2016
d552a86
core: Introducing SealVmTemplateCommand
smelamud Sep 25, 2016
5c94074
core: New cluster has disabled overcommit by default (for real now)
MarSik Mar 29, 2017
322c63c
packaging: Introduce unit test
rgolangh Mar 20, 2017
4905f57
core: Add template sealing to AddVmTemplateCommand
smelamud Jan 3, 2017
dae1856
ui: Seal Template checkbox in Make Template dialog
smelamud Dec 11, 2016
5e54e0a
core: Add exclusive locks to AddVmTemplateCommand
smelamud Mar 2, 2017
e2fb116
core: fix a regression on import image as template
ahadas Mar 19, 2017
abb3640
aaa: SSO token used for the API expires when running only queries
Mar 22, 2017
f0edbcb
aaa: Use engine FQDN even for engine <-> SSO communication
Mar 3, 2017
a14cd8e
webadmin: extract duplicated code in SanStorageModelBase
Mar 23, 2017
0e05724
webadmin: make SanStorageModelBase.getAddedLuns reusable
Mar 23, 2017
a7e1f5a
core: extract lun's discard logic to the LUNs class
Mar 28, 2017
178e162
webadmin: improve Discard After Delete UX
Mar 9, 2017
09ef1de
engine: Hide fence agents helper deprecated URL
emesika Mar 27, 2017
d8eb083
webadmin: change the way of displaying username
machacekondra Mar 6, 2017
50076f3
packaging: services: Detect JBoss version with log level info
didib Mar 7, 2017
2328ebb
core : Storage domains not showing in search on a DC named with an un…
Jan 9, 2017
03e83db
aaa: Use engine FQDN for notification callback
Mar 29, 2017
b435afd
aaa: Localize all user facing sso messages
Mar 30, 2017
2792129
core, engine, aaa: RestAPI connection fail after time change
Mar 28, 2017
ac9884f
webadmin: import dialog load button
awels Mar 31, 2017
3c23108
CopyImageGroup/CloneImageGroupVolumesStructure - volume format
laravot Mar 28, 2017
9343543
CreateImageVDSCommandParams - adding imageType to appendAttributes()
laravot Mar 29, 2017
f7833bd
aaa: RestAPI connection fail after time change
Mar 27, 2017
42521c9
packaging: services: Limit engine heap size
didib Mar 6, 2017
f78f60e
userportal: replace vm actions Composite with separate columns
gregsheremeta Mar 29, 2017
87c657d
packaging: pythonlib: mem.py: Add M unit
didib Apr 3, 2017
e3e40a9
core: ImagesHandler - computeCowImageNeededSize()
laravot Apr 2, 2017
32a93eb
engine: spanish locale selection
awels Mar 31, 2017
99b59e1
engine: introduce VdsStaticDao.checkIfExistsHostThatMissesNetworkInCl…
Mar 29, 2017
6260783
engine: introduce VdsDynamicDao.checkIfExistsHostWithStatusInCluster
Mar 29, 2017
3186ba3
engine: avoid using HostNicUtils in NetworkClusterHelper
Mar 29, 2017
2626d33
core: Add handling to fix VM's without video devices
matobet Mar 28, 2017
9d9a5fe
engine: avoid running ChangeVmCluster upon targetClusterId==null
Mar 29, 2017
806a964
core: fix wrong selection of emulated machine
ahadas Mar 27, 2017
9a435f0
core: Vm needs to fail running if custom compatibility version is not…
shaharha Mar 29, 2017
5c8383e
core: Ignore cpu profile premissions for internal commands
akrejcir Mar 30, 2017
5a60583
core: Refactor setQcowComapt to use diskImage
Apr 2, 2017
b909a9f
core: Set qcow compat for snapshots on copy or move
Apr 1, 2017
ac803e8
core: Remove redundant init of QCOW compat in import
Apr 2, 2017
351259e
core: Add try catch block on teardown in images handler
Apr 3, 2017
a54d719
core: Support qcow2 compat on live move
Apr 3, 2017
2413fb6
core: Fix LunDao#removeAll
mureinik Apr 6, 2017
a1e913e
webadmin: Adjust DashboardDataServlet query cache handling
sjd78 Apr 5, 2017
0521e92
engine: Ensure snapshot deletion after geo-rep sync
sabose Apr 4, 2017
1792934
utils: do not reject tasks
pkliczewski Apr 4, 2017
044eb27
aaa: Empty credentials warning message not localized
Apr 3, 2017
3a0aafe
engine: Initial size in copy template disk flow
rollandf Apr 4, 2017
f2cb658
core: NPE when sparsifying a non-attached disk
smelamud Mar 29, 2017
eebde1a
core: Initialize SparsifyImageCommand#vmsForDisk
smelamud Mar 29, 2017
48c3d07
engine: Add missing event for Host Cert Expiration
masayag Apr 6, 2017
702ab89
restapi: Add 4.1 capabilities for api v3
Apr 6, 2017
5cefd39
webadmin: Fix of VM dialog urandom radio button
jniederm Mar 15, 2017
4458e76
core: Win 10 x64 guest OS inherits from Win 8 x64
jniederm Apr 6, 2017
f11d042
core: FenceVolumeJob - avoiding growing number of db records
laravot Apr 9, 2017
41dd5fc
cold-merge: Update step message to include the host name
alhino Apr 5, 2017
fefe68e
core: Set qcow compat for floating QCOW volumes.
Apr 9, 2017
5c1d504
core: Add fluent-plugin-collectd-nest and rubygem-fluent-plugin-viaq_…
Mar 14, 2017
9fc6078
aaa: Running the command logon on the VM via the REST failed
Apr 5, 2017
af393b7
core: Use specified port when fetching SSH fingerprint
mwperina Mar 24, 2017
9cf3327
aaa: Synchronize group names during user login
machacekondra Apr 11, 2017
d3ef18a
scheduling: Make CPU more important than memory during scheduling
MarSik Feb 14, 2017
9f98618
webadmin: Update QoS popup layout
awels Jan 11, 2017
083daf5
tools: Make engine-vacuum quiet unless verbose requested
mwperina Mar 24, 2017
0a2fb87
core: missing validation
Feb 7, 2017
b6f3b24
pm: Fix server exception in fence actions
machacekondra Apr 18, 2017
4afa8e3
webadmin: disable dashboard data if DWH isn't available
sjd78 Apr 7, 2017
442c883
restapi: Update to model 4.1.35 and metamodel 1.1.14
jhernand Apr 6, 2017
a3138b1
core: running create_functions.sql upon setup
emesika Apr 12, 2017
d50ec28
restapi: Expose `driver` field of host devices
matobet Mar 21, 2017
bbbd724
jsonrpc: version bump
pkliczewski Apr 20, 2017
8c2fa30
webadmin:Filter out duplicate LUN id exposed through multiple targets.
Apr 18, 2017
d966d0a
restapi: Show read only property on disk attachments
tnisan Apr 9, 2017
4a4a48c
core: Properly handle spicevmc redirs on USB support change
matobet Apr 3, 2017
a5582f3
core: Remove leftover SPICE channel on RunVM
matobet Apr 6, 2017
177f425
engine: adding transaction bounderies to heart beat logging
emesika Mar 27, 2017
e196e21
aaa: User can no longer use API having password with special characte…
Apr 19, 2017
9efc5c0
pm: Wait for host to boot when executing start operation
machacekondra Apr 18, 2017
69ed734
engine: ignore NetworkCluster.status in the input
Apr 5, 2017
0b06a14
core: Fix import of VMs with memory snapshot from domain
tnisan Apr 23, 2017
5d2917a
build: ovirt-engine-4.1.2
lveyde Apr 23, 2017
61a6a1f
build: post ovirt-engine-4.1.2
lveyde Apr 23, 2017
61de7a5
core: Block moving host to maintenance if it's running jobs
laravot Apr 13, 2017
6ee95b3
core: add vm exit reason of type unknown
ahadas Apr 13, 2017
8f3d913
setup: Fail the setup if VMs CCV is lower then DC
shaharha Apr 2, 2017
cac7876
webadmin: ovs renames
Apr 24, 2017
58223be
webadmin: Corrected validation for geo-rep
sabose Apr 18, 2017
2039068
core: make the unmanaged usb controller to be managed
Apr 4, 2017
4dee037
core: Set action message parameters in RemoveVmPoolCommand
smelamud Apr 27, 2017
5d79e38
core: Free VM lock if attaching a VM from pool failed
smelamud Apr 12, 2017
693cbc9
packaging: engine-backup: Allow setting temp dir
didib Apr 18, 2017
4ffa406
restore: forcing status on HA VMs at restore time
tiraboschi Apr 27, 2017
22683aa
build: ovirt-engine-4.1.2.1
sandrobonazzola May 3, 2017
c003381
build: post ovirt-engine-4.1.2.1
sandrobonazzola May 3, 2017
9f473af
engine: the default filter of passthrough profile should be 'null'
AlonaKaplan May 3, 2017
edd6357
core: Inject CinderBroker's members
mureinik May 8, 2017
b09a478
core: NPE in addStep method of Step
rollandf May 7, 2017
7cd79bc
engine: Update vnics address and alias after hot plug
AlonaKaplan May 9, 2017
10e3cbc
core: Fix incorrect disk profile while adding a VM
akrejcir Apr 21, 2017
85729f8
core: ImportVmTemplateFromConfiguration handles maxMemory
jniederm Apr 24, 2017
b31494d
packaging: setup: pki: Set subjectAltName
dominikholler Mar 24, 2017
62492db
core: TransferDiskImage validation - get storage domain id from disk
danielerez May 8, 2017
bc08144
async-command: Remove setting parent command
alhino Apr 30, 2017
2882b80
userportal: use the converter callback also in user portal
May 11, 2017
d11d59d
build: ovirt-engine-4.1.2.2
lveyde May 11, 2017
87e631f
core: Include jcl-over-slf4j into tools modules
mwperina Jun 1, 2017
c5cf04b
build: ovirt-engine-4.1.2.3
mwperina Jun 6, 2017
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
15 changes: 14 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ PKG_DOC_DIR=$(DOC_DIR)/$(ENGINE_NAME)
PKG_HTML_DIR=$(PKG_DOC_DIR)
PKG_EAR_DIR=$(DATA_DIR)/engine.ear
PKG_JBOSS_MODULES=$(DATA_DIR)/modules
PKG_LOGUTILS=$(DATA_DIR)/logutils
PKG_CACHE_DIR=$(LOCALSTATE_DIR)/cache/$(ENGINE_NAME)
PKG_LOG_DIR=$(LOCALSTATE_DIR)/log/$(ENGINE_NAME)
PKG_STATE_DIR=$(LOCALSTATE_DIR)/lib/$(ENGINE_NAME)
Expand Down Expand Up @@ -372,6 +373,11 @@ install_artifacts:
unzip -q -o -d "$(DESTDIR)$(PKG_HTML_DIR)/$${comp}" "$${f}"; \
done

# logutils.jar is need only for tools and it's loaded from boot
# classpath -> we need to handle it differently than other jars
install -dm 0755 "$(DESTDIR)$(PKG_LOGUTILS)"
find "$(MAVEN_OUTPUT_DIR)" -name 'logutils-*.jar' -not -name 'logutils-*-tests.jar' -type f -exec install -m 644 {} "$(DESTDIR)$(PKG_LOGUTILS)/logutils.jar" \;

# extract embedded artifacts as doc
# no need to relay on source tree for these
install -d -m 755 "$(DESTDIR)$(PKG_DOC_DIR)"
Expand All @@ -382,6 +388,7 @@ install_artifacts:
install_poms:
install -dm 755 "$(DESTDIR)$(MAVENPOM_DIR)"
install -m 644 backend/manager/extensions-tool/pom.xml "$(DESTDIR)$(MAVENPOM_DIR)/$(PACKAGE_NAME)-extensions-tool.pom"
install -m 644 backend/manager/logutils/pom.xml "$(DESTDIR)$(MAVENPOM_DIR)/$(PACKAGE_NAME)-logutils.pom"
install -m 644 backend/manager/modules/aaa/pom.xml "$(DESTDIR)$(MAVENPOM_DIR)/$(PACKAGE_NAME)-aaa.pom"
install -m 644 backend/manager/modules/bll/pom.xml "$(DESTDIR)$(MAVENPOM_DIR)/$(PACKAGE_NAME)-bll.pom"
install -m 644 backend/manager/modules/branding/pom.xml "$(DESTDIR)$(MAVENPOM_DIR)/$(PACKAGE_NAME)-branding.pom"
Expand Down Expand Up @@ -414,14 +421,19 @@ install-packaging-files: \
$(MAKE) copy-recursive SOURCEDIR=packaging/sys-etc TARGETDIR="$(DESTDIR)$(SYSCONF_DIR)" EXCLUDE_GEN="$(GENERATED)"
$(MAKE) copy-recursive SOURCEDIR=packaging/etc TARGETDIR="$(DESTDIR)$(PKG_SYSCONF_DIR)" EXCLUDE_GEN="$(GENERATED)"
$(MAKE) copy-recursive SOURCEDIR=packaging/pki TARGETDIR="$(DESTDIR)$(PKG_PKI_DIR)" EXCLUDE_GEN="$(GENERATED)"
for d in bin branding conf files firewalld services setup icons; do \
for d in bin branding conf files firewalld services icons; do \
$(MAKE) copy-recursive SOURCEDIR="packaging/$${d}" TARGETDIR="$(DESTDIR)$(DATA_DIR)/$${d}" EXCLUDE_GEN="$(GENERATED)"; \
done
$(MAKE) copy-recursive SOURCEDIR=packaging/doc TARGETDIR="$(DESTDIR)$(PKG_DOC_DIR)" EXCLUDE_GEN="$(GENERATED)"
$(MAKE) copy-recursive SOURCEDIR=packaging/man TARGETDIR="$(DESTDIR)$(MAN_DIR)" EXCLUDE_GEN="$(GENERATED)"
$(MAKE) copy-recursive SOURCEDIR=packaging/pythonlib TARGETDIR="$(DESTDIR)$(PYTHON_DIR)" EXCLUDE_GEN="$(GENERATED)"
$(MAKE) copy-recursive SOURCEDIR=packaging/libexec TARGETDIR="$(DESTDIR)$(LIBEXEC_DIR)" EXCLUDE_GEN="$(GENERATED)"

# copy all of packaging/setup but exclude all tests.
$(MAKE) copy-recursive SOURCEDIR=packaging/setup TARGETDIR="$(DESTDIR)$(DATA_DIR)/setup" \
EXCLUDE_GEN="$(GENERATED)" \
EXCLUDE="$$(echo $$(find packaging/setup/tests))"

ifneq ($(PYTHON3),)
$(MAKE) copy-recursive SOURCEDIR=packaging/pythonlib TARGETDIR="$(DESTDIR)$(PYTHON3_DIR)" EXCLUDE_GEN="$(GENERATED)"
endif
Expand Down Expand Up @@ -450,6 +462,7 @@ install-layout: \
ln -sf "$(DATA_DIR)/setup/bin/ovirt-engine-upgrade-check" "$(DESTDIR)$(BIN_DIR)/engine-upgrade-check"
ln -sf "$(DATA_DIR)/bin/engine-config.sh" "$(DESTDIR)$(BIN_DIR)/engine-config"
ln -sf "$(DATA_DIR)/bin/engine-backup.sh" "$(DESTDIR)$(BIN_DIR)/engine-backup"
ln -sf "$(DATA_DIR)/bin/engine-vacuum.sh" "$(DESTDIR)$(BIN_DIR)/engine-vacuum"
ln -sf "$(DATA_DIR)/bin/ovirt-engine-extensions-tool.sh" "$(DESTDIR)$(BIN_DIR)/ovirt-engine-extensions-tool"

install -d -m 755 "$(DESTDIR)$(PKG_PKI_DIR)/certs"
Expand Down
6 changes: 1 addition & 5 deletions automation/build-artifacts.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#!/bin/bash -xe

BUILD_UT=0
SUFFIX=".git$(git rev-parse --short HEAD)"
BUILD_UT=1

if [ -d /root/.m2/repository/org/ovirt ]; then
echo "Deleting ovirt folder from maven cache"
Expand Down Expand Up @@ -59,7 +58,6 @@ make dist
rpmbuild \
-D "_srcrpmdir $PWD/output" \
-D "_topmdir $PWD/rpmbuild" \
-D "release_suffix ${SUFFIX}" \
-D "ovirt_build_extra_flags $EXTRA_BUILD_FLAGS" \
-ts ./*.gz

Expand All @@ -70,8 +68,6 @@ yum-builddep output/*src.rpm
rpmbuild \
-D "_rpmdir $PWD/output" \
-D "_topmdir $PWD/rpmbuild" \
-D "release_suffix ${SUFFIX}" \
-D "ovirt_build_minimal 1" \
-D "ovirt_build_extra_flags $EXTRA_BUILD_FLAGS" \
--rebuild output/*.src.rpm

Expand Down
4 changes: 4 additions & 0 deletions automation/check-patch.packages
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ make
pyflakes
python-pep8
python-devel
pytest
python-psycopg2
python2-mock
otopi
git
maven
java-1.8.0-openjdk-devel
Expand Down
4 changes: 4 additions & 0 deletions automation/check-patch.packages.fc24
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,13 @@ java-1.8.0-openjdk-devel
make
maven
net-tools
otopi
postgresql-jdbc
postgresql-server
pyflakes
python2-mock
python-psycopg2
python2-pytest
python-devel
python-isort
python-pep8
Expand Down
17 changes: 17 additions & 0 deletions automation/check-patch.packages.fc25
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
autoconf
git
java-1.8.0-openjdk-devel
make
maven
net-tools
otopi
postgresql-jdbc
postgresql-server
pyflakes
python2-mock
python2-psycopg2
python2-pytest
python-devel
python-isort
python-pep8
yum-utils
3 changes: 3 additions & 0 deletions automation/check-patch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,9 @@ rm -f ./*tar.gz
make clean \
"EXTRA_BUILD_FLAGS=$EXTRA_BUILD_FLAGS"

# execute packaging/setup tests
automation/packaging-setup-tests.sh

# perform quick validations
make validations

Expand Down
7 changes: 7 additions & 0 deletions automation/packaging-setup-tests.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/bash -xe

trap popd 0
pushd $(dirname "$(readlink -f "$0")")/..

export PYTHONPATH="packaging/pythonlib:packaging/setup:${PYTHONPATH}"
python -m pytest packaging/setup
2 changes: 1 addition & 1 deletion backend/manager/dependencies/common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<parent>
<groupId>org.ovirt.engine.core.manager</groupId>
<artifactId>dependencies</artifactId>
<version>4.1.0-SNAPSHOT</version>
<version>4.1.2.3</version>
</parent>

<artifactId>common-dependencies</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion backend/manager/dependencies/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<parent>
<groupId>org.ovirt.engine.core</groupId>
<artifactId>manager</artifactId>
<version>4.1.0-SNAPSHOT</version>
<version>4.1.2.3</version>
</parent>

<artifactId>dependencies</artifactId>
Expand Down
14 changes: 13 additions & 1 deletion backend/manager/dependencies/tools/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<parent>
<groupId>org.ovirt.engine.core.manager</groupId>
<artifactId>dependencies</artifactId>
<version>4.1.0-SNAPSHOT</version>
<version>4.1.2.3</version>
</parent>

<artifactId>tools-dependencies</artifactId>
Expand All @@ -31,6 +31,12 @@
<artifactId>slf4j-jdk14</artifactId>
<version>${slf4j.version}</version>
</dependency>

<dependency>
<groupId>org.slf4j</groupId>
<artifactId>jcl-over-slf4j</artifactId>
<version>${slf4j.version}</version>
</dependency>
</dependencies>

<build>
Expand All @@ -53,6 +59,12 @@
<artifactId>slf4j-jdk14</artifactId>
<moduleName>org.slf4j</moduleName>
</module>

<module>
<groupId>org.slf4j</groupId>
<artifactId>jcl-over-slf4j</artifactId>
<moduleName>org.slf4j.jcl-over-slf4j</moduleName>
</module>
</modules>
</configuration>
</plugin>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>

<!--
This module provided original commons-logging API provided by
jakarta-commons-logging over slf4j library. We need it to be able to use
apache-commons libraries, which require commons-logging, in command line
tools and notifier, which are executed outside running WildFly.
-->
<module xmlns="urn:jboss:module:1.3" name="org.apache.commons.logging">
<dependencies>
<module name="org.slf4j.jcl-over-slf4j" export="true"/>
</dependencies>
</module>

Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>

<!--
This module contains original jakarta-commons-logging over slf4j
library. We need it to be able to use apache-commons libraries, which
require commons-logging, in command line tools and notifier, which are
executed outside running WildFly (WildFly contains reimplementation of
commons-logging and slf4j which do not contain all features we need for
execution outside WildFly).
-->

<module xmlns="urn:jboss:module:1.3" name="org.slf4j.jcl-over-slf4j">
<resources>
<resource-root path="jcl-over-slf4j.jar"/>
</resources>

<dependencies>
<module name="org.slf4j"/>
</dependencies>
</module>
7 changes: 6 additions & 1 deletion backend/manager/extensions-tool/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<parent>
<groupId>org.ovirt.engine.core</groupId>
<artifactId>manager</artifactId>
<version>4.1.0-SNAPSHOT</version>
<version>4.1.2.3</version>
</parent>

<artifactId>extensions-tool</artifactId>
Expand All @@ -24,6 +24,11 @@
<artifactId>extensions-manager</artifactId>
<version>${engine.version}</version>
</dependency>
<dependency>
<groupId>${engine.groupId}</groupId>
<artifactId>logutils</artifactId>
<version>${engine.version}</version>
</dependency>
<dependency>
<groupId>${engine.groupId}</groupId>
<artifactId>uutils</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ public class ExtensionsToolExecutor {
private static String AAA_JAAS_TICKET_CACHE_FILE = System.getProperty("org.ovirt.engine.exttool.core.ticketCacheFile");
private static String AAA_JAAS_USE_KEYTAB = System.getProperty("org.ovirt.engine.exttool.core.useKeytab");
private static String AAA_JAAS_KEYTAB_FILE = System.getProperty("org.ovirt.engine.exttool.core.keytabFile");
private static String AAA_JAAS_PRINCIPAL_NAME = System.getProperty("org.ovirt.engine.exttool.core.principalName");
private static String JAAS_CONF = System.getProperty("java.security.auth.login.config");

private static final org.slf4j.Logger log = LoggerFactory.getLogger(ExtensionsToolExecutor.class);
Expand Down Expand Up @@ -161,6 +162,10 @@ private static Path createTemporaryJAASconfiguration() throws IOException {
keytabFile = String.format("keyTab=\"%s\"", AAA_JAAS_KEYTAB_FILE);
}

String principalName = "";
if (StringUtils.isNotEmpty(AAA_JAAS_PRINCIPAL_NAME)) {
principalName = String.format("principal=\"%s\"", AAA_JAAS_PRINCIPAL_NAME);
}
fw.write(
String.format(
"oVirtKerbAAA {%n" +
Expand All @@ -171,13 +176,15 @@ private static Path createTemporaryJAASconfiguration() throws IOException {
"%s%n" + // ticket cache path
"useKeyTab=%s%n" +
"%s%n" + // keytab path
"%s%n" + // principal name
"doNotPrompt=true%n" +
";%n" +
"};%n",
AAA_JAAS_USE_TICKET_CACHE,
ticketCacheFile,
AAA_JAAS_USE_KEYTAB,
keytabFile
keytabFile,
principalName
)
);
}
Expand Down
1 change: 1 addition & 0 deletions backend/manager/logutils/exclude-filters.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<FindBugsFilter/>
14 changes: 14 additions & 0 deletions backend/manager/logutils/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>org.ovirt.engine.core</groupId>
<artifactId>manager</artifactId>
<version>4.1.2.3</version>
</parent>

<artifactId>logutils</artifactId>
<packaging>jar</packaging>

<name>Utilities to extend java.logging framework</name>
</project>
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
package org.ovirt.engine.core.utils.log;
package org.ovirt.engine.core.logutils;

import java.io.IOException;
import java.util.logging.FileHandler;
import java.util.logging.Level;
import java.util.logging.Logger;
import java.util.logging.SimpleFormatter;

/**
* Contains methods for runtime java.util.logging setup
Expand Down Expand Up @@ -40,7 +39,7 @@ public static Level parseLevel(String levelName) {
public static void addFileHandler(String fileName) {
try {
FileHandler fh = new FileHandler(fileName, true);
fh.setFormatter(new SimpleFormatter());
fh.setFormatter(new TimeZoneBasedFormatter());
Logger.getLogger("").addHandler(fh);
} catch (SecurityException | IOException ex) {
throw new IllegalArgumentException(
Expand Down
Loading