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

Ovirt engine 4.1.2.z #12

wants to merge 637 commits into from
This pull request is big! We’re only showing the most recent 250 commits.

Commits on Feb 21, 2017

  1. webadmin: Show warning when DC is not upgraded to latest version

    If the Data Center cluster compatibility
    level is lower than the highest level
    supported by engine, display a warning
    icon in a new column in the Data Centers tab.
    
    Hovering over the column should show the
    alert message prompting the user to upgrade
    the data center.
    
    Change-Id: Ib0e4004c2834a314a707e62e5e7661a3e9c7c115
    Bug-Url: https://bugzilla.redhat.com/1413150
    Signed-off-by: Ravi Nori <rnori@redhat.com>
    Ravi Nori authored and tnisan committed Feb 21, 2017
    Configuration menu
    Copy the full SHA
    9b3eb3c View commit details
    Browse the repository at this point in the history
  2. webadmin: Show warning when cluster is not upgraded to latest version

    If the Cluster's cluster compatibility level
    is lower than the highest level supported by
    engine, display a warning icon in a new column
    in the Clusters tab.
    
    Hovering over the column should show the alert
    message prompting the user to upgrade the Cluster.
    
    Change-Id: I0f263ff9eddc89fc6b425aab87eb51927cba7c74
    Bug-Url: https://bugzilla.redhat.com/1413150
    Signed-off-by: Ravi Nori <rnori@redhat.com>
    Ravi Nori authored and tnisan committed Feb 21, 2017
    Configuration menu
    Copy the full SHA
    ab7c699 View commit details
    Browse the repository at this point in the history

Commits on Feb 22, 2017

  1. engine: remove nonexisting columns in taskcleaner

    In commit I1e891ac39e , the columns job_id and step_id were removed from
    command_entities table, therefore they need to be removed from the
    taskcleaner script
    
    Change-Id: If2d1218667649e6a7efd8e933dfb9f91b59eb972
    Bug-Url: https://bugzilla.redhat.com/1425705
    Signed-off-by: Fred Rolland <frolland@redhat.com>
    (cherry picked from commit 4aa7884)
    rollandf authored and masayag committed Feb 22, 2017
    Configuration menu
    Copy the full SHA
    eff6bc4 View commit details
    Browse the repository at this point in the history
  2. build: post ovirt-engine-4.1.1.z branching

    Change-Id: Ia2bb1b42452ea7ea5574505970e99d22b1f2f4e6
    Signed-off-by: Sandro Bonazzola <sbonazzo@redhat.com>
    sandrobonazzola committed Feb 22, 2017
    Configuration menu
    Copy the full SHA
    5a0efff View commit details
    Browse the repository at this point in the history
  3. webadmin: Default values for volume create

    In hyperconverged mode: nfs = off, cifs = off
    optimize for virt = on
    
    Change-Id: I26f0a02eb39dd34e1975695dfecf0bde9e849edf
    Bug-Url: https://bugzilla.redhat.com/1420687
    Signed-off-by: Sahina Bose <sabose@redhat.com>
    sabose authored and tnisan committed Feb 22, 2017
    Configuration menu
    Copy the full SHA
    0961deb View commit details
    Browse the repository at this point in the history
  4. scheduling: Dismiss HE VM in affinity migration

    Fix Affinity rule enforcer manager to dismiss
    hosted engine VMs when choosing VM candidates for migration.
    
    Change-Id: I83bcbc9ae0a70b078fcda377f17241892802873d
    Bug-Url: https://bugzilla.redhat.com/1421771
    Signed-off-by: Yanir Quinn <yquinn@redhat.com>
    (cherry picked from commit 4106384)
    yanirq authored and tnisan committed Feb 22, 2017
    Configuration menu
    Copy the full SHA
    e512edb View commit details
    Browse the repository at this point in the history

Commits on Feb 23, 2017

  1. webadmin: Update VM NUMA nodes if VM memory or CPU count has changed

    Detect if the total memory or the number of CPUs
    were changed in the Edit dialog.
    If they were, NUMA nodes are changed to fit the new values.
    
    Change-Id: I67b796a128c0af17dd54056b862798cd0d650bcf
    Bug-Url: https://bugzilla.redhat.com/1291064
    Signed-off-by: Andrej Krejcir <akrejcir@redhat.com>
    (cherry picked from commit 54fc01a)
    akrejcir authored and tnisan committed Feb 23, 2017
    Configuration menu
    Copy the full SHA
    e87afd5 View commit details
    Browse the repository at this point in the history
  2. Revert "webadmin: Refresh VM numa nodes when VM memory or CPU cores a…

    …re changed"
    
    This reverts commit 9ce0636.
    Reverted commit on gerrit: https://gerrit.ovirt.org/#/c/69946/
    
    Change-Id: Ic8b10a33a1bf50421527b25d19fc1f4606a4d70d
    Bug-Url: https://bugzilla.redhat.com/1291064
    Signed-off-by: Andrej Krejcir <akrejcir@redhat.com>
    (cherry picked from commit 5db67a7)
    akrejcir authored and tnisan committed Feb 23, 2017
    Configuration menu
    Copy the full SHA
    70637a3 View commit details
    Browse the repository at this point in the history
  3. he_restore: updating foreign key removing HE hosts

    For migration or disaster recovery purposes we let the user filter
    out the hosted-engine hosts to redeploy from a backup on a
    different hosted-engine env. In order to be sure that all the
    hosted-engine runs with a local up-do-date configuration we
    have to remove them from the engine DB asking to the user to
    redeploy them to be sure that they point to the right hosted-engine
    storage domain.
    In order to remove them at restore time avoiding foreign key errors,
    we need to update all the existing VMs related to these hosts.
    Set status=Down, exit_reason=AdminShutdown, exit_status=Normal,
    run_on_vds=NULL, migrating_to_vds=NULL for all the VM that were running
    on the hosted-engine hosts we are filtering out at restore time.
    
    Change-Id: I85a6fcd18005393e69ed319e7b56709e7adc5b9b
    Bug-Url: https://bugzilla.redhat.com/1416466
    Signed-off-by: Simone Tiraboschi <stirabos@redhat.com>
    tiraboschi authored and tnisan committed Feb 23, 2017
    Configuration menu
    Copy the full SHA
    97cc1b6 View commit details
    Browse the repository at this point in the history
  4. webadmin: Warn when deploying HE with cluster compatibility less than…

    … 4.0
    
    Show a warning when setting deployment of hosted engine through the UI
    and the compatibility version of the cluster is less than 4.0
    
    Change-Id: I15f4856558762507845055a0b88eac1e8f948d18
    Bug-Url: https://bugzilla.redhat.com/1383156
    Signed-off-by: Andrej Krejcir <akrejcir@redhat.com>
    akrejcir authored and tnisan committed Feb 23, 2017
    Configuration menu
    Copy the full SHA
    b5ca837 View commit details
    Browse the repository at this point in the history
  5. he: Ensures that there will be no spm_id=1 host after restore.

    Restoring HE environment from backup could lead into
    two hosts, thinking they have spm_id==1 at same moment.
    One of those hosts will be newly deployed HE host with
    default spm_id==1, another one host will be old
    host from the database. This patch changes
    spm_id of the host with value '1' to some unused value.
    
    Change-Id: Ib7b10f57a9350adf3da73580c4a69e5ce317502e
    Bug-Url: https://bugzilla.redhat.com/1417518
    Signed-off-by: Denis Chaplygin <dchaplyg@redhat.com>
    (cherry picked from commit b440a7e)
    Denis Chaplygin authored and tnisan committed Feb 23, 2017
    Configuration menu
    Copy the full SHA
    c22c434 View commit details
    Browse the repository at this point in the history
  6. core: Fix installing logutils.jar

    Fix installing logutils.jar on downstream build when using minimead.py
    which replaces pom version with specific version of the build.
    
    Change-Id: I2099186df489841b95d1a086a05f03e9bb525d9d
    Bug-Url: https://bugzilla.redhat.com/1408193
    Signed-off-by: Martin Perina <mperina@redhat.com>
    mwperina authored and tnisan committed Feb 23, 2017
    Configuration menu
    Copy the full SHA
    a6716ed View commit details
    Browse the repository at this point in the history
  7. core: Allow deployment of HE on clusters with compatibility less than…

    … 4.0
    
    Removes the check to prevent deployment of HE on clusters with compatibility
    vesrion less than 4.0.
    The host must have repositories for ovirt 4.0 or newer,
    otherwise the deployment will fail.
    
    Change-Id: Iec29070e37058a3d02246e13563ad650a24bd6a1
    Bug-Url: https://bugzilla.redhat.com/1383156
    Signed-off-by: Andrej Krejcir <akrejcir@redhat.com>
    akrejcir authored and tnisan committed Feb 23, 2017
    Configuration menu
    Copy the full SHA
    7db5fc5 View commit details
    Browse the repository at this point in the history
  8. he_restore: avoid failing with other VM disks

    For migration or disaster recovery purposes we let the user
    filter out the hosted-engine storage domain
    and the engine VM to redeploy from a backup on a different
    hosted-engine env.
    Due to another bug the user could create a floating
    disk on the hosted-engine storage domain and then
    connect it to the engine VM.
    In this case we should still remove the hosted-engine
    storage domain filtering out other VMs disks as well
    without failing.
    
    Change-Id: I2be23b172ea592f9b6be08477fad0f4bf29a30ad
    Bug-Url: https://bugzilla.redhat.com/1416459
    Signed-off-by: Simone Tiraboschi <stirabos@redhat.com>
    tiraboschi authored and pkliczewski committed Feb 23, 2017
    Configuration menu
    Copy the full SHA
    4312adb View commit details
    Browse the repository at this point in the history
  9. webadmin: add url to UPLOAD_IMAGE_NETWORK_ERROR

    Adding certificate url to UPLOAD_IMAGE_NETWORK_ERROR message.
    
    Change-Id: I66383147495d0d814b0e9959fc3314763d8003a1
    Bug-Url: https://bugzilla.redhat.com/1425774
    Signed-off-by: Daniel Erez <derez@redhat.com>
    danielerez authored and tnisan committed Feb 23, 2017
    Configuration menu
    Copy the full SHA
    e2459af View commit details
    Browse the repository at this point in the history
  10. webadmin: support translation on FileUpload

    FileUpload widget: support translation for
    "Choose File" and "No file chosen" messages.
    
    Change-Id: I488ec54ecb5c630bc5570db2c079a60a625b0d76
    Bug-Url: https://bugzilla.redhat.com/1356562
    Signed-off-by: Daniel Erez <derez@redhat.com>
    danielerez authored and tnisan committed Feb 23, 2017
    Configuration menu
    Copy the full SHA
    a903e51 View commit details
    Browse the repository at this point in the history
  11. restapi: Update to model 4.1.30 and metamodel 1.1.10

    The more relevant changes in the new version of the model are the
    following:
    
    * Add IPv6 details to the `NicConfiguration` type.
    
    * Add NFS 4.2 support.
    
    The more relevant changes in the new version of the metamodel are the
    following:
    
    * Fix generation of XML and JSON descriptions for enum types.
    
    * Merge link with element if it has same name.
    
    Change-Id: Ic037208b32005cff18bef94b9d1bd3489dec6c18
    Related-To: https://bugzilla.redhat.com/1424821
    Signed-off-by: Juan Hernandez <juan.hernandez@redhat.com>
    jhernand authored and tnisan committed Feb 23, 2017
    Configuration menu
    Copy the full SHA
    c4e2526 View commit details
    Browse the repository at this point in the history
  12. engine: Add timeout to communication with network provider

    Previously there was no explicit timeout for communication to external
    network provider. This way there was a long timeout applied to the
    communication. Since some objects are locked during the communication,
    some objects was locked for a long period of time if the external
    network provided did not respond.
    
    An explicit timeout for the communication is added, to avoid locking for
    a long period of time.
    
    The library com.woorea.openstack is used for the communication with
    external network providers. The version of this library is increased to
    3.1.2, which introduces the possibility to add the timeout for
    communication.
    
    Change-Id: Ic2eb1380273c811bf659ac067e6ebb65cbf31b99
    Bug-Url: https://bugzilla.redhat.com/1380356
    Signed-off-by: Dominik Holler <dholler@redhat.com>
    (cherry picked from commit 5f7c657)
    dominikholler committed Feb 23, 2017
    Configuration menu
    Copy the full SHA
    022eef1 View commit details
    Browse the repository at this point in the history

Commits on Feb 24, 2017

  1. webadmin: Warn on add brick for HC volume

    Show a warning about recommendation of adding
    new volumes to scale out an HC cluster
    
    Change-Id: I1534ccbaab95dc386ba373877a7a0c6fb9de0f05
    Bug-Url: https://bugzilla.redhat.com/1417582
    Signed-off-by: Sahina Bose <sabose@redhat.com>
    sabose authored and pkliczewski committed Feb 24, 2017
    Configuration menu
    Copy the full SHA
    6a01f72 View commit details
    Browse the repository at this point in the history
  2. gluster: add arbiter flag for bricks

    While creating a arbiter volume or adding bricks to arbiter
    volume, every third brick should be marked as arbiter brick
    
    Change-Id: I7161ebca6e262a7b2606817a940b399461fd8460
    Bug-Url: https://bugzilla.redhat.com/1417101
    Signed-off-by: Ramesh Nachimuthu <rnachimu@redhat.com>
    (cherry picked from commit e8a1110)
    Ramesh Nachimuthu authored and pkliczewski committed Feb 24, 2017
    Configuration menu
    Copy the full SHA
    660a8e0 View commit details
    Browse the repository at this point in the history

Commits on Feb 25, 2017

  1. core: rename ImageProxyURL for upgrade from 3.6

    Renaming ImageProxyURL ConfigValue to ImageProxyAddress.
    This is mandatory for upgrading from 3.6 as ImageProxyURL
    has been removed in 4.0 and replaced with ImageProxyAddress.
    See: https://gerrit.ovirt.org/#/c/56231/
    
    Change-Id: Ifee377bf1e2122e6265d250575c011ed7de269e6
    Bug-Url: https://bugzilla.redhat.com/1426064
    Signed-off-by: Daniel Erez <derez@redhat.com>
    danielerez committed Feb 25, 2017
    Configuration menu
    Copy the full SHA
    4a73193 View commit details
    Browse the repository at this point in the history

Commits on Feb 26, 2017

  1. webadmin: Modify NewDiskModel's 'Read-Only' value.

    Modify the NewDiskModel of Direct LUN 'Read-Only' of value, the value
    should come from View, but not false.
    
    Change-Id: Ic68a1d3dcc91b1d186d4894dca0a34c34687fa16
    Bug-Url: https://bugzilla.redhat.com/1425347
    Signed-off-by: Tony Wang <Sline798@gmail.com>
    Tony Wang authored and tnisan committed Feb 26, 2017
    Configuration menu
    Copy the full SHA
    2e48dd8 View commit details
    Browse the repository at this point in the history
  2. webadmin: Move updateBondOptions to SetupNetworksBondModel

    SetupNetworksBondPopupView.updateBondOptions() updates the value of
    customBondEditor manually via the view. Setting the value this way
    doesn't fire any event. Therefore, the model is not updated during
    initialization.
    
    Moving updateBondOptions() and its registration to
    SetupNetworksBondModel fixes this behavior.
    
    Change-Id: I6a16a729633c3e1bd90a47689dbaffa9d5e813d8
    Bug-Url: https://bugzilla.redhat.com/1424813
    Signed-off-by: Dominik Holler <dholler@redhat.com>
    (cherry picked from commit d33523d)
    dominikholler authored and tnisan committed Feb 26, 2017
    Configuration menu
    Copy the full SHA
    fcfe019 View commit details
    Browse the repository at this point in the history

Commits on Feb 27, 2017

  1. backend: Filter non-applicable hosts in HostDeviceFilterPolicyUnit

    The dependency of HostDevice feature on the `dedicated_vm_for_vds_list` was not
    reified in the respecitve scheduling filter - thus allowing errorneous attempts
    at Run or Migrate VM (that were bound to fail).
    
    Change-Id: I2653769f94d6c9209fd98c6fd524c5377fc590fb
    Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1414970
    Signed-off-by: Martin Betak <mbetak@redhat.com>
    matobet authored and tnisan committed Feb 27, 2017
    Configuration menu
    Copy the full SHA
    50433b2 View commit details
    Browse the repository at this point in the history
  2. packaging: spec: ensure debug packages alignment

    Debug packages requires same exact version of the runtime
    packages in order to properly work.
    Added explicit require ensuring that the version match.
    
    Concern has been raised related to eventual yum update
    error messages related to version locking:
    debug packages are not meant to be installed on any production
    environment other than for debugging purpose.
    Once the debug is finished they need to be removed.
    
    Change-Id: I77f1e509c7e0d8ed903ad33c154098c974e08c39
    Bug-Url: https://bugzilla.redhat.com/1401963
    Signed-off-by: Sandro Bonazzola <sbonazzo@redhat.com>
    (cherry picked from commit 1406ba1)
    sandrobonazzola authored and tnisan committed Feb 27, 2017
    Configuration menu
    Copy the full SHA
    1cdb1c6 View commit details
    Browse the repository at this point in the history
  3. webadmin: Fix clicking on labels

    - Fixed a few more labels that were not properly
      associated with their associated radio/checkboxes
    
    Change-Id: I1e27cfdc4c3cade5dc056c6e539e3aebbc82747a
    Bug-Url: https://bugzilla.redhat.com/1414418
    Signed-off-by: Alexander Wels <awels@redhat.com>
    awels committed Feb 27, 2017
    Configuration menu
    Copy the full SHA
    87f3a2e View commit details
    Browse the repository at this point in the history

Commits on Feb 28, 2017

  1. webadmin: Fix ComboBox

    - Fixed issue with ComboBox not working as before
    
    Change-Id: I5216d4de7bcb753d5715aac3833f663ad665b009
    Bug-Url: https://bugzilla.redhat.com/1422779
    Signed-off-by: Alexander Wels <awels@redhat.com>
    awels authored and tnisan committed Feb 28, 2017
    Configuration menu
    Copy the full SHA
    0d8fbeb View commit details
    Browse the repository at this point in the history
  2. core: wrong message when trying to restart HA VM

    Change-Id: I9b8a187c7805ece0796d7988d9b6a15c59be04d6
    Bug-Url: https://bugzilla.redhat.com/1419967
    Signed-off-by: Shahar Havivi <shaharh@redhat.com>
    shaharha authored and tnisan committed Feb 28, 2017
    Configuration menu
    Copy the full SHA
    62eeaef View commit details
    Browse the repository at this point in the history
  3. webadmin: Change message when failing to update plugged nic

    Change-Id: Ib8487e7cc5271d1ea17e6109b49bd6c6c51687aa
    Signed-off-by: Marcin Mirecki <mmirecki@redhat.com>
    Bug-Url: https://bugzilla.redhat.com/1422447
    Marcin Mirecki authored and tnisan committed Feb 28, 2017
    Configuration menu
    Copy the full SHA
    b90ce68 View commit details
    Browse the repository at this point in the history
  4. search: Add spm_id as a searchable field for Host

    Required for bare metal to HE migration procedure.
    Also allow to quickly map VDSM's host_id to host
    in the engine.
    
    Change-Id: I07e8efdb31dc92bfa2958b7261fcde15e14c0bb4
    Bug-Url: https://bugzilla.redhat.com/1417518
    Signed-off-by: Denis Chaplygin <dchaplyg@redhat.com>
    Denis Chaplygin authored and pkliczewski committed Feb 28, 2017
    Configuration menu
    Copy the full SHA
    98f3813 View commit details
    Browse the repository at this point in the history
  5. he: Bare metal migration helper script added.

    Supplied script asks user in which datacenter
    hosted engine will be installed and puts
    hosts with spm_id=1 in that DC to the Maintenance mode.
    
    Later, during database restore procedure,
    engine-backup script should be run with
    --he-remove-hosts options, which will
    replace spm_id=1 with another value,
    thus freeing it for the hosted engine.
    
    Change-Id: I48e11a863b28b0c9a32f5a19b72392afbe717fe9
    Bug-Url: https://bugzilla.redhat.com/1417518
    Signed-off-by: Denis Chaplygin <dchaplyg@redhat.com>
    Denis Chaplygin authored and pkliczewski committed Feb 28, 2017
    Configuration menu
    Copy the full SHA
    3765d1c View commit details
    Browse the repository at this point in the history
  6. userportal,webadmin: Text in templates

    - Moved text that needed to be translated from Templates to
      Constants.
    
    Change-Id: I0c5a923530844916ada4deb5369abfbb0756e96c
    Bug-Url: https://bugzilla.redhat.com/1422455
    Signed-off-by: Alexander Wels <awels@redhat.com>
    awels authored and tnisan committed Feb 28, 2017
    Configuration menu
    Copy the full SHA
    df00d4b View commit details
    Browse the repository at this point in the history
  7. packaging: spec: Require collectd/fluentd+plugins

    To allow collecting data and sending to a central store.
    
    Change-Id: Ie497bae2d80c7bf27ff4bd401e9c83dc49a33694
    Bug-Url: https://bugzilla.redhat.com/1406005
    Signed-off-by: Yedidyah Bar David <didi@redhat.com>
    (cherry picked from commit eb5e384)
    didib authored and tnisan committed Feb 28, 2017
    Configuration menu
    Copy the full SHA
    8a4c234 View commit details
    Browse the repository at this point in the history
  8. userportal, webadmin: translations update from zanata

    Refreshed translations from oVirt's zanata project, version master,
    following the completion of oVirt 4.1 translation cycle 2.
    
    The following locales were updated:
        de_DE,
        es_ES,
        fr_FR,
        it_IT,
        ja_JP,
        ko_KR,
        pt_BR,
        zh_CN
    
    Change-Id: I2ae07cf97291059c1370114b4dd7a8fa2dba1734
    Bug-Url: https://bugzilla.redhat.com/1415806
    Signed-off-by: Scott J Dickerson <sdickers@redhat.com>
    sjd78 committed Feb 28, 2017
    Configuration menu
    Copy the full SHA
    d550776 View commit details
    Browse the repository at this point in the history

Commits on Mar 1, 2017

  1. webadmin: Fix ClassCastException when removing template's disk

    When attempting to remove a template's disk from the Storage
    sub-tab the operation fails with a ClassCastException.
    
    Fixed by using a list of DiskModel instead of a StorageDomainModel
    since we are selecting a disk and operating on it.
    
    Another ClassCastException occurred on line 175 since
    result.getState() returns a TemplateStorageListModel and not
    a ConfirmationModel.
    
    Change-Id: I81f8d145d4e0ec79f635b1e84589a53fda91f538
    Bug-Url: https://bugzilla.redhat.com/1420265
    Signed-off-by: Benny Zlotnik <bzlotnik@redhat.com>
    bennyz authored and tnisan committed Mar 1, 2017
    Configuration menu
    Copy the full SHA
    db5a9c2 View commit details
    Browse the repository at this point in the history
  2. webadmin: Adjust select elements font color on a selected table row

    Currently a selected table row font color is set to white but in cases
    where the table row contains a select element the white font on the
    selected row background will cause it to look disabled, this patch changes
    the color to still be black but lighter
    
    Change-Id: Idba9502f71ae69171497aca6cd01d5cf8956ccc1
    Signed-off-by: Tal Nisan <tnisan@redhat.com>
    Bug-Url: https://bugzilla.redhat.com/1408134
    tnisan committed Mar 1, 2017
    Configuration menu
    Copy the full SHA
    6660ecf View commit details
    Browse the repository at this point in the history
  3. core: fix wrong failure of space requirement validation

    When copying a template's disk to a storage domain, the
    StorageDomainValidator#hasSpaceForDiskWithSnapshots calculates
    the disk's size with all other disk's copies as well which may results
    in the wrong failure of the space requirement validation
    
    This is fixed by only the image we are copying to the image
    snapshots list, because it's the only one relevant to the
    calculation of the free space.
    
    Change-Id: Ibd5a925197e94a12e43a2c97d9350b913d209bf5
    Bug-Url: https://bugzilla.redhat.com/1414320
    Signed-off-by: Benny Zlotnik <bzlotnik@redhat.com>
    bennyz authored and tnisan committed Mar 1, 2017
    Configuration menu
    Copy the full SHA
    a8d1d7c View commit details
    Browse the repository at this point in the history
  4. webadmin: Fixing unexpected UI behavior in the New External Subnet wi…

    …ndow
    
    The elements did not fit in on the panel when dns entries were added,
    resulting in elements being visible outside the popup window.
    Added a scroll panel.
    Also enlarged the window, so that the scrollbars fit in without breaking
    the panel layout.
    The dns size on the subnet panel was made smaller, so that the +/- buttons
    fit in. The other use of ExternalSubnetWidget in the AbstractNetworkPopupView
    also looks good with the new size.
    Screenshots of affected dialogs:
    http://imgur.com/a/mGqaM
    
    Change-Id: I66c8fe243299a46b743370627489ae184952af6b
    Signed-off-by: Marcin Mirecki <mmirecki@redhat.com>
    Bug-Url: https://bugzilla.redhat.com/1425156
    Marcin Mirecki authored and tnisan committed Mar 1, 2017
    Configuration menu
    Copy the full SHA
    ebbe07f View commit details
    Browse the repository at this point in the history
  5. core: StorageHandlingCommandBase - getEntitiesFromStorageOvfDisk() loop

    getEntitiesFromStorageOvfDisk() will enter infinte loop if the
    ovfStoreDiskImages list contains only not updated ovf store disks.
    This patch changes it to break in that case, avoiding the inifinte loop.
    The issue existed since the relevant code was introduced, it was exposed
    by https://bugzilla.redhat.com/1412547 which made it  occur frequently.
    
    This patch makes the minimal change to solve the issue as it's going
    to be backported to the stable branch, more refactors will be made on
    the master branch.
    
    Change-Id: I8669fc6a14879456116fb95ea23737f1ff6672a3
    Bug-Url: https://bugzilla.redhat.com/1424755
    Signed-off-by: Liron Aravot <laravot@redhat.com>
    laravot authored and tnisan committed Mar 1, 2017
    Configuration menu
    Copy the full SHA
    d9711de View commit details
    Browse the repository at this point in the history
  6. webadmin: Enable overflow setting in DisksAllocationView

    Enable setting the overflow in the disks table inside DisksAllocationView
    and set it to auto in DisksAllocationPopupView which is used for move VM
    disks dialog, this will avoid the disks list running over the dialog
    buttons in case we are moving more than 8 disks
    
    Change-Id: Ib5425ab4b156972a5db345f0754ef4758b9eaeb0
    Bug-Url: https://bugzilla.redhat.com/1419352
    Signed-off-by: Tal Nisan <tnisan@redhat.com>
    tnisan committed Mar 1, 2017
    Configuration menu
    Copy the full SHA
    03097a6 View commit details
    Browse the repository at this point in the history
  7. core: Make BaseDisk implement Nameable

    BaseDisk entity and all it's subclasses are now nameable to allow running
    actions that require naming on them, the name will refer to the disk alias
    
    Change-Id: I57e208e6763a06fc11669a7fb8a49b3f7b349386
    Related-To: https://bugzilla.redhat.com/1317490
    Signed-off-by: Tal Nisan <tnisan@redhat.com>
    tnisan committed Mar 1, 2017
    Configuration menu
    Copy the full SHA
    359bcc7 View commit details
    Browse the repository at this point in the history
  8. core: Sort disk order in Libvirt XML by the alias lexonumerically

    The disk order sent in the Libvirt XML should be ordered lexonumerically
    to avoid situations where "Disk10" will come before "Disk2"
    
    Change-Id: I9522b4e893d42e0a44aa26557ff1d19a5ff10433
    Bug-Url: https://bugzilla.redhat.com/1317490
    Signed-off-by: Tal Nisan <tnisan@redhat.com>
    tnisan committed Mar 1, 2017
    Configuration menu
    Copy the full SHA
    7a49541 View commit details
    Browse the repository at this point in the history
  9. backend: generic type of PostDeleteActionHandler::fixParameters

    PostDeleteActionHandler::fixParameters gets a parameters object of type
    <T extends StorageDomainIdParametersBase & PostDeleteAction>.
    While this is a correct generic type, it can be more specific since all
    the parameters that are sent to this handler extend
    StoragePoolDomainAndGroupIdBaseVDSCommandParameters, which is a subtype
    of StorageDomainIdParametersBase.
    
    Change-Id: Iff6988365db5e237dc736f333711047762dc4967
    Bug-Url: https://bugzilla.redhat.com/1427543
    Signed-off-by: Idan Shaby <ishaby@redhat.com>
    Idan Shaby authored and tnisan committed Mar 1, 2017
    Configuration menu
    Copy the full SHA
    da14da0 View commit details
    Browse the repository at this point in the history
  10. backend: change Discard After Delete logic

    Up until now, DAD (Discard After Delete) [1] was not related to Pass
    Discard [2], i.e a disk was first discarded before it was deleted only
    if its block storage domain's DAD value was true.
    
    That created a situation where a vm disk that had its Pass Discard
    enabled was not discarded before it was deleted if its storage domain's
    DAD value was disabled. This situation does not make sense because if
    the user specifies that he wants "live" discarding (Pass Discard), he
    will most likely want to discard the whole disk before it's deleted.
    
    This patch fixes the DAD logic so that a disk will be discarded before
    it's deleted if DAD is enabled for its storage domain, or if the same
    disk is attached to at least one vm with its Pass Discard enabled.
    
    [1] http://www.ovirt.org/develop/release-management/features/storage/discard-after-delete
    [2] http://www.ovirt.org/develop/release-management/features/storage/pass-discard-from-guest-to-underlying-storage/
    
    Change-Id: I06345cd0cebed0ee4ad9ccc930e978807ab47f11
    Bug-Url: https://bugzilla.redhat.com/1427543
    Signed-off-by: Idan Shaby <ishaby@redhat.com>
    Idan Shaby authored and tnisan committed Mar 1, 2017
    Configuration menu
    Copy the full SHA
    00c2f24 View commit details
    Browse the repository at this point in the history
  11. packaging: setup: Change the SSL protocols supported by Apache

    This patch removes the support for TLSv1, as well as makes sure the
    older SSLv3 protocol is also disabled.
    
    This leaves only the TLSv1.1 and TLSv1.2, which are currently
    considered as safe.
    
    Change-Id: Icf8d0cc990ea6c2051f6275435fc9fe309e0fa37
    Signed-off-by: Lev Veyde <lveyde@redhat.com>
    Bug-Url: https://bugzilla.redhat.com/1388456
    (cherry picked from commit 7f43bdf)
    lveyde authored and tnisan committed Mar 1, 2017
    Configuration menu
    Copy the full SHA
    9679923 View commit details
    Browse the repository at this point in the history
  12. backend: sync luns on live dc upgrade

    When running a live dc upgrade, active storage domains don't get updated
    with the latest luns information from vdsm.
    Since on new dc versions, it is possible that new information about the
    storge domains' luns can be returned from vdsm, this patch synchronizes
    these luns as a part of the upgrade process.
    
    Change-Id: I81f9b247c73cffa688e7c2776b0da6fc937710ea
    Bug-Url: https://bugzilla.redhat.com/1419327
    Signed-off-by: Idan Shaby <ishaby@redhat.com>
    Idan Shaby authored and tnisan committed Mar 1, 2017
    Configuration menu
    Copy the full SHA
    b5bce90 View commit details
    Browse the repository at this point in the history
  13. restapi: Set 'filter=true' by default for non admins

    The API supports the 'filter' parameter to indicate if results should be
    filtered according to the permissions of the user. Due to the way this
    is implemented, non admin users need to set this parameter for almost
    all operations, as the default value is 'false'. To simplify things for
    non admin users, this patch changes the default value to 'true', but
    only for non admin users. If the value is explicitly given in a request
    it will be honored.
    
    This is a backwards compatibility breaking change, as clients that used
    non admin users and did *not* provide explicitly the 'filter' parameter
    will start to behave differently. However, this is unlikely, as calls
    from non admin users without the 'filter=true' is almost useless. For
    those unlikely cases where this may be a problem, the patch also
    introduces a new 'ENGINE_API_FILTER_BY_DEFAUL' configuration parameter:
    
      #
      # This flags indicates if 'filtering' should be enabled by default for
      # users that aren't administartors.
      #
      ENGINE_API_FILTER_BY_DEFAULT="true"
    
    If it is necessary to revert to the behaviour of previous versions of the
    engine, it can be achieved by changing this parameter in a configuration
    file inside the '/etc/ovirt-engine/engine.conf.d' directory. For
    example:
    
      # echo 'ENGINE_API_FILTER_BY_DEFAULT="true"' > \
      /etc/ovirt-engine/engine.conf.d/99-filter-by-default.conf
    
      # systemctl restart ovirt-engine
    
    Change-Id: I14d2e1101c32727f880ca8c82d48eb65fca9b8c2
    Related-To: https://bugzilla.redhat.com/1420310
    Bug-Url: https://bugzilla.redhat.com/1427987
    Signed-off-by: Juan Hernandez <juan.hernandez@redhat.com>
    (cherry picked from commit 233e85a)
    jhernand committed Mar 1, 2017
    Configuration menu
    Copy the full SHA
    66a0255 View commit details
    Browse the repository at this point in the history
  14. restapi: Disable filtering by default for non-admin users

    The previous patch enabled filtering by default for non-admin users,
    like in the master branch. But we don't want to do that in the 4.1
    branch, as it is a backwards compatibility breaking change. To avoid
    that this patch flips the default value from 'true' to 'false'.
    
    Change-Id: I851d04fa0f1f03b326e40f5434896418d24b7f56
    Bug-Url: https://bugzilla.redhat.com/1427987
    Signed-off-by: Juan Hernandez <juan.hernandez@redhat.com>
    jhernand committed Mar 1, 2017
    Configuration menu
    Copy the full SHA
    9aeff34 View commit details
    Browse the repository at this point in the history
  15. restapi: disable keepaliveInterval for download image

    Removing keepaliveInterval for download/upload image through the API.
    The UploadImageUiInactivityTimeoutInSeconds ConfigValue is irrelevant
    for the API as chunk_size is being explicitly specified by the script.
    I.e. when the chunk_size is relatively large, a keepalive timeout
    might occur, and hence, the download/upload would be paused.
    
    Change-Id: Ie0ce6d9fbecc8d50ca410e678150e717fc166e3d
    Bug-Url: https://bugzilla.redhat.com/1414484
    Signed-off-by: Daniel Erez <derez@redhat.com>
    danielerez authored and tnisan committed Mar 1, 2017
    Configuration menu
    Copy the full SHA
    34b13e7 View commit details
    Browse the repository at this point in the history

Commits on Mar 2, 2017

  1. Remove ovirt-engine-hosts-ansible-inventory

    And require instead ovirt-engine-metrics, which got its functionality
    
    Change-Id: I9b95eba077b73cbcc8f09fa22d25f1846762ae51
    Bug-Url: https://bugzilla.redhat.com/1422505
    Signed-off-by: Yedidyah Bar David <didi@redhat.com>
    (cherry picked from commit 3350190)
    didib committed Mar 2, 2017
    Configuration menu
    Copy the full SHA
    a5150ee View commit details
    Browse the repository at this point in the history
  2. core: Validate CPU ids and memory for VM NUMA nodes

    Two more NUMA node validations are added:
    - memory consumed by all NUMA nodes of a VM
      should not be more than the total memory of a VM
    
    - one CPU should not be pinned to two or more NUMA nodes
    
    Change-Id: I7e91c23cb1dbc438f65613662e7e03c8c22ec1a5
    Bug-Url: https://bugzilla.redhat.com/1291064
    Signed-off-by: Andrej Krejcir <akrejcir@redhat.com>
    akrejcir authored and tnisan committed Mar 2, 2017
    Configuration menu
    Copy the full SHA
    920ab12 View commit details
    Browse the repository at this point in the history
  3. webadmin: Add specialized validation for Long values

    This patch adds a LongValidation class to provide validation of Long
    values.
    
    Previously, the EditQuotaClusterModel and EditQuotaStorageModel classes
    used the IntegerValidation class to validate some Long type values,
    which resulted in mistakes such as those detailed in
    https://bugzilla.redhat.com/1423468.
    
    Change-Id: Ieddd09396be5bdb113bec430afa71913715130db
    Bug-Url: https://bugzilla.redhat.com/1423468
    Signed-off-by: Tony Wang <Sline798@gmail.com>
    Signed-off-by: Phillip Bailey <phbailey@redhat.com>
    pcbailey authored and tnisan committed Mar 2, 2017
    Configuration menu
    Copy the full SHA
    cbde18f View commit details
    Browse the repository at this point in the history
  4. restapi: Update to model 4.1.31

    The more relevant changes in this new version of the model are the
    following:
    
    * Add `auto_storage_select` attribute to the `VmPool` type.
    
    * Move `vnic_profile_mappings` and `reassign_bad_macs` from
      the `import` operation to the `register` operation.
    
    Change-Id: I9ce11fe08ce8e539d7d8cf74d0a284bda7de2d2b
    Related-To: https://bugzilla.redhat.com/1425731
    Signed-off-by: Juan Hernandez <juan.hernandez@redhat.com>
    jhernand committed Mar 2, 2017
    Configuration menu
    Copy the full SHA
    b941f91 View commit details
    Browse the repository at this point in the history
  5. core: CommandCallbacksPoller - set the command correlation id

    This patch updates the CommandCallbacksPoller to set the command
    correlation id before executing the needed callback method in order to
    be able to track the flow easily in the logs.
    
    Change-Id: Ib934bf4421a7fbf890b5c006263ff559b9d88462
    Bug-Url: https://bugzilla.redhat.com/1428346
    Signed-off-by: Liron Aravot <laravot@redhat.com>
    laravot authored and tnisan committed Mar 2, 2017
    Configuration menu
    Copy the full SHA
    7925660 View commit details
    Browse the repository at this point in the history
  6. core: Backend - set the parent correlation id

    When command is executed as a child command the correlation id should be
    derived from the parent parameters to ease tracking the flow in the
    logs.
    
    Change-Id: Iaea59a769f6a44051340a9b9247f27fc5fc76be3
    Bug-Url: https://bugzilla.redhat.com/1428346
    Signed-off-by: Liron Aravot <laravot@redhat.com>
    laravot authored and tnisan committed Mar 2, 2017
    Configuration menu
    Copy the full SHA
    f7cc4ac View commit details
    Browse the repository at this point in the history
  7. core: MoveImageGroup - remove image correlation id

    This patch changes the MoveImageGroup command to pass the correlation id
    to the executed RemoveImage to ease tracking the entire flow in the log.
    
    Change-Id: I31141ac43903ce723c3549efe4f58aa99f62e2a1
    Bug-Url: https://bugzilla.redhat.com/1428346
    Signed-off-by: Liron Aravot <laravot@redhat.com>
    laravot authored and tnisan committed Mar 2, 2017
    Configuration menu
    Copy the full SHA
    a389099 View commit details
    Browse the repository at this point in the history
  8. core: Monitor devices only for vms that are already in the db

    Before this fix vm devices hash was stored in an internal cache
    for all vms that were reported by vdsm no matter if they were
    present in the engine db at the time.
    
    This caused problems with hosted engine vm that was imported
    after the device hash was saved in the cache. Since device monitoring
    relies on this cache and there was no change in the hash reported
    from vdsm and the hash in the cache the devices weren't imported.
    
    This patch allows monitoring caching info only for vms that already
    exist in the db and so solves this issue.
    
    Change-Id: Ib011ac5c7f28de7891b0b6e3c09b107679c1ff29
    Bug-Url: https://bugzilla.redhat.com/1425108
    Signed-off-by: Jenny Tokar <jtokar@redhat.com>
    jtokar authored and tnisan committed Mar 2, 2017
    Configuration menu
    Copy the full SHA
    ced2f67 View commit details
    Browse the repository at this point in the history
  9. core: Increment vm db generation when importing devices

    When importing vm devices the db generation column was
    not updated.
    The ovf generation process relies on this column to know
    when a new ovf needs to be generated. Since the column
    wasn't updated the imported devices were not included in
    the ovf.
    
    Change-Id: I0fe8c7a350e417db1ce0ba273a7d470a89afbe69
    Bug-Url: https://bugzilla.redhat.com/1416846
    Signed-off-by: Jenny Tokar <jtokar@redhat.com>
    jtokar authored and tnisan committed Mar 2, 2017
    Configuration menu
    Copy the full SHA
    df85e20 View commit details
    Browse the repository at this point in the history

Commits on Mar 6, 2017

  1. webadmin: detect file read error during upload

    Pause image upload upon detecting file read error
    (e.g. file was deleted during upload).
    
    Change-Id: Iefb9cbe60b8b71ae10cfe272093f9eec8f88be69
    Bug-Url: https://bugzilla.redhat.com/1365237
    Signed-off-by: Daniel Erez <derez@redhat.com>
    danielerez committed Mar 6, 2017
    Configuration menu
    Copy the full SHA
    da03ae8 View commit details
    Browse the repository at this point in the history
  2. core: CloneImageGroupVolumesStructure - determineSourceImageGroup()

    determineSourceImageGroup() is used to determine the source image group
    (which may differ between the first volume and the rest of the volume
     chain in case the disk is based on a template).
    The method had two issues:
    1. It returned the image id instead of the disk id.
    2. It used image.getImageTemplateId() to determine if the disk is based
    on template. When disk snapshots are created their image template id
    field is copied from the parent volume, which means that all the chain
    has the same value in tht field - only the first volume needs to be
    created as based on the template disk. This patch changes the check to
    use the template disk id only when the template volume is the parent of
    the volume by checking that getParentId() equals to
    getImageTemplateId().
    
    Change-Id: Ibf5f6cac89846865bb36e07507390e1a9b21e99a
    Bug-Url: https://bugzilla.redhat.com/1429184
    Bug-Url: https://bugzilla.redhat.com/1429170
    Signed-off-by: Liron Aravot <laravot@redhat.com>
    laravot committed Mar 6, 2017
    Configuration menu
    Copy the full SHA
    8857c14 View commit details
    Browse the repository at this point in the history

Commits on Mar 7, 2017

  1. ui: fix few console fields to be greyed out for headless mode

    when setting a VM / Template / Pool / Instance Type as headless, the
    following fields are now greyed out (were not till now):
    'Monitors' label
    'Single Sign On method' label
    
    In addition, the following fields:
    USB Support
    Monitors
    Enable SPICE file transfer
    Enable SPICE clipboard copy and paste
    are all left greyed out for headless even when the OS is changed to "Linux"
    or "Red Hat Enterprise Linux 6.x x64 (were changed to non greyed out
    till this patch).
    
    Change-Id: Ia7f93a77cced74529b3fe194ba8746750d6ef50b
    Bug-Url: https://bugzilla.redhat.com/1425124
    Signed-off-by: Sharon Gratch <sgratch@redhat.com>
    sgratch authored and tnisan committed Mar 7, 2017
    Configuration menu
    Copy the full SHA
    6fd8c15 View commit details
    Browse the repository at this point in the history
  2. webadmin: AbstractDiskModel - setDiskProfilesList()

    When setDiskProfilesList() is executed, the disk profile set on the disk
    is considered when updating the disk profile list.
    However, for disk models that doesn't represnt disk which were already 
    actually created the profile set in the model isn't the actual disk
    profile - therefore if the domain is changed we can update it to the 
    newly selected domain profile and not consider it as set profile.
    
    Change-Id: I24d357cdd324817834b8ee2902ec7d3c9add99b6
    Bug-Url: https://bugzilla.redhat.com/1360355
    Signed-off-by: Liron Aravot <laravot@redhat.com>
    laravot authored and tnisan committed Mar 7, 2017
    Configuration menu
    Copy the full SHA
    8d2e326 View commit details
    Browse the repository at this point in the history
  3. Version bump

    Bug-Url: https://bugzilla.redhat.com/1425725
    Change-Id: Ib23e3ecf9ca4aefcc4fd2bef2bdf692e01e3a40e
    Signed-off-by: Piotr Kliczewski <piotr.kliczewski@gmail.com>
    pkliczewski authored and tnisan committed Mar 7, 2017
    Configuration menu
    Copy the full SHA
    69719bf View commit details
    Browse the repository at this point in the history
  4. api: add auto_storage_select field to VmPoolMapper

    'auto storage select' field indicate automatic and
    balanced disk distribution for multiple storage.
    
    Change-Id: I5f7407bd7883092ddb599c283ba3cc1a52055879
    Bug-Url: https://bugzilla.redhat.com/1425493
    Signed-off-by: Shahar Havivi <shaharh@redhat.com>
    shaharha authored and tnisan committed Mar 7, 2017
    Configuration menu
    Copy the full SHA
    20240fa View commit details
    Browse the repository at this point in the history

Commits on Mar 8, 2017

  1. packaging: spec: require newer ovirt-host-deploy

    Consume newer ovirt-host-deploy 1.6.3.
    
    Change-Id: Ic1820141c81d6eeb40ccf9f97b9d6d152f354aca
    Signed-off-by: Sandro Bonazzola <sbonazzo@redhat.com>
    sandrobonazzola committed Mar 8, 2017
    Configuration menu
    Copy the full SHA
    a9ec1d3 View commit details
    Browse the repository at this point in the history
  2. core: Send direct LUN devices with virtio interface as disk

    Direct LUNs should only be sent with device="lun" when using virtio-scsi
    when they are connected with virtio interface they should be sent with
    device="disk" as all the other disks
    
    Change-Id: I96e9604b69136e05b771aa54616810f7d1aee8db
    Bug-Url: https://bugzilla.redhat.com/1410506
    Signed-off-by: Tal Nisan <tnisan@redhat.com>
    tnisan committed Mar 8, 2017
    Configuration menu
    Copy the full SHA
    dacaf41 View commit details
    Browse the repository at this point in the history
  3. webadmin: live merge - warning on remove snapshot for unplugged disks

    Added a warning for unplugged disk on remove snapshot (live) dialog.
    
    Change-Id: I7f4b2549ceaf752c531acd128de43aecee99c002
    Bug-Url: https://bugzilla.redhat.com/1411572
    Signed-off-by: Daniel Erez <derez@redhat.com>
    danielerez authored and tnisan committed Mar 8, 2017
    Configuration menu
    Copy the full SHA
    582a324 View commit details
    Browse the repository at this point in the history
  4. core: Don't wait for jobs to complete during shutdown

    When the user requests a shutdown of the engine with the 'systemctl stop
    ovirt-engine' command, systemd sends a TERM signal to the service
    start/stop script, which in turn sends it to the application server. The
    application server then performs its shutdown process. This includes
    undeployment of the data sources. When the data source used by the jobs
    scheduler is undeployed and there are still jobs pending, they are
    retried for ever, and they always fail because there is no longer data
    source that they can use. This blocks the application server shutdown
    process. The application server is later killed using the KILL signal,
    by the start/stop script, after waiting 10 seconds. The net result is
    that the engine is stopped anyhow, but systemd reports it as failed, and
    some shutdown tasks may have been skipped, because the process was
    blocked. To avoid that this patch changes the scheduler implementation
    so that it doesn't wait for jobs to finish during shutdown.
    
    Change-Id: I6fc474324d1dc8551933761c3b729d13243b323a
    Bug-Url: https://bugzilla.redhat.com/1394617
    Signed-off-by: Juan Hernandez <juan.hernandez@redhat.com>
    (cherry picked from commit f475d6d)
    jhernand authored and tnisan committed Mar 8, 2017
    Configuration menu
    Copy the full SHA
    33f6321 View commit details
    Browse the repository at this point in the history
  5. restapi: Update to model 4.1.32

    The more relevant changes in the new version of the model are the
    following:
    
    * Replace the `Seal` operation of the service that manages a template
      with a new `seal` parameter in the operation that adds a template.
    
    Change-Id: I6f6b36b57cc6c7cb7d6ad1372de07f2da7a179b7
    Related-To: https://bugzilla.redhat.com/1335642
    Signed-off-by: Juan Hernandez <juan.hernandez@redhat.com>
    jhernand authored and tnisan committed Mar 8, 2017
    Configuration menu
    Copy the full SHA
    9bdfe93 View commit details
    Browse the repository at this point in the history
  6. restapi: Add mappings for NFS V4.2

    Change-Id: I84fb574bd671345bf293a41effd4417e30005daa
    Bug-Url: https://bugzilla.redhat.com/1424821
    Signed-off-by: Tal Nisan <tnisan@redhat.com>
    tnisan committed Mar 8, 2017
    Configuration menu
    Copy the full SHA
    f120463 View commit details
    Browse the repository at this point in the history

Commits on Mar 9, 2017

  1. engine: normalize bonding options without miimon

    The bonding options are normalized by placing the option "mode"
    in the first place and the option "miimon" in the second place
    in the options string.
    
    Previously, if the option "miimon" was missing, a space was added
    the first place of the options string instead of the present option.
    
    If the option "miimon" is missing, the option "mode" is still
    positioned in the first place.
    
    Change-Id: Ie3417fe2dc5bffb1b98c6a664da1c0be87fc54be
    Bug-Url: https://bugzilla.redhat.com/1429810
    Signed-off-by: Dominik Holler <dholler@redhat.com>
    (cherry picked from commit a07cfab)
    dominikholler authored and tnisan committed Mar 9, 2017
    Configuration menu
    Copy the full SHA
    38c0c23 View commit details
    Browse the repository at this point in the history
  2. restapi: Reduce severity of 'path not found'

    Currently when the API doesn't isn't able to calculate the URL path for
    a class, it sends an ERROR message to the log, something like this:
    
      ERROR Can't find relative path for class "o.o.e.a.r.VmDisksResource", will return null
    
    That isn't really an error, rather a hint for developers that something
    may be missing in the 'LinkHelper' class. But the ERROR serverity alarms
    users. This patch changes the severity to WARNING, which is closer to
    the real meaning.
    
    Change-Id: Ib65c904360787d50d22d21fe50747b6ed7453a01
    Related-To: https://bugzilla.redhat.com/1410038
    Signed-off-by: Juan Hernandez <juan.hernandez@redhat.com>
    (cherry picked from commit da7e8b2)
    jhernand committed Mar 9, 2017
    Configuration menu
    Copy the full SHA
    d205fa9 View commit details
    Browse the repository at this point in the history
  3. core: Allow memory over commitment only if ksm or ballooning are avai…

    …lable
    
    Currently we allow memory over commitment even if nothing can
    support it on a host (no ksm and no ballooning).
    This patch adds verification for that issue so an error is raised
    if the configuration is wrong.
    
    Change-Id: I912285e8d8cd1d55cf58b14bf04f7d2e8bb84e75
    Bug-Url: https://bugzilla.redhat.com/1402838
    Signed-off-by: Jenny Tokar <jtokar@redhat.com>
    jtokar authored and tnisan committed Mar 9, 2017
    Configuration menu
    Copy the full SHA
    58a8109 View commit details
    Browse the repository at this point in the history

Commits on Mar 10, 2017

  1. packaging: pythonlib: Require python-dateutil

    service.py needs it.
    
    Change-Id: Id9443fbd02770355e1ea3e50a36d10c28997e10d
    Bug-Url: https://bugzilla.redhat.com/1430817
    Signed-off-by: Yedidyah Bar David <didi@redhat.com>
    didib authored and sandrobonazzola committed Mar 10, 2017
    Configuration menu
    Copy the full SHA
    f4093b2 View commit details
    Browse the repository at this point in the history

Commits on Mar 12, 2017

  1. packaging: pythonlib: Add mem.py

    Allow getting total amount of memory
    
    Make setup code use that
    
    Allow parsing values intended for java -Xm{s,x}value
    
    Change-Id: I14bfa4b8165c1b899b82d623e2e0dc3fbea2b1bc
    Bug-Url: https://bugzilla.redhat.com/1329119
    Signed-off-by: Yedidyah Bar David <didi@redhat.com>
    (cherry picked from commit 60233fb)
    didib authored and tnisan committed Mar 12, 2017
    Configuration menu
    Copy the full SHA
    49eba5c View commit details
    Browse the repository at this point in the history
  2. restapi: Fix NPE when requesting ticket on a down VM

    When the VM is down, the vm_dynamic-dependent `deriveGraphicsType()` returns
    null which caused NPE when forwarding to a subresource of a given console type.
    
    Fixed by forwarding the null graphics type to the backend where the down VM
    case is already handled.
    
    In order to do this the ticket invocation code was extracted to the Ticketer
    helper class that encapsulates the single operation and is used both by the old
    BackendVmResource endpoint and the newer BackendVmGraphicsConsoleResource
    subresource endpoints.
    
    Change-Id: I58250c34a5624f8be39b84e7eed1956dc589d995
    Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1428863
    Signed-off-by: Martin Betak <mbetak@redhat.com>
    matobet authored and tnisan committed Mar 12, 2017
    Configuration menu
    Copy the full SHA
    77e6499 View commit details
    Browse the repository at this point in the history
  3. webadmin: Pass Discard is irrelevant for AttachDiskModel

    AttachDiskModel is a sub class of AbstractDiskModel, and thus when
    events like storageDomain_SelectedItemChanged are raised in
    AttachDiskModel, updatePassDiscardAvailability and
    updatePassDiscardChangeability are called although Pass Discard is
    irrelevant for AttachDiskModel.
    This patch adds an empty override of these methods to AttachDiskModel to
    solve this problem.
    
    Change-Id: I451b58a0618098690c89dce9aae5929e30d64b54
    Bug-Url: https://bugzilla.redhat.com/1430754
    Signed-off-by: Idan Shaby <ishaby@redhat.com>
    Idan Shaby committed Mar 12, 2017
    Configuration menu
    Copy the full SHA
    f23bbdf View commit details
    Browse the repository at this point in the history

Commits on Mar 13, 2017

  1. engine: user login event is not displayed on events tab

    Audit log event should be added on
    user login.
    
    Change-Id: I31dfc3ecc4e9cc89ca9de2f602690c33b181b2cf
    Bug-Url: https://bugzilla.redhat.com/1426715
    Signed-off-by: Ravi Nori <rnori@redhat.com>
    Ravi Nori authored and pkliczewski committed Mar 13, 2017
    Configuration menu
    Copy the full SHA
    57276fb View commit details
    Browse the repository at this point in the history

Commits on Mar 14, 2017

  1. engine: populate macPoolId on DC in queries

    Polpuplate macPoolId on DC in the following queries:
    * GetAllStoragePools
    * Search
    
    Change-Id: Ia76a8ca63c2a3aca6c81e5e0c361d780dbf8a4d1
    Bug-Url: https://bugzilla.redhat.com/1421434
    Signed-off-by: Yevgeny Zaspitsky <yzaspits@redhat.com>
    (cherry picked from commit fc6b190)
    Yevgeny Zaspitsky authored and tnisan committed Mar 14, 2017
    Configuration menu
    Copy the full SHA
    494f17c View commit details
    Browse the repository at this point in the history
  2. core: add support for more than one virtio scsi controller

    Since every IO Thread has to have it's own virtio scsi controller and the
    current code supported only one controller, this patch adds the support for
    having more than one.
    
    If the num of io threads of a VM is lowered, the controller Id is re-generated
    for this disks.
    
    If the num of io threads is enlarged, the existing disks which already have
    addresses are not re-generated, only for the new disks will be assigned to
    new controller.
    
    Therefore, in order to enforce the rearrangement of the disks to io threads
    which has already been given some address, the disks have to be de-activated
    and activated again. The reason is to not to touch the assignement of the disks
    to controllers since it influences the disk arrangement inside of the guest.
    
    Change-Id: I5bc8d58237ae28901bf866a50f30e87ee852c980
    Bug-Url: https://bugzilla.redhat.com/1422450
    Signed-off-by: Tomas Jelinek <tjelinek@redhat.com>
    Tomas Jelinek authored and tnisan committed Mar 14, 2017
    Configuration menu
    Copy the full SHA
    c1df303 View commit details
    Browse the repository at this point in the history
  3. core: Properly adjust # of usb-controllers in UpdateTemplate & AddVm

    The VmDeviceUtils#updateUsbSlots method was not being called in the flows in
    UpdateVmTemplateCommand and AddVmCommand, which resulted in creation of
    templates (and consequently also VMs) with incorrect number of usb controllers
    and thus preventing the VM to be run in some cases.
    
    Change-Id: Ic8fbae5d863307bc423c3e04cfd56c370a850863
    Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1430009
    Signed-off-by: Martin Betak <mbetak@redhat.com>
    matobet authored and tnisan committed Mar 14, 2017
    Configuration menu
    Copy the full SHA
    582aca3 View commit details
    Browse the repository at this point in the history
  4. Revert "rest: Add implementation for update disk qcow2 compat."

    This reverts commit 0af00ce.
    
    Change-Id: Iaa2a5ebb0c1f96d05693731e3cc5d241cd5aa159
    Signed-off-by: Maor Lipchuk <mlipchuk@redhat.com>
    Maor Lipchuk authored and tnisan committed Mar 14, 2017
    Configuration menu
    Copy the full SHA
    f2a4573 View commit details
    Browse the repository at this point in the history
  5. core: change indexing of virtio-scsi io threads to start from 1

    Libvirt expects the IO Threads to be indexed from 1, not from 0.
    
    For virtio blk it was already implemented correctly in
    
    VmInfoBuilderImpl.pinToIoThreads()
    
    but the case of virtio-scsi have indexed the threads from 0.
    
    Change-Id: Ifa818d31d56cbd8f098620d6bc6598ce6ca5d4ea
    Bug-Url: https://bugzilla.redhat.com/1366507
    Signed-off-by: Tomas Jelinek <tjelinek@redhat.com>
    Tomas Jelinek authored and tnisan committed Mar 14, 2017
    Configuration menu
    Copy the full SHA
    eeb9df1 View commit details
    Browse the repository at this point in the history
  6. restapi: Update to model 4.1.33

    The more relevant changes in this new version of the model are the
    following:
    
    * Add `unregistered` parameter for the operations to list disks,
      virtual machines, and templates in storage domains.
    
    * Fix the direction of the `statistic` parameter of the `Statistic`
      service, must be out only.
    
    * Revert the addition of the operation to update disks.
    
    Change-Id: Ic88d7e257d24ddcf1782b968e7d2b27b0a125240
    Related-To: https://bugzilla.redhat.com/1428159.
    Signed-off-by: Juan Hernandez <juan.hernandez@redhat.com>
    jhernand committed Mar 14, 2017
    Configuration menu
    Copy the full SHA
    3c71580 View commit details
    Browse the repository at this point in the history
  7. ui: set domain value in case that Cloud-Init/Sysprep is enabled

    Fix a bug of not setting the domain name value in case of enabling the
    Cloud-Init/Sysprep option for VM (new/edit) and Run-Once dialogs.
    
    Change-Id: I8f7934347e05497cca1d4a6b0c8950cbb85f7cf7
    Bug-Url: https://bugzilla.redhat.com/1425122
    Signed-off-by: Sharon Gratch <sgratch@redhat.com>
    sgratch authored and tnisan committed Mar 14, 2017
    Configuration menu
    Copy the full SHA
    ec14219 View commit details
    Browse the repository at this point in the history
  8. restapi: Autoadjusting max memory when VM created

    Problem: Since engine 4.1 VM-like entities have new property - max
    memory. If one tried to create a new VM using script created for engine
    4.0 specifying custom memory size larger template max memory and didn't
    specifying max memory explicitly then creation of VM failed. Max memory
    copied from template was smaller than memory.
    
    Solution: If max memory is not specified and memory is specified, then
    max memory is automatically set to value
    VmCommonUtils#getMaxMemorySizeDefault(int memory) (currently 4*memory).
    UI uses same method.
    
    Change-Id: I6e1d0847c68a774f6028824e4533df772c19dfea
    Bug-Url: https://bugzilla.redhat.com/1430795
    Signed-off-by: Jakub Niedermertl <jniederm@redhat.com>
    jniederm authored and tnisan committed Mar 14, 2017
    Configuration menu
    Copy the full SHA
    7c628e1 View commit details
    Browse the repository at this point in the history
  9. core: vm from template - revert flow

    When failing on creation of desktop/server vm based on a template
    currently there is no rollback of the created disks in case of failure
    to complete the entire operation.
    For server vms the rollback was never implemented while for desktop vms
    the rollback isn't perform since the flow was updated to use the coco
    framework (as it was performed using the SPMRevertTask).
    As the endWithFailure() method is shared between the flows, this patch
    adds the rollback for both.
    
    Note that is this patch is targeted to the 4.1 branch the solution isn't
    yet complete - the flow should be rewritten so that the disk is added in
    transaction and then the copy flow is initiated.
    In case of failure to complete the creation/copy the engine should
    attempt
    to remove the disk, if the removal fails the disk should remain in
    ILLEGAL status so that the user will be able to attempt to delete it to
    free the space used by it.
    
    Change-Id: I530f522cd9fe064bb2844ed89f8d4877b25af0f5
    Bug-Url: https://bugzilla.redhat.com/1426136
    Signed-off-by: Liron Aravot <laravot@redhat.com>
    laravot authored and tnisan committed Mar 14, 2017
    Configuration menu
    Copy the full SHA
    a2725c0 View commit details
    Browse the repository at this point in the history
  10. core: Prevert running sparsify on disks on local storage

    Change-Id: I8b3b0c7ebda2e91c90478a8735efd401ec16fd44
    Bug-Url: https://bugzilla.redhat.com/1426265
    Signed-off-by: Tal Nisan <tnisan@redhat.com>
    tnisan committed Mar 14, 2017
    Configuration menu
    Copy the full SHA
    0aaa501 View commit details
    Browse the repository at this point in the history

Commits on Mar 15, 2017

  1. restapi: Don't use GetAllDisksByVmId

    Currently when version 3 of the API is used to request the disks of a
    virtual machine, the API uses the GetAllDisksByVmId query, which in turn
    uses the GetDisksbyVmGuid stored procedure to retrive the disks. In
    addition this query, for each disk, calls the GetSnapshotByLeafGuid
    stored procedure, to retrieve snapshot details, and the
    GetDiskVmElementVyDiskVmElementId, to get attachment details. The
    GetSnapshotByLeafGuid stored procedure is complex, and consumes a
    important amount of database time. Version 4 of the API uses lighter
    stored procedures. This patch changes the V3 compatibility layer of the
    API so that it calls the V4 disk attachments and disk resources instead
    of using the GetAllDisksByVmId query. In an otherwise idle enviroment
    with approxy 4000 virtual machines this reduces the total use of CPU
    (85% database + 15% engine) from 57 minutes to 14 minutes.
    
    This can be reproduced using the following Ruby script, which uses the
    'ovirt' gem to retrieve the virtual machines and their disks:
    
      require 'active_support/all'
      require 'ovirt'
    
      service = Ovirt::Service.new(
        server: 'rhvm41.local',
        port: 443,
        domain: 'internal',
        username: 'admin',
        password: '...',
        verify_ssl: false,
        timeout: 1.hour
      )
    
      vms = Ovirt::Vm.all(service)
    
      vms.each do |vm|
        vm.disks.each do |disk|
          puts "#{vm[:name]}: #{disk[:name]}"
        end
      end
    
      service.disconnect
    
    Change-Id: I4429aadb4c33271c6ba10752cd3502ceb1d2329e
    Bug-Url: https://bugzilla.redhat.com/1431578
    Signed-off-by: Juan Hernandez <juan.hernandez@redhat.com>
    (cherry picked from commit 85779a0)
    jhernand authored and tnisan committed Mar 15, 2017
    Configuration menu
    Copy the full SHA
    54dc484 View commit details
    Browse the repository at this point in the history
  2. core: refactorings related to update cluster flow.

    • renamed parameters
    • created new parameter: macToMigrate, which was formerly initialized
    inside of method
    
    Change-Id: I5e74e218895d6c0b6fbc015d29a424fffab033ed
    Bug-Url: https://bugzilla.redhat.com/1410440
    Signed-off-by: Martin Mucha <mmucha@redhat.com>
    Martin Mucha authored and tnisan committed Mar 15, 2017
    Configuration menu
    Copy the full SHA
    9c71496 View commit details
    Browse the repository at this point in the history
  3. core: renamed class MoveMacsOfUpdatedCluster.

    MoveMacsOfUpdatedCluster.java -> MoveMacs.java
    Class was renamed, because macs will be moved not only because of
    updating cluster.
    
    Change-Id: I524abafd06ab5e57e8e2fc36f62c31fd58ec993e
    Bug-Url: https://bugzilla.redhat.com/1410440
    Signed-off-by: Martin Mucha <mmucha@redhat.com>
    Martin Mucha authored and tnisan committed Mar 15, 2017
    Configuration menu
    Copy the full SHA
    bcc9329 View commit details
    Browse the repository at this point in the history
  4. core: added bulk methods to MacPool

    to allow adding and 'force-adding' list of Macs.
    
    Change-Id: I18e60646da2bd82952dd2eae3d4849d1fb39d311
    Bug-Url: https://bugzilla.redhat.com/1410440
    Signed-off-by: Martin Mucha <mmucha@redhat.com>
    Martin Mucha authored and tnisan committed Mar 15, 2017
    Configuration menu
    Copy the full SHA
    9fb021e View commit details
    Browse the repository at this point in the history
  5. core: add ID property to MacPool.

    Adding ID to MacPool to be able to identify different MacPools in the
    logs. The DB ID (mac_pools.id) will be used for this.
    
    Note:
    ID is not a 'required' property of in-memory object (with an exception
    in compensation flow), and might bind itself to DB, it *is* a property
    of MacPool, and a good candidate to identify pool. A pool is related
    to db record, and has ID. It's very unlikely, that any future
    implementation of pools won't be able to have ID, thus proceeding
    without pool having ID is just complicating work for ourselves.
    
    Change-Id: Icb688c24e9105850e70291a67d7fcc129773a9ca
    Bug-Url: https://bugzilla.redhat.com/1395462
    Signed-off-by: Martin Mucha <mmucha@redhat.com>
    Martin Mucha authored and tnisan committed Mar 15, 2017
    Configuration menu
    Copy the full SHA
    8aa7bf3 View commit details
    Browse the repository at this point in the history
  6. core: when moving VM to another cluster, update its macs…

    when moving VM to another cluster, and those clusters has set
    different Mac Pools set, then macs needs to be updated. All macs of
    such VM needs to be removed from Mac Pool of source Cluster and
    added to Mac Pool of target cluster.
    
    If target Mac Pool disallows duplicates and there's clash, operation
    will be suspended.
    
    Change-Id: Ic57ff7ac249946fa0eafc6034bada1ee86d31b7f
    Bug-Url: https://bugzilla.redhat.com/1410440
    Signed-off-by: Martin Mucha <mmucha@redhat.com>
    Martin Mucha authored and tnisan committed Mar 15, 2017
    Configuration menu
    Copy the full SHA
    cdb64a7 View commit details
    Browse the repository at this point in the history
  7. core: avoid unlocking in-preview snapshot on failure

    Failure during RestoreAllSnapshotsCommand execution unlocks the
    'In Preview' snapshot while keeping the 'Active VM before the
    preview' snapshot. This allows previewing the snapshot again,
    thus, making another 'preview' snapshot and a lot of mess.
    
    The suggested solution is to simply avoid unlocking the snapshot
    on endWithFailure.
    
    Since the current logic exists from 2013 and seems invalid now,
    I'm open for any other suggestions :)
    
    Change-Id: I94c0b30b7621b8831f13815b3fdd8cdbce0117b7
    Bug-Url: https://bugzilla.redhat.com/1427104
    Signed-off-by: Daniel Erez <derez@redhat.com>
    danielerez authored and tnisan committed Mar 15, 2017
    Configuration menu
    Copy the full SHA
    d1252be View commit details
    Browse the repository at this point in the history
  8. webadmin: Max memory doesn't follow memory if VM is UP

    ... since in that case users often want to perform a memory hot plug and
    prefer max memory to remain untouched rather than being adjusted for the
    next run.
    
    Change-Id: I64bc7941c37cca667586c56e32ef3000c6c6efe6
    Bug-Url: https://bugzilla.redhat.com/1430451
    Signed-off-by: Jakub Niedermertl <jniederm@redhat.com>
    jniederm committed Mar 15, 2017
    Configuration menu
    Copy the full SHA
    0d1662a View commit details
    Browse the repository at this point in the history

Commits on Mar 16, 2017

  1. core: Support QCOW compat update for disk update

    Updating QCOW compat version for QCOW disk was only supported through
    the API of disks and storage domains.
    
    This patch adds the ability to also update the QCOW compat through the
    diskattachments API update by adding logic to UpdateVmDiskCommand.
    
    Change-Id: I5d038b84089d2775e79c656f6f4647bcbf5d61f2
    Bug-Url: https://bugzilla.redhat.com/1429437
    Signed-off-by: Maor Lipchuk <mlipchuk@redhat.com>
    Maor Lipchuk authored and tnisan committed Mar 16, 2017
    Configuration menu
    Copy the full SHA
    448de17 View commit details
    Browse the repository at this point in the history

Commits on Mar 19, 2017

  1. core: removed indescriptive and incorrect message

    • the message says: "The VM status must be Down or Up.", but that's
    not correct, since more states are acceptable.
    
    • current state is not reported
    
    Change-Id: I9e4548d837d2a104024a74bf976bc5c28c87bd92
    Bug-Url: https://bugzilla.redhat.com/1417217
    Signed-off-by: Martin Mucha <mmucha@redhat.com>
    Martin Mucha authored and tnisan committed Mar 19, 2017
    Configuration menu
    Copy the full SHA
    a822644 View commit details
    Browse the repository at this point in the history
  2. core: added states when nic can be activated or deactivated

    add VMStatus.PoweringDown, VMStatus.PoweringUp as valid states for
    ActivateDeactivateVmNicCommand.
    
    added VmStatus.PoweringUP as valid state to call hotplug
    
    Bug-Url: https://bugzilla.redhat.com/1417217
    Change-Id: I6617bddfa2710241fc0c2458aa0fdf51a9be2ae1
    Signed-off-by: Martin Mucha <mmucha@redhat.com>
    Martin Mucha authored and tnisan committed Mar 19, 2017
    Configuration menu
    Copy the full SHA
    679dcc5 View commit details
    Browse the repository at this point in the history
  3. core: Migration and host refreshes must not mingle

    added locking to block possibility of 2 refreshes running at the same
    time.
    
    Bug-Url: https://bugzilla.redhat.com/1417217
    Change-Id: I116a505cb23cae12b381ec11f54a722fea0117c0
    Signed-off-by: Martin Mucha <mmucha@redhat.com>
    Martin Mucha authored and tnisan committed Mar 19, 2017
    Configuration menu
    Copy the full SHA
    e099163 View commit details
    Browse the repository at this point in the history

Commits on Mar 20, 2017

  1. packaging: setup: engine-upgrade-check should note user

    engine-upgrade-check will now note user that even though no update
    to the setup package is available, the system may not be up to date
    if the engine-setup wasn't run following the yum update.
    
    Change-Id: I32e56778805394f9dfcfc6d5bd5d3bada09161a5
    Signed-off-by: Lev Veyde <lveyde@redhat.com>
    Bug-Url: https://bugzilla.redhat.com/1324532
    lveyde committed Mar 20, 2017
    Configuration menu
    Copy the full SHA
    4cea021 View commit details
    Browse the repository at this point in the history
  2. core: Add job fence on amend.

    VDSM deletes jobs once VDSM is being restarted therefore the
    engine should treat those jobs as failed and fence the job once
    those are not fetched from VDSM.
    
    Change-Id: I32719700bfdbdfed0cd1b3afa6431f47dab6cd68
    Bug-Url: https://bugzilla.redhat.com/1432067
    Signed-off-by: Maor Lipchuk <mlipchuk@redhat.com>
    Maor Lipchuk authored and tnisan committed Mar 20, 2017
    Configuration menu
    Copy the full SHA
    acd0a09 View commit details
    Browse the repository at this point in the history
  3. core: Use set for disk ids fetched from VM's OVF.

    Since VM OVF might contain several nodes of the same disk in case of a
    snapshot we should use set instead of list since the use of this method
    is only used for disk ids.
    
    Change-Id: I710b5fdfb126c7ea75838c5f98f1a8e707211356
    Bug-Url: https://bugzilla.redhat.com/1430865
    Signed-off-by: Maor Lipchuk <mlipchuk@redhat.com>
    Maor Lipchuk authored and tnisan committed Mar 20, 2017
    Configuration menu
    Copy the full SHA
    4c978b2 View commit details
    Browse the repository at this point in the history
  4. core: Use no overcommit as the default cluster memory policy

    New clusters now have ballooning and KSM disabled by default and
    overcommit set to 100% (no overcommit) by default.
    
    Reason:
    
    Configuring overcommit without ballooning or KSM does not make any
    sense. It would affect scheduling (the engine would think it has more
    memory), but nothing would actually free the memory.
    
    Bug-Url: https://bugzilla.redhat.com/1433961
    Change-Id: I972eb2f6bd9e82853361c7856137ece9775fc394
    Signed-off-by: Martin Sivak <msivak@redhat.com>
    MarSik authored and tnisan committed Mar 20, 2017
    Configuration menu
    Copy the full SHA
    a245913 View commit details
    Browse the repository at this point in the history

Commits on Mar 21, 2017

  1. core: USB devices correctly copied from Blank

    ... template even if blank template has non-default settings.
    
    The code silently assumed Blank template USB configuration was always
    set to DISABLED.
    
    Change-Id: I7bdf34e4293c6f979b4d0a35fe7e414d3b68fba6
    Bug-Url: https://bugzilla.redhat.com/1430009
    Signed-off-by: Jakub Niedermertl <jniederm@redhat.com>
    jniederm authored and tnisan committed Mar 21, 2017
    Configuration menu
    Copy the full SHA
    f086666 View commit details
    Browse the repository at this point in the history
  2. Revert "core: Prevert running sparsify on disks on local storage"

    This reverts commit 11c4811.
    
    Change-Id: I5695423cd50a6cb0c2b981baadc01c5840de51b6
    Bug-Url: https://bugzilla.redhat.com/1432081
    Signed-off-by: Fred Rolland <frolland@redhat.com>
    rollandf committed Mar 21, 2017
    Configuration menu
    Copy the full SHA
    4d8c94e View commit details
    Browse the repository at this point in the history
  3. engine: enable HSM data operation on local storage

    In this patch, we enable the HSM data path operation also on
    local storage DC.
    
    Change-Id: I14a253cccd64aa4db3592543a79be55a6f219aed
    Bug-Url: https://bugzilla.redhat.com/1432081
    Signed-off-by: Fred Rolland <frolland@redhat.com>
    rollandf committed Mar 21, 2017
    Configuration menu
    Copy the full SHA
    a81dc0f View commit details
    Browse the repository at this point in the history
  4. core: CloneImageGroupVolumesStructure - determineSourceImageGroup()

    This patch changes the determineSourceImageGroup() method -
    
    1. removes wrong equality by reference which was almost never true.
    2. reduces an sql query, if both the parent and the template image were
    Guid.Empty a db query was performed and a Guid.Empty was used as the
    image group id, we can save that query.
    
    Change-Id: I362132b991e73ae2192b3271040dbb71e028adba
    Bug-Url: https://bugzilla.redhat.com/1429170
    Signed-off-by: Liron Aravot <laravot@redhat.com>
    laravot authored and tnisan committed Mar 21, 2017
    Configuration menu
    Copy the full SHA
    da7bcd1 View commit details
    Browse the repository at this point in the history
  5. core: set override firewall to true by default

    This patch add the default value of override firewall definitions when
    adding new host or reinstalling existing one to true.
    
    Change-Id: I960ad9acbd0e2d7a5505af38e064b14f143c96d5
    Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1367107
    Signed-off-by: Ondra Machacek <omachace@redhat.com>
    (cherry picked from commit 158211b)
    machacekondra authored and tnisan committed Mar 21, 2017
    Configuration menu
    Copy the full SHA
    5b9394c View commit details
    Browse the repository at this point in the history
  6. webadmin: Add memory units to ApplicationMessages

    Added "Bytes", "KB", "MB" and "GB" to ApplicationMessages.properties
    which allows localization.
    
    Change-Id: Ib8f17ef113e6ce61f11973965c5204e090790969
    Bug-Url: https://bugzilla.redhat.com/1422428
    Signed-off-by: Andrej Krejcir <akrejcir@redhat.com>
    akrejcir committed Mar 21, 2017
    Configuration menu
    Copy the full SHA
    64c6be8 View commit details
    Browse the repository at this point in the history

Commits on Mar 22, 2017

  1. core: download image - validate domain status

    Validate domain's status on TransferDiskImageCommand.
    
    Change-Id: Id89cce938315ee5178b78e934585640f6422c860
    Bug-Url: https://bugzilla.redhat.com/1432079
    Bug-Url: https://bugzilla.redhat.com/1432089
    Signed-off-by: Daniel Erez <derez@redhat.com>
    danielerez authored and tnisan committed Mar 22, 2017
    Configuration menu
    Copy the full SHA
    1b06403 View commit details
    Browse the repository at this point in the history
  2. core: increase default value of UploadImageXhrTimeoutInSeconds

    Increasing the default value of UploadImageXhrTimeoutInSeconds
    (i.e. XMLHTTPRequest.timeout property) to a more 'reasonable'
    one, from 10 seconds to 120 seconds.
    
    As the default chunk size is 8192KB, it means that each request
    would timeout if the upload rate is slower than 819.2KB per second.
    
    Change-Id: If5d6cdf82041ae830c8e6bb0745a4f79d8d87a97
    Bug-Url: https://bugzilla.redhat.com/1430243
    Signed-off-by: Daniel Erez <derez@redhat.com>
    danielerez authored and tnisan committed Mar 22, 2017
    Configuration menu
    Copy the full SHA
    9c8f5ae View commit details
    Browse the repository at this point in the history
  3. restapi: Avoid place holders that aren't replaced

    The API documentation uses place holders like {engine-name} and
    {product-name} that should be replaced by the corresponding values
    during the build process. But this doesn't work correctly because the
    HTML generator isn't invoked with the right parameters. That can be
    fixed adding the right parameters, or changing the build process so that
    it uses the HTML code already included in the artifacts of the model
    project. That has the same effect and reduces a bit the time needed for
    the build. Note that this mechanism is already used for
    '/ovirt-engine/apidoc', this patch just uses the same mechanism for
    '/ovirt-engine/api/model', which is now deprecated.
    
    Change-Id: I2f42a0f5d832f7247151cd721dc47c0d2112d3c3
    Bug-Url: https://bugzilla.redhat.com/1434056
    Signed-off-by: Juan Hernandez <juan.hernandez@redhat.com>
    (cherry picked from commit 6aa40f0)
    jhernand committed Mar 22, 2017
    Configuration menu
    Copy the full SHA
    a26ed09 View commit details
    Browse the repository at this point in the history

Commits on Mar 23, 2017

  1. scheduler: make task queue size configurable

    We need to make queue size used by thread executor configurable so it
    could be increased for bigger environments. To preserve the behavior we
    want to block when a queue is full.
    
    
    Bug-Url: https://bugzilla.redhat.com/1429534
    Change-Id: Id9dc99637d73c43ad37768bc8bcdd1be8b9cb327
    Signed-off-by: Piotr Kliczewski <piotr.kliczewski@gmail.com>
    pkliczewski authored and tnisan committed Mar 23, 2017
    Configuration menu
    Copy the full SHA
    2ea56c4 View commit details
    Browse the repository at this point in the history
  2. core: update cluster fails when VM/Template have wrong values

    Failing on the first failed upgrade VM/Template is not informative
    for the user.
    Instead we don't fail on the first VM/Template failed to upgrade,
    we log each VM/Template and the reason in the audit log and preset
    all of the failing VMs/Templates for the user to review.
    
    Change-Id: I0968aee9c8388cd3e1352a64035eaae8ba83f28b
    https://bugzilla.redhat.com/1418641
    Signed-off-by: Shahar Havivi <shaharh@redhat.com>
    shaharha authored and tnisan committed Mar 23, 2017
    Configuration menu
    Copy the full SHA
    012ce44 View commit details
    Browse the repository at this point in the history
  3. core: Refactor qcow compat update.

    Refactor qcow compat update to use protected method for update.
    
    Change-Id: I4f32b7757eef012d9542db4b9c8a0798134ef920
    Bug-Url: https://bugzilla.redhat.com/1433052
    Signed-off-by: Maor Lipchuk <mlipchuk@redhat.com>
    Maor Lipchuk committed Mar 23, 2017
    Configuration menu
    Copy the full SHA
    378d78c View commit details
    Browse the repository at this point in the history

Commits on Mar 24, 2017

  1. core: getQemuImageInfo should not call teardown on live snapshot.

    Once a live snapshot is performed the volume should already be active
    in the host and therefore should not be prepared and teardown when
    executing getQemuImageInfo.
    
    The fix for this is to check whether the VM, the disks is attached to,
    is running, get the host that is running on and call getQemuImageInfo
    with that host without the prepare and teardown.
    
    Change-Id: Iadc5d353744cffab8575e5dc4945b707cdca7d59
    Bug-Url: https://bugzilla.redhat.com/1433052
    Signed-off-by: Maor Lipchuk <mlipchuk@redhat.com>
    Maor Lipchuk authored and pkliczewski committed Mar 24, 2017
    Configuration menu
    Copy the full SHA
    d91395d View commit details
    Browse the repository at this point in the history
  2. tools: Remove VdsmSSLProtocol from engine-config options

    Removes VdsmSSLProtocol from engine-config options as there's no reason
    for users to change this value (engine will always negotiate highest
    available TLS version supported by VDSM on the host).
    
    Change-Id: If66d9c26b6ca7ab04a17806544fc51d1c0f28b64
    Bug-Url: https://bugzilla.redhat.com/1427790
    Signed-off-by: Martin Perina <mperina@redhat.com>
    mwperina committed Mar 24, 2017
    Configuration menu
    Copy the full SHA
    153cdf2 View commit details
    Browse the repository at this point in the history

Commits on Mar 26, 2017

  1. engine: make NetworkClusterHelper a CDI bean

    * make NetworkClusterHelper methods non-static
    * inject NetworkClusterHelper bean in its user classes instead of
      creating there a new instance of it or using that statically
    * add NetworkClusterHelperTest
    
    Change-Id: I06861e0baefa66b840bda7eeb470f08c31f1252c
    Bug-Url: https://bugzilla.redhat.com/1431412
    Signed-off-by: Yevgeny Zaspitsky <yzaspits@redhat.com>
    Yevgeny Zaspitsky authored and tnisan committed Mar 26, 2017
    Configuration menu
    Copy the full SHA
    72dc256 View commit details
    Browse the repository at this point in the history
  2. engine: extract HostNicsUtil out of GetVdsInterfacesByVdsIdQuery

    Extract the logic from GetVdsInterfacesByVdsIdQuery into HostNicsUtil class,
    in order to enable re-using that easier.
    
    Change-Id: I89f5b3717f93e728178b212302553fb9e1d28f7e
    Bug-Url: https://bugzilla.redhat.com/1431412
    Signed-off-by: Yevgeny Zaspitsky <yzaspits@redhat.com>
    Yevgeny Zaspitsky authored and tnisan committed Mar 26, 2017
    Configuration menu
    Copy the full SHA
    3db9587 View commit details
    Browse the repository at this point in the history
  3. engine: use HostNicsUtil instead of GetVdsInterfacesByVdsId query

    Use HostNicsUtil instead of GetVdsInterfacesByVdsId query
    in NetworkClusterHelper.
    
    Change-Id: I2a64df138487b2ab85df1c88041c69c61b288849
    Bug-Url: https://bugzilla.redhat.com/1431412
    Signed-off-by: Yevgeny Zaspitsky <yzaspits@redhat.com>
    Yevgeny Zaspitsky authored and tnisan committed Mar 26, 2017
    Configuration menu
    Copy the full SHA
    c61ae84 View commit details
    Browse the repository at this point in the history
  4. engine: remove redundant load of NetworkCluster's in UpdateVdsCommand

    Change-Id: I59642de8e33d0c68dfd98dc94e6261a18d1a02b0
    Bug-Url: https://bugzilla.redhat.com/1431228
    Signed-off-by: Yevgeny Zaspitsky <yzaspits@redhat.com>
    Yevgeny Zaspitsky authored and tnisan committed Mar 26, 2017
    Configuration menu
    Copy the full SHA
    507314b View commit details
    Browse the repository at this point in the history
  5. engine: add active hosts caching in NetworkClusterHelper

    Change-Id: I4ca0a3a1d7979ce7017d37cb3dc982464e20be26
    Bug-Url: https://bugzilla.redhat.com/1431228
    Signed-off-by: Yevgeny Zaspitsky <yzaspits@redhat.com>
    Yevgeny Zaspitsky authored and tnisan committed Mar 26, 2017
    Configuration menu
    Copy the full SHA
    1f4fe6e View commit details
    Browse the repository at this point in the history
  6. engine: reuse preliminarily loaded host object in HostNicsUtil

    Change-Id: I1d12c0355b3ec4dcc6072296ced70ed8a446c10c
    Bug-Url: https://bugzilla.redhat.com/1431228
    Signed-off-by: Yevgeny Zaspitsky <yzaspits@redhat.com>
    Yevgeny Zaspitsky authored and tnisan committed Mar 26, 2017
    Configuration menu
    Copy the full SHA
    c8dce04 View commit details
    Browse the repository at this point in the history
  7. engine: update commands to use the new networkClusterHelper.setStatus

    Update command to use the methods that gets a collection of networks
    instead of calling the singular method in a loop.
    
    Change-Id: I41380a5fcdf3cfc57e98e131374974cc96614d5f
    Bug-Url: https://bugzilla.redhat.com/1431228
    Signed-off-by: Yevgeny Zaspitsky <yzaspits@redhat.com>
    Yevgeny Zaspitsky authored and tnisan committed Mar 26, 2017
    Configuration menu
    Copy the full SHA
    093f2f5 View commit details
    Browse the repository at this point in the history
  8. engine: use vdsDynamicDao instead of vdsDao

    Avoid using vdsDao as it uses very complicated vds view.
    
    Change-Id: I54eaaf3cb49296da8378eab37504be0064e3810b
    Bug-Url: https://bugzilla.redhat.com/1431228
    Signed-off-by: Yevgeny Zaspitsky <yzaspits@redhat.com>
    Yevgeny Zaspitsky authored and tnisan committed Mar 26, 2017
    Configuration menu
    Copy the full SHA
    558be7a View commit details
    Browse the repository at this point in the history
  9. engine: add shortcut in DefaultReadDao.get

    Add shortcut in DefaultReadDao.get for input null value.
    
    Change-Id: I7dddaf2890270a0789a6176f6f4ac20d246cf688
    Bug-Url: https://bugzilla.redhat.com/1431228
    Signed-off-by: Yevgeny Zaspitsky <yzaspits@redhat.com>
    Yevgeny Zaspitsky authored and tnisan committed Mar 26, 2017
    Configuration menu
    Copy the full SHA
    26e3f6d View commit details
    Browse the repository at this point in the history
  10. engine: replace javax.ejb.Singleton with javax.inject.Singleton

    Change-Id: If18c0f1307d47508e944942461745cb7bd859658
    Bug-Url: https://bugzilla.redhat.com/1431412
    Signed-off-by: Yevgeny Zaspitsky <yzaspits@redhat.com>
    Yevgeny Zaspitsky authored and tnisan committed Mar 26, 2017
    Configuration menu
    Copy the full SHA
    f20aece View commit details
    Browse the repository at this point in the history
  11. core: replace javax.ejb.Singleton with javax.inject.Singleton

    Change-Id: Idf5ba453840bfb0e9c0f52ea5757b577e77f9ca7
    Bug-Url: https://bugzilla.redhat.com/1431412
    Signed-off-by: Martin Mucha <mmucha@redhat.com>
    Martin Mucha authored and tnisan committed Mar 26, 2017
    Configuration menu
    Copy the full SHA
    d146aee View commit details
    Browse the repository at this point in the history

Commits on Mar 27, 2017

  1. packaging: Update only invalid values in postgres.conf

    Motivation:
    The updater of the conf was changing even valid config item. We want to
    leave those in place in case someone already took care of that and tweak
    the system correctly and not override valid values.
    
    Change:
    Make sure valid values are not counted for edition.
    
    Result:
    Valid pg values are not amended. If postgres had autovacuum_max_workers
    set to 8 and valid value is >= 6 then it is left untouched.
    
    Change-Id: Id06bce50b72544e2f9ee72942a3f6344393f87ce
    Bug-Url: https://bugzilla.redhat.com/1388433
    Signed-off-by: Roy Golan <rgolan@redhat.com>
    rgolangh authored and tnisan committed Mar 27, 2017
    Configuration menu
    Copy the full SHA
    321c7a5 View commit details
    Browse the repository at this point in the history
  2. core: prevent restoring memory from unsupported version

    Add a validation to the preview-snapshot flow that prevents the user from
    restoring a snapshot with memory that was taken in a version that is no
    longer supported.
    
    While it may be debatable, we choose to block the user from trying to
    restore the memory of such a snapshot in order to prevent major problems
    in the front-end that are caused by that operation.
    
    Change-Id: Ic6a7507e9a266efe8881b2b048795de1c01cf23d
    Bug-Url: https://bugzilla.redhat.com/1434941
    Signed-off-by: Arik Hadas <ahadas@redhat.com>
    ahadas authored and tnisan committed Mar 27, 2017
    Configuration menu
    Copy the full SHA
    4c8a10c View commit details
    Browse the repository at this point in the history
  3. core: Remove compat from OVF.

    Using compat version in the OVF might be misleading since the compat
    version of a QCOW volume is determined internally by the
    storage domain's version.
    
    Showing a QCOW version in the OVF might mislead
    the user to think that previewing this snapshot
    will create a volume with this QCOW compat.
    
    Change-Id: I02cf7913653d095012d2f001921dda0e16e8354d
    Bug-Url: https://bugzilla.redhat.com/1430447
    Bug-Url: https://bugzilla.redhat.com/1432493
    Signed-off-by: Maor Lipchuk <mlipchuk@redhat.com>
    Maor Lipchuk authored and tnisan committed Mar 27, 2017
    Configuration menu
    Copy the full SHA
    fff336a View commit details
    Browse the repository at this point in the history
  4. he: Notify user to redeploy HE hosts after recovery.

    As after disaster recovery we could have old HE
    hosts still running, having duplicate SPM_IDs
    and claiming to be an SPM, we need to tell
    user to immediately redeploy those hosts
    right after recovery.
    
    Change-Id: I89e7fa4eb6f0097bbe4c0f46d06dd4880aa7f77d
    Bug-Url: https://bugzilla.redhat.com/1417518
    Signed-off-by: Denis Chaplygin <dchaplyg@redhat.com>
    Denis Chaplygin authored and tnisan committed Mar 27, 2017
    Configuration menu
    Copy the full SHA
    fe4d33f View commit details
    Browse the repository at this point in the history
  5. core: Fix update of video devices in UpdateVmTemplateCommand

    The proper VmDeviceUtils#updateVideoDevices was only called from
    UpdateVmCommand and UpdateVmTemplateCommand contained only a snippet of code
    that covered just a small fraction of all the possible flows. Replaced this
    handling in UpdateVmTemplateCommand with proper call to
    VmDeviceUtils#updateVideoDevices.
    
    Change-Id: Id4c139248fdfa0774f883d9737bcbc2c627d2cff
    Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1434161
    Signed-off-by: Martin Betak <mbetak@redhat.com>
    matobet authored and tnisan committed Mar 27, 2017
    Configuration menu
    Copy the full SHA
    9c4428a View commit details
    Browse the repository at this point in the history
  6. core: Change the limit of LVs per VG to 1000

    Change-Id: Ie192c8ec7619fb33156992b01bc03ada958ac640
    Bug-Url: https://bugzilla.redhat.com/1436161
    Signed-off-by: Tal Nisan <tnisan@redhat.com>
    tnisan committed Mar 27, 2017
    Configuration menu
    Copy the full SHA
    aadc379 View commit details
    Browse the repository at this point in the history
  7. engine: Hide tracebacks in engine.log for non responsive host

    When host is unreachable there are
    exceptions in the engine log.
    
    Change-Id: If78f69334f5a94fd0f2a9c26aa30581d99fab5f9
    Bug-Url: https://bugzilla.redhat.com/1414787
    Signed-off-by: Ravi Nori <rnori@redhat.com>
    Ravi Nori authored and tnisan committed Mar 27, 2017
    Configuration menu
    Copy the full SHA
    e1f9c32 View commit details
    Browse the repository at this point in the history

Commits on Mar 28, 2017

  1. packaging: Extract the value correctly from postgresql.conf

    Motivation:
    Updating postgres.conf using setup plugin fails to catch floating point changes
    The root cause it the regular expression that extracts a key=value and
    for comparison
    
    Change:
    The regexp is change to take every char till end of line as value.
    
    Result:
    Instead of extracting 0 for 0.5 it now extracts correctly.
    Floating points and all other values are extracted correctly.
    
    Change-Id: I6db33a9d7bd3e87d537fd03d5032bf73fa844dd7
    Bug-Url: https://bugzilla.redhat.com/1388433
    Signed-off-by: Roy Golan <rgolan@redhat.com>
    rgolangh authored and tnisan committed Mar 28, 2017
    Configuration menu
    Copy the full SHA
    34c9d81 View commit details
    Browse the repository at this point in the history
  2. core: CLUSTER_ADMIN role misses ActionGroup CONFIGURE_MAC_POOL

    Change-Id: If690d8d6dac125297b5e0597441c289be138b06c
    Bug-Url: https://bugzilla.redhat.com/1428754
    Signed-off-by: Martin Mucha <mmucha@redhat.com>
    Martin Mucha authored and tnisan committed Mar 28, 2017
    Configuration menu
    Copy the full SHA
    205094b View commit details
    Browse the repository at this point in the history
  3. jsonrpc: Version bump

    Change-Id: I00ace8594d5a9213f882b9811f954fcea9ed5432
    Signed-off-by: Piotr Kliczewski <piotr.kliczewski@gmail.com>
    pkliczewski committed Mar 28, 2017
    Configuration menu
    Copy the full SHA
    72bdf0e View commit details
    Browse the repository at this point in the history
  4. core: Get migration downtime from event

    Get migration downtime from VM_migration_status event and display it in
    audit log message when migration ends.
    
    This backport includes fix (I253ca4dc54cd5d687e82be55949759abed2972fd)
    by Allon Mureinik of MigrateVmCommandTest.
    
    Change-Id: Id77bd2906b3dff119e28ade0256ca8ae3432d5de
    Bug-Url: https://bugzilla.redhat.com/1427566
    Signed-off-by: Shmuel Melamud <smelamud@redhat.com>
    smelamud authored and tnisan committed Mar 28, 2017
    Configuration menu
    Copy the full SHA
    2c0090f View commit details
    Browse the repository at this point in the history

Commits on Mar 29, 2017

  1. core: Introducing virt jobs

    Added new type of host: jobs HostJobType.virt. Created HostJobCallback
    class as abstract superclass for all types of host job callbacks.
    Created VirtJobCallback for polling virt jobs.
    
    Change-Id: I9dde05c066f5f96a3f3fc66cfcfd818dd623d213
    Bug-Url: https://bugzilla.redhat.com/1436219
    Signed-off-by: Shmuel Melamud <smelamud@redhat.com>
    smelamud authored and tnisan committed Mar 29, 2017
    Configuration menu
    Copy the full SHA
    b9f0d1e View commit details
    Browse the repository at this point in the history
  2. core: Introducing UpdateVolumeCommand

    Added UpdateVolumeCommand that allows to change volume metadata. The
    supported metadata that can be changed:
    - description of the volume
    - volume type (allows to make a leaf volume shared)
    - legality (legal/illegal)
    - generation
    
    Added UpdateAllTemplateDisksCommand that runs UpdateVolumeCommand on all
    disks of a template. This command is designed to be called from
    AddVmTemplateCommand and it works only on non-shared volumes of a
    template.
    
    Change-Id: Ic5ba999df76507f87767fa5a23278779ce453ffd
    Bug-Url: https://bugzilla.redhat.com/1436219
    Signed-off-by: Shmuel Melamud <smelamud@redhat.com>
    smelamud authored and tnisan committed Mar 29, 2017
    Configuration menu
    Copy the full SHA
    6218f98 View commit details
    Browse the repository at this point in the history
  3. core: Introducing CreateAllTemplateDisksCommand

    Adding CreateAllTemplateDisksCommand that creates all disks needed for
    creating a template. This command is called from AddVmTemplateCommand
    instead of calling CreateImageTemplateCommand and
    CloneSingleCinderDiskCommand directly.
    
    AddVmTemplateFromSnapshotCommand runs
    CreateAllTemplateDisksFromSnapshotCommand for the same purpose.
    
    CreateAllTemplateDisksCommand incorporates callback that is needed to
    poll the child commands that create disk images. The callback in
    AddVmTemplateCommand orchestrates the process of template creation,
    including post-processing of template disk images, which will be added
    in the next patches.
    
    Change-Id: I6fc7e46df640a5ec0c0c7bc0e3f512e16d6969ae
    Bug-Url: https://bugzilla.redhat.com/1436219
    Signed-off-by: Shmuel Melamud <smelamud@redhat.com>
    smelamud authored and tnisan committed Mar 29, 2017
    Configuration menu
    Copy the full SHA
    7fcaa9b View commit details
    Browse the repository at this point in the history
  4. core: Introducing SealVmTemplateCommand

    Added SealVmTemplateCommand to execute virt-sysprep on disks connected
    to a VM.  The command is intended to be run from AddVmTemplateCommand.
    
    Added SealDisksVDSCommand that executes virt-sysprep over collection of
    disk images.
    
    virt-sysprep erases all host-specific configuration from the filesystem:
    SSH keys, UDEV rules, MAC addresses, system ID, hostname etc., thus
    making easy to use a VM as template without manual intervention.
    
    Change-Id: I36361d552b02affa63c2f07e64e6e0bcb44187eb
    Bug-Url: https://bugzilla.redhat.com/1436219
    Signed-off-by: Shmuel Melamud <smelamud@redhat.com>
    smelamud authored and tnisan committed Mar 29, 2017
    Configuration menu
    Copy the full SHA
    d552a86 View commit details
    Browse the repository at this point in the history
  5. core: New cluster has disabled overcommit by default (for real now)

    Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1433961
    Change-Id: I1e69f43fc5b3ed9d4a1757fb16c094edb2e14abd
    Signed-off-by: Martin Sivak <msivak@redhat.com>
    MarSik authored and tnisan committed Mar 29, 2017
    Configuration menu
    Copy the full SHA
    5c94074 View commit details
    Browse the repository at this point in the history
  6. packaging: Introduce unit test

    Motivation:
    Writing setup plugins can be non-trivial tasks as it may handle certain os
    scenario, files, external deps that may not exist during the development stage.
    
    Change:
    Add a packaging/setup/tests directory with a structure which is
    identical to the code you test. e.g
    
    source to test:
    packaging/setup/
            ovirt_engine_setup/engine_common/database.py
    
    test file:
    packaging/setup/tests
            ovirt_engine_setup/engine_common/test_database.py
    
    The test added is covering the behaviour of the regular expression that
    extracts the key=val from postgres.conf file.
    
    Result:
    - Invoke all test from with a script:
    automation/packaging-setup-tests.sh
    - ovirt jenkins will run it as part of check-patch phase of any patch
    
    Change-Id: I7f931000b91c35f44511b568ccb6cac432e85a06
    Bug-Url: https://bugzilla.redhat.com/1388433
    Signed-off-by: Roy Golan <rgolan@redhat.com>
    rgolangh authored and tnisan committed Mar 29, 2017
    Configuration menu
    Copy the full SHA
    322c63c View commit details
    Browse the repository at this point in the history
  7. core: Add template sealing to AddVmTemplateCommand

    If sealTemplate flag in AddVmTemplateParameters is set to true, the
    following steps are performed:
    
    1. Create a template with volumes of volume type = LEAF (instead of
       SHARED in regular situation);
    2. Make the volumes ILLEGAL;
    3. Seal the volumes with SealVmTemplateCommand;
    4. Make the volumes LEGAL and SHARED.
    
    Change-Id: I04ad00ab93051abe54a3fb8d3277eab02718d008
    Bug-Url: https://bugzilla.redhat.com/1436219
    Signed-off-by: Shmuel Melamud <smelamud@redhat.com>
    smelamud authored and tnisan committed Mar 29, 2017
    Configuration menu
    Copy the full SHA
    4905f57 View commit details
    Browse the repository at this point in the history
  8. ui: Seal Template checkbox in Make Template dialog

    Added 'Seal Template' checkbox in Make Template dialog. When the
    checkbox checked, the template will be sealed immediately after
    creation. Sealing is performed with virt-sysprep tool.
    
    virt-sysprep erases all host-specific configuration from the filesystem:
    SSH keys, UDEV rules, MAC addresses, system ID, hostname etc., thus
    making it easy to use a VM as template without manual intervention.
    
    Change-Id: Iee7b7eef27fce63116b85a2bafc01428287c94aa
    Bug-Url: https://bugzilla.redhat.com/1436219
    Signed-off-by: Shmuel Melamud <smelamud@redhat.com>
    smelamud authored and tnisan committed Mar 29, 2017
    Configuration menu
    Copy the full SHA
    dae1856 View commit details
    Browse the repository at this point in the history
  9. core: Add exclusive locks to AddVmTemplateCommand

    Add exclusive locks to exclude possible race conditions while creating
    a VM template and sealing it:
    
    * Lock name of the template (except the case when version of an
      existing template is being created);
    * Lock the template;
    * Lock all disks of the template.
    
    The added locks are kept till the end of the command.
    
    Change-Id: I55a78a2c416b3d06ebf8f17c32c81690ca436201
    Bug-Url: https://bugzilla.redhat.com/1436219
    Signed-off-by: Shmuel Melamud <smelamud@redhat.com>
    smelamud authored and tnisan committed Mar 29, 2017
    Configuration menu
    Copy the full SHA
    5e54e0a View commit details
    Browse the repository at this point in the history
  10. core: fix a regression on import image as template

    Recent changes in the add-template flow, to support sealing of the
    template, caused a regression in the flow of importing an image from
    glance as a template.
    
    Previously, the AddVmTemplate command was not async in this flow (as the
    images already exist in the storage domain). Now, we create a callback
    anyway which exposes a bug in the detection of whether the VM that the
    template is based on exists in the database or not.
    
    This patch provides a fix for this.
    
    Change-Id: I3c61c28be70c1b394b94fac985ce840777035962
    Bug-Url: https://bugzilla.redhat.com/1436219
    Signed-off-by: Arik Hadas <ahadas@redhat.com>
    ahadas authored and tnisan committed Mar 29, 2017
    Configuration menu
    Copy the full SHA
    e2fb116 View commit details
    Browse the repository at this point in the history

Commits on Mar 30, 2017

  1. aaa: SSO token used for the API expires when running only queries

    When tokens with sso scope ovirt-app-api
    is used to execute queries it should refresh
    the session. If the scope contains the webadmin
    scope ovirt-app-admin or userportal scope
    ovirt-app-portal the queries should not refresh
    the session.
    
    Change-Id: Ida5f545c1b505f429fd25da09a9570a1bd71adfb
    Bug-Url: https://bugzilla.redhat.com/1434605
    Signed-off-by: Ravi Nori <rnori@redhat.com>
    Ravi Nori authored and tnisan committed Mar 30, 2017
    Configuration menu
    Copy the full SHA
    abb3640 View commit details
    Browse the repository at this point in the history
  2. aaa: Use engine FQDN even for engine <-> SSO communication

    Use engine FQDN in ENGINE_SSO_SERVICE_URL instead of localhost
    even though that is used only for communication between engine
    and SSO module
    
    Change-Id: I257ade69545e46c3dfd039e6ab7354b8bf37c47b
    Bug-Url: https://bugzilla.redhat.com/1426027
    Signed-off-by: Ravi Nori <rnori@redhat.com>
    (cherry picked from commit ed3e17f)
    Ravi Nori authored and tnisan committed Mar 30, 2017
    Configuration menu
    Copy the full SHA
    f0edbcb View commit details
    Browse the repository at this point in the history
  3. webadmin: extract duplicated code in SanStorageModelBase

    Change-Id: I8a5a07b7566725bf76a01404cd1ede3d3db9474c
    Related-To: https://bugzilla.redhat.com/1436160
    Signed-off-by: Idan Shaby <ishaby@redhat.com>
    Idan Shaby authored and tnisan committed Mar 30, 2017
    Configuration menu
    Copy the full SHA
    a14cd8e View commit details
    Browse the repository at this point in the history
  4. webadmin: make SanStorageModelBase.getAddedLuns reusable

    getAddedLuns used to return only the newly added luns, without the
    included ones (those which were already selected before).
    This patch adds a new method, getLuns, that receives parameters that
    indicate which luns to return - the added and the included ones.
    
    Change-Id: I67717bd3d9ec8c3332e94c0004f567e52294a264
    Related-To: https://bugzilla.redhat.com/1436160
    Signed-off-by: Idan Shaby <ishaby@redhat.com>
    Idan Shaby authored and tnisan committed Mar 30, 2017
    Configuration menu
    Copy the full SHA
    0e05724 View commit details
    Browse the repository at this point in the history
  5. core: extract lun's discard logic to the LUNs class

    This patch extracts duplicated code about discard support to two new
    methods in Luns: supportsDiscard and hasDiscardZeroesTheDataSupport.
    
    Change-Id: I521ce2f96f074418fce604a4e25ea388860215e1
    Related-To: https://bugzilla.redhat.com/1436160
    Signed-off-by: Idan Shaby <ishaby@redhat.com>
    Idan Shaby authored and tnisan committed Mar 30, 2017
    Configuration menu
    Copy the full SHA
    a7e1f5a View commit details
    Browse the repository at this point in the history
  6. webadmin: improve Discard After Delete UX

    When creating/editing a block storage domain, the user is not warned
    when the value of Discard After Delete (DAD) is illegal (the storage
    domain contains at least one lun that doesn't support discard).
    Since the error comes from the backend, the user doesn't get the chance
    to fix the configuration before the popup is closed.
    
    This patch adds UI verifications for DAD to gain a better UX:
    1. When enabling DAD, or when selecting a lun while DAD is already
    enabled - if the configuration is illegal then a warning message is
    shown above the view.
    2. When clicking on "ok", DAD is validated so that if the configuration
    is illegal then the DAD checkbox is highlighted and the operation is
    blocked in the UI level.
    
    Change-Id: I3024fb3ba46ed568cfa0d9d84c15c416da7e335f
    Bug-Url: https://bugzilla.redhat.com/1436160
    Signed-off-by: Idan Shaby <ishaby@redhat.com>
    Idan Shaby authored and tnisan committed Mar 30, 2017
    Configuration menu
    Copy the full SHA
    178e162 View commit details
    Browse the repository at this point in the history

Commits on Mar 31, 2017

  1. engine: Hide fence agents helper deprecated URL

    Hide fence agents helper deprecated URL until a new one is available
    
    Change-Id: I2804ec864cea6b9ef32ccfe4134c9eb7577884ce
    Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1434019
    Signed-off-by: emesika <emesika@redhat.com>
    (cherry picked from commit bd6d794)
    emesika authored and mwperina committed Mar 31, 2017
    Configuration menu
    Copy the full SHA
    09ef1de View commit details
    Browse the repository at this point in the history
  2. webadmin: change the way of displaying username

    This patch changes the way the name of the user is displayed in
    webadmin.
    
    Now the username is displayed as 'First Last (username)'. Previously
    it was 'First Last (username@authz-name)'. This is valid for permissions
    tabs.
    
    For the 'Users' tab we now display in username column just the username
    without the authorization provider, because authorization provider
    column is just next to username column, so it's redudant information.
    
    Change-Id: I24e6e78b9478e23db088f65d529f5f6e60704bee
    Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1425323
    Signed-off-by: Ondra Machacek <omachace@redhat.com>
    (cherry picked from commit d61aaa1)
    machacekondra authored and pkliczewski committed Mar 31, 2017
    Configuration menu
    Copy the full SHA
    d8eb083 View commit details
    Browse the repository at this point in the history
  3. packaging: services: Detect JBoss version with log level info

    Change-Id: If00a589dac2dd6669eed5982ce82f065f1787e6a
    Bug-Url: https://bugzilla.redhat.com/1329119
    Signed-off-by: Yedidyah Bar David <didi@redhat.com>
    (cherry picked from commit e992227)
    didib authored and pkliczewski committed Mar 31, 2017
    Configuration menu
    Copy the full SHA
    50076f3 View commit details
    Browse the repository at this point in the history
  4. core : Storage domains not showing in search on a DC named with an un…

    …derscore
    
    When data center name has an underscore in them
    the search sql for storage domains for the data
    center is executed with escaped data center name.
    
    This causes issue when the escaped name is used
    in the left hand side of the like clause. When
    the name is used on the left hand side of the
    like clause it does not have to be escaped.
    
    Change-Id: I3049eb2641d7a86b0b857aa9a46376d794d14812
    Bug-Url: https://bugzilla.redhat.com/1409849
    Signed-off-by: Ravi Nori <rnori@redhat.com>
    Ravi Nori authored and pkliczewski committed Mar 31, 2017
    Configuration menu
    Copy the full SHA
    2328ebb View commit details
    Browse the repository at this point in the history
  5. aaa: Use engine FQDN for notification callback

    Use engine FQDN for notification callback
    url which is used by SSO to notify engine
    of logout events.
    
    Change-Id: Iebb8718c63ef8bf07bc0cb0d196e1d77ad0323b7
    Bug-Url: https://bugzilla.redhat.com/1426027
    Signed-off-by: Ravi Nori <rnori@redhat.com>
    Ravi Nori authored and pkliczewski committed Mar 31, 2017
    Configuration menu
    Copy the full SHA
    03e83db View commit details
    Browse the repository at this point in the history
  6. aaa: Localize all user facing sso messages

    All message sent to browser from SSO
    needs to be localized.
    
    Change-Id: I84a56bdf76566da639763e6d22415f6752372f13
    Bug-Url: https://bugzilla.redhat.com/1435140
    Signed-off-by: Ravi Nori <rnori@redhat.com>
    Ravi Nori authored and pkliczewski committed Mar 31, 2017
    Configuration menu
    Copy the full SHA
    b435afd View commit details
    Browse the repository at this point in the history
  7. core, engine, aaa: RestAPI connection fail after time change

    Configure apache http pooling connection
    manager to validate idle connections and
    retry failed requests.
    
    Change-Id: I16876681f0cbf9d4dc36ffbc6d6f9442addc1fa9
    Bug-Url: https://bugzilla.redhat.com/1434326
    Signed-off-by: Ravi Nori <rnori@redhat.com>
    Ravi Nori committed Mar 31, 2017
    Configuration menu
    Copy the full SHA
    2792129 View commit details
    Browse the repository at this point in the history

Commits on Apr 2, 2017

  1. webadmin: import dialog load button

    - The GWT buttons don't like being in a bootstrap grid
      layout, and take up the entire width of the container.
      This patch fixes the buttons in the import dialog.
    
    Change-Id: Icbc0e3592e3581f4bfc5ac100939228a96334edf
    Bug-Url: https://bugzilla.redhat.com/1390271
    Signed-off-by: Alexander Wels <awels@redhat.com>
    awels authored and tnisan committed Apr 2, 2017
    Configuration menu
    Copy the full SHA
    ac9884f View commit details
    Browse the repository at this point in the history
  2. CopyImageGroup/CloneImageGroupVolumesStructure - volume format

    CopyImageGroupCommand generates a destination format for the target disk
    when performing a disk copy. This format is by the command when copying
    a disk with snapshot collapse by passing it to the CopyImage vdsm verb
    or when executing the CopyImageGroupWithData command (spdm flow).
    
    The CopyImageGroupWithData command used that format for creating a
    collapsed volume, but it passed it to CloneImageGroupVolumesStructure
    which is used when cloning the image structure without performing
    collapse.
    
    This patch changes CopyImageGroupWithData and
    CloneImageGroupVolumesStructure to not use the generated format when
    creating the target image without collapse, but use the original volume
    format.
    
    Change-Id: Ie70f847a069a80e3c8e5bc45223da51ef957ed30
    Bug-Url: https://bugzilla.redhat.com/1437383
    Signed-off-by: Liron Aravot <laravot@redhat.com>
    laravot authored and tnisan committed Apr 2, 2017
    Configuration menu
    Copy the full SHA
    3c23108 View commit details
    Browse the repository at this point in the history
  3. CreateImageVDSCommandParams - adding imageType to appendAttributes()

    Change-Id: I1c1f30c1149ad761764d5e720b67caa9a9960c91
    Bug-Url: https://bugzilla.redhat.com/1437383
    Signed-off-by: Liron Aravot <laravot@redhat.com>
    laravot authored and tnisan committed Apr 2, 2017
    Configuration menu
    Copy the full SHA
    9343543 View commit details
    Browse the repository at this point in the history

Commits on Apr 3, 2017

  1. aaa: RestAPI connection fail after time change

    Any failure to cleanup SsoSession due to
    callback notification service unavailability
    or authentication domain unavailability should
    log the error and continue with the flow.
    
    Change-Id: Ia8b685fbd2a62854befd4fce1882f28a85c53252
    Bug-Url: https://bugzilla.redhat.com/1434326
    Signed-off-by: Ravi Nori <rnori@redhat.com>
    Ravi Nori authored and tnisan committed Apr 3, 2017
    Configuration menu
    Copy the full SHA
    f7833bd View commit details
    Browse the repository at this point in the history
  2. packaging: services: Limit engine heap size

    If ENGINE_HEAP_MIN/ENGINE_HEAP_MAX are too high, set them lower.
    
    They are set by default in new setups to be 25% of available memory,
    or 1024MB if machine has < 4096MB, and currently are not changed on
    upgrades. If the machine later on has less memory, or if the engine
    was restored on a machine with less memory, it might fail. So run it
    with lower values and warn in the system log.
    
    Optionally disable this by setting in engine conf:
    ENFORCE_ENGINE_HEAP_PARAMS=true
    
    Bug-Url: https://bugzilla.redhat.com/1329119
    Change-Id: I2f239691893ad36c723444c956fef0fb755e9c43
    Signed-off-by: Yedidyah Bar David <didi@redhat.com>
    (cherry picked from commit cd9d7f2)
    didib authored and tnisan committed Apr 3, 2017
    Configuration menu
    Copy the full SHA
    42521c9 View commit details
    Browse the repository at this point in the history
  3. userportal: replace vm actions Composite with separate columns

    In the extended view VM grid, replace vm action Composite with
    five separate columns. Additionally, replace the old image-based
    icons with new font-awesome versions.
    
    Also reworked the ButtonCell classes to be a little cleaner.
    
    Change-Id: Ieb36934062b105d66a88dd75af22aadd46c5fcdd
    Bug-Url: https://bugzilla.redhat.com/1413899
    Signed-off-by: Greg Sheremeta <gshereme@redhat.com>
    gregsheremeta authored and tnisan committed Apr 3, 2017
    Configuration menu
    Copy the full SHA
    f78f60e View commit details
    Browse the repository at this point in the history
  4. packaging: pythonlib: mem.py: Add M unit

    Bug-Url: https://bugzilla.redhat.com/1329119
    Change-Id: I206fe363a18efd821139b258e790f48db6a5bed3
    Signed-off-by: Yedidyah Bar David <didi@redhat.com>
    didib authored and tnisan committed Apr 3, 2017
    Configuration menu
    Copy the full SHA
    87c657d View commit details
    Browse the repository at this point in the history
  5. core: ImagesHandler - computeCowImageNeededSize()

    When vdsm creates a COW volume with provided initial size the size is
    multiplied by 1.1 to prevent a case in which we won't have enough space.
    If the source is already COW we don't need the additional space.
    
    determineImageInitialSize() is used to calculate the initial size
    and in case that source/dest are both COW divides the space by 1.1 as we
    know that the source used space already includes the COW header.
    
    in change I9358478d9f the check for the source image format was
    mistakenly removed, leading to that even if the source image format is
    RAW we'll divide the initial size by 1.1. As some of the space is used
    by the QCOW header we may fail during the copy as we run out of space.
    
    Change-Id: I54923ca1526c39ee793270c28ace6402a558b04a
    Bug-Url: https://bugzilla.redhat.com/1438260
    Signed-off-by: Liron Aravot <laravot@redhat.com>
    laravot committed Apr 3, 2017
    Configuration menu
    Copy the full SHA
    e3e40a9 View commit details
    Browse the repository at this point in the history

Commits on Apr 4, 2017

  1. engine: spanish locale selection

    - Fixed locale display issue for spanish
    
    Change-Id: I923c96f8cada85efa76ff737926d8a5e4bfd088e
    Bug-Url: https://bugzilla.redhat.com/1432904
    Signed-off-by: Alexander Wels <awels@redhat.com>
    awels authored and tnisan committed Apr 4, 2017
    Configuration menu
    Copy the full SHA
    32a93eb View commit details
    Browse the repository at this point in the history
  2. engine: introduce VdsStaticDao.checkIfExistsHostThatMissesNetworkInCl…

    …uster
    
    Change-Id: I468eca66979272b0bbc35a8bba6bdddf2a5536cf
    Bug-Url: https://bugzilla.redhat.com/1431228
    Signed-off-by: Yevgeny Zaspitsky <yzaspits@redhat.com>
    Yevgeny Zaspitsky authored and tnisan committed Apr 4, 2017
    Configuration menu
    Copy the full SHA
    99b59e1 View commit details
    Browse the repository at this point in the history
  3. engine: introduce VdsDynamicDao.checkIfExistsHostWithStatusInCluster

    Change-Id: Ied011bbe96ecf15e9682cf7e07688339c6f8edd6
    Bug-Url: https://bugzilla.redhat.com/1431228
    Signed-off-by: Yevgeny Zaspitsky <yzaspits@redhat.com>
    Yevgeny Zaspitsky authored and tnisan committed Apr 4, 2017
    Configuration menu
    Copy the full SHA
    6260783 View commit details
    Browse the repository at this point in the history
  4. engine: avoid using HostNicUtils in NetworkClusterHelper

    Change-Id: I45340bffd61af59f2570c05b337fd04206abeacd
    Bug-Url: https://bugzilla.redhat.com/1431228
    Signed-off-by: Yevgeny Zaspitsky <yzaspits@redhat.com>
    Yevgeny Zaspitsky authored and tnisan committed Apr 4, 2017
    Configuration menu
    Copy the full SHA
    3186ba3 View commit details
    Browse the repository at this point in the history
  5. core: Add handling to fix VM's without video devices

    Change-Id: I8cd7f2a35753072353765e4be7d4aca9fba7bee2
    Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1430688
    Signed-off-by: Martin Betak <mbetak@redhat.com>
    matobet authored and tnisan committed Apr 4, 2017
    Configuration menu
    Copy the full SHA
    2626d33 View commit details
    Browse the repository at this point in the history
  6. engine: avoid running ChangeVmCluster upon targetClusterId==null

    Avoid running ChangeVmCluster upon null in targetClusterId
    in MigrateVmCommand.
    
    Change-Id: I3cee23447339fa66810becb47676d104e62c588a
    Bug-Url: https://bugzilla.redhat.com/1436966
    Signed-off-by: Yevgeny Zaspitsky <yzaspits@redhat.com>
    Yevgeny Zaspitsky authored and tnisan committed Apr 4, 2017
    Configuration menu
    Copy the full SHA
    9d9a5fe View commit details
    Browse the repository at this point in the history

Commits on Apr 5, 2017

  1. core: fix wrong selection of emulated machine

    If the VM is set with custom compatibility version and the cluster's
    emulated machine is contained within the supported emulated machines
    for that compatibility version, a different value for the emulated
    machine will be selected which may prevent the VM from starting.
    
    Change-Id: Ib15914c468ad0e2bcaba5bf2916f0a3039a8f342
    Bug-Url: https://bugzilla.redhat.com/1436325
    Signed-off-by: Arik Hadas <ahadas@redhat.com>
    ahadas authored and tnisan committed Apr 5, 2017
    Configuration menu
    Copy the full SHA
    806a964 View commit details
    Browse the repository at this point in the history
  2. core: Vm needs to fail running if custom compatibility version is not…

    … supported.
    
    Change-Id: I2cab1bd8f53c4d6105fe7a3be7bed825e8c23157
    Bug-Url: https://bugzilla.redhat.com/1436577
    Signed-off-by: Shahar Havivi <shaharh@redhat.com>
    shaharha authored and tnisan committed Apr 5, 2017
    Configuration menu
    Copy the full SHA
    9a435f0 View commit details
    Browse the repository at this point in the history
  3. core: Ignore cpu profile premissions for internal commands

    Passes null user id to cpu profile validation methods
    if the command is internal.
    
    Change-Id: I5e6780ff244f89701e5f46a082f8064089693ee0
    Bug-Url: https://bugzilla.redhat.com/1435088
    Signed-off-by: Andrej Krejcir <akrejcir@redhat.com>
    akrejcir committed Apr 5, 2017
    Configuration menu
    Copy the full SHA
    5c8383e View commit details
    Browse the repository at this point in the history
  4. core: Refactor setQcowComapt to use diskImage

    Change-Id: I948795c43e699427238ae71e7cab3188ed13f310
    Bug-Url: https://bugzilla.redhat.com/1438252
    Signed-off-by: Maor Lipchuk <mlipchuk@redhat.com>
    Maor Lipchuk committed Apr 5, 2017
    Configuration menu
    Copy the full SHA
    5a60583 View commit details
    Browse the repository at this point in the history
  5. core: Set qcow compat for snapshots on copy or move

    Set the qcow compat for disk's snapshots on copy or move disk.
    
    Change-Id: Ia1146362e3ebbdd13085449029d8d635cf09e1bb
    Bug-Url: https://bugzilla.redhat.com/1438252
    Signed-off-by: Maor Lipchuk <mlipchuk@redhat.com>
    Maor Lipchuk committed Apr 5, 2017
    Configuration menu
    Copy the full SHA
    b909a9f View commit details
    Browse the repository at this point in the history
  6. core: Remove redundant init of QCOW compat in import

    Since setQcowCompat is now being done in copyImageGroup, there is no
    need for setting qcow compat in import command.
    
    Change-Id: I6628061ad8ff7b53d73e31300c0d883f871f1f25
    Bug-Url: https://bugzilla.redhat.com/1438252
    Signed-off-by: Maor Lipchuk <mlipchuk@redhat.com>
    Maor Lipchuk committed Apr 5, 2017
    Configuration menu
    Copy the full SHA
    ac803e8 View commit details
    Browse the repository at this point in the history
  7. core: Add try catch block on teardown in images handler

    Add try/catch block when calling teardown for image.
    The engine can still use the data fetched from VDSM even if
    the teardown fails to execute.
    
    Change-Id: I439334241f3156492d17e76dbfb4f2d33109367a
    Bug-Url: https://bugzilla.redhat.com/1438252
    Signed-off-by: Maor Lipchuk <mlipchuk@redhat.com>
    Maor Lipchuk committed Apr 5, 2017
    Configuration menu
    Copy the full SHA
    351259e View commit details
    Browse the repository at this point in the history
  8. core: Support qcow2 compat on live move

    Set qcow2 compat version on live move.
    
    Change-Id: Ic89dce0263180ac85179642b6add63fffaceb62a
    Bug-Url: https://bugzilla.redhat.com/1438252
    Signed-off-by: Maor Lipchuk <mlipchuk@redhat.com>
    Maor Lipchuk committed Apr 5, 2017
    Configuration menu
    Copy the full SHA
    a54d719 View commit details
    Browse the repository at this point in the history

Commits on Apr 6, 2017

  1. core: Fix LunDao#removeAll

    The removeAll method uses the procedure defined by
    setProcedureNameForRemove.
    Since it was not called, the removeAll method tried to use the
    standard method by naming convention ("deleteluns"), which, of
    course, does not exist.
    
    This patch adds the missing call to setProcedureNameForRemove in
    LunDaoImpl, a test in LunDaoTest to assure the fix is correct, and
    some fixture data to use in this test.
    
    Change-Id: I7bb32324b2412f03d09277c91fd7dd9f9b32729e
    Bug-Url: https://bugzilla.redhat.com/1439692
    Signed-off-by: Allon Mureinik <amureini@redhat.com>
    mureinik committed Apr 6, 2017
    Configuration menu
    Copy the full SHA
    2413fb6 View commit details
    Browse the repository at this point in the history

Commits on Apr 7, 2017

  1. webadmin: Adjust DashboardDataServlet query cache handling

    Switch dashboard query cache from running at set intervals to waiting for
    a set amount of time between the completion of one and the execution of
    the next. Additionally, if background cache update is enabled (the default),
    cache evistion isn't used. If the cache update is disabled, then cache
    eviction is enabled - allowing the queries to be cached for at least a
    short time.
    
    Change-Id: I0d4cf7d1289232c7d869e47c72b6709a5caf8815
    Bug-Url: https://bugzilla.redhat.com/1438962
    Signed-off-by: Scott J Dickerson <sdickers@redhat.com>
    sjd78 authored and pkliczewski committed Apr 7, 2017
    Configuration menu
    Copy the full SHA
    a1e913e View commit details
    Browse the repository at this point in the history
  2. engine: Ensure snapshot deletion after geo-rep sync

    The temp snapshots created prior to geo-rep should only be
    deleted once the geo-rep checkpoint completes.
    
    setting parentParameters to ensure that
    command is marked completed only when callback completes
    
    Change-Id: I589bdf269c6d0b44a977a6b9f94de43072c49317
    iBug-Url: https://bugzilla.redhat.com/1437865
    Signed-off-by: Sahina Bose <sabose@redhat.com>
    sabose authored and pkliczewski committed Apr 7, 2017
    Configuration menu
    Copy the full SHA
    0521e92 View commit details
    Browse the repository at this point in the history
  3. utils: do not reject tasks

    The usage of RejectedExecutionHandler was not correct and and as a
    result we used ThreadPoolExecutor.AbortPolicy which is default. Using
    ThreadPoolExecutor.CallerRunsPolicy was intended and seems like good
    idea so we need to make sure that we are going to use this policy.
    
    
    Bug-Url: https://bugzilla.redhat.com/1438497
    Change-Id: Icc4ed0b241b0961c49daa9ec29a905a0a15487f2
    Signed-off-by: Piotr Kliczewski <piotr.kliczewski@gmail.com>
    pkliczewski committed Apr 7, 2017
    Configuration menu
    Copy the full SHA
    1792934 View commit details
    Browse the repository at this point in the history
  4. aaa: Empty credentials warning message not localized

    Invalid credential messages should
    be localized.
    
    Change-Id: Ibf1111ce7b87bf6c3412dd45cd67a94ed1df99c9
    Bug-Url: https://bugzilla.redhat.com/1417839
    Signed-off-by: Ravi Nori <rnori@redhat.com>
    Ravi Nori committed Apr 7, 2017
    Configuration menu
    Copy the full SHA
    044eb27 View commit details
    Browse the repository at this point in the history

Commits on Apr 9, 2017

  1. engine: Initial size in copy template disk flow

    The 'determineTotalImageInitialSize' method is use to compute the initial
    size of a disk image based on the source disk image size, including all
    the existing snapshots.
    
    This method calls 'getTotalActualSizeOfDisk' which has a logic based on
    the source Storage Domain.
    
    In 'ImagesHandler.determineTotalImageInitialSize', the Storage Domain
    passed to 'getTotalActualSizeOfDisk' was the destination SD instead of
    the source SD.
    
    This fix is relevant for create VM from template (clone)
    
    Change-Id: I61e42bdb8c70de6bdfcb2b431c8c8ca59fbd665e
    Bug-Url: https://bugzilla.redhat.com/1438691
    Signed-off-by: Fred Rolland <frolland@redhat.com>
    rollandf committed Apr 9, 2017
    Configuration menu
    Copy the full SHA
    3a0aafe View commit details
    Browse the repository at this point in the history
  2. core: NPE when sparsifying a non-attached disk

    Fix an NPE that occured when SparsifyImageCommand is called on a disk
    that is not attached to any VM.
    
    Change-Id: Ia77ff88be9705ecce5080769bbf29861c4a89d4d
    Bug-Url: https://bugzilla.redhat.com/1431596
    Signed-off-by: Shmuel Melamud <smelamud@redhat.com>
    smelamud authored and tnisan committed Apr 9, 2017
    Configuration menu
    Copy the full SHA
    f2cb658 View commit details
    Browse the repository at this point in the history
  3. core: Initialize SparsifyImageCommand#vmsForDisk

    Initialize SparsifyImageCommand#vmsForDisk field on demand. Previously
    this field was always initialized to an empty list which caused
    SparsifyImageCommand to ignore status of VMs the disk is attached to and
    to fail to lock these VMs.
    
    Change-Id: I3d87eb858d144de2f4e855709b8638c783ed5640
    Bug-Url: https://bugzilla.redhat.com/1431596
    Signed-off-by: Shmuel Melamud <smelamud@redhat.com>
    smelamud authored and tnisan committed Apr 9, 2017
    Configuration menu
    Copy the full SHA
    eebde1a View commit details
    Browse the repository at this point in the history
  4. engine: Add missing event for Host Cert Expiration

    Change-Id: Ic2d445b0c4dab860b5ee1cb8a84bd4f133490420
    Bug-Url: https://bugzilla.redhat.com/1439509
    Signed-off-by: Moti Asayag <masayag@redhat.com>
    masayag authored and tnisan committed Apr 9, 2017
    Configuration menu
    Copy the full SHA
    48c3d07 View commit details
    Browse the repository at this point in the history

Commits on Apr 11, 2017

  1. restapi: Add 4.1 capabilities for api v3

    Added 4.1 capabilities for restapi v3 because it didn't exist.
    
    Change-Id: I7c393a9e7c0c1b4d4932f15a43a985f6f940c897
    Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1439749
    Signed-off-by: Aleksei Slaikovskii <aslaikov@redhat.com>
    (cherry picked from commit a2b9f28)
    Aleksei Slaikovskii committed Apr 11, 2017
    Configuration menu
    Copy the full SHA
    702ab89 View commit details
    Browse the repository at this point in the history
  2. webadmin: Fix of VM dialog urandom radio button

    Previously Urandom rng generator radio button was only enabled
    even though urandom rng source was implicitly provided the cluster.
    
    Change-Id: I6c550c76d9202431f468e473e8a34af476a33a1f
    Bug-Url: https://bugzilla.redhat.com/1431435
    Signed-off-by: Jakub Niedermertl <jniederm@redhat.com>
    jniederm authored and pkliczewski committed Apr 11, 2017
    Configuration menu
    Copy the full SHA
    5cefd39 View commit details
    Browse the repository at this point in the history

Commits on Apr 12, 2017

  1. core: Win 10 x64 guest OS inherits from Win 8 x64

    Previously it inherited from Win 10 (32bit) which wrongly brought 32bit
    memory limit.
    
    Memory limit updated for Windows 10 x64 - 2TB
    https://msdn.microsoft.com/en-us/library/windows/desktop/
    aa366778(v=vs.85).aspx#physical_memory_limits_windows_10
    
    Change-Id: I88184644b28fbfa32894d5eb4b95c3ecc8b0c88f
    Bug-Url: https://bugzilla.redhat.com/1439216
    Signed-off-by: Jakub Niedermertl <jniederm@redhat.com>
    jniederm authored and tnisan committed Apr 12, 2017
    Configuration menu
    Copy the full SHA
    4458e76 View commit details
    Browse the repository at this point in the history
  2. core: FenceVolumeJob - avoiding growing number of db records

    FenceVolumeJob is executed in order to fence operations that were
    submitted and are supposed to be performed on the volume.
    In case of failure to fence an operation, the engine may attempt to
    fence it again - when the fencing fails constantly the number of
    commands will grow till the flow ends. As we store a record for each
    command in the commands table that's something should be prevented.
    The engine uses the command record just for polling (to avoid executing
    another fence operation before the previous one ended) and not for
    determining if the fencing succeeded (it polls the entity to verify
    that), therefore we are fine with deleting the command entity after the
    execution ends.
    
    Change-Id: I62659c3840ce4bc46f7846751d45b779f3606279
    Bug-Url: https://bugzilla.redhat.com/1440549
    Signed-off-by: Liron Aravot <laravot@redhat.com>
    laravot committed Apr 12, 2017
    Configuration menu
    Copy the full SHA
    f11d042 View commit details
    Browse the repository at this point in the history
  3. cold-merge: Update step message to include the host name

    After the host running the merge snapshot command is chosen, update the
    step message to show the host name.
    
    Change-Id: Ie069edb8de1b54b6804f578bbce9169f5be97701
    Bug-Url: https://bugzilla.redhat.com/1420401
    Signed-off-by: Ala Hino <ahino@redhat.com>
    alhino committed Apr 12, 2017
    Configuration menu
    Copy the full SHA
    41dd5fc View commit details
    Browse the repository at this point in the history

Commits on Apr 13, 2017

  1. core: Set qcow compat for floating QCOW volumes.

    Unregistered disks should be set with QCOW compat returned from the
    storage domain.
    Addition to this fix are the following changes:
    1) use the register with multiple action to prevent a
    use case which VDSM will be non responsive.
    2) Use non transactive in register disk so VDSM call will not hang the
    transaction.
    3) Adding an audit log indicating the initial of register disk.
    
    Change-Id: I45f10a82fdf05737c952a6ffdbf0aaab48de9ff4
    Bug-Url: https://bugzilla.redhat.com/1432493
    Signed-off-by: Maor Lipchuk <mlipchuk@redhat.com>
    Maor Lipchuk authored and tnisan committed Apr 13, 2017
    Configuration menu
    Copy the full SHA
    fefe68e View commit details
    Browse the repository at this point in the history

Commits on Apr 14, 2017

  1. core: Add fluent-plugin-collectd-nest and rubygem-fluent-plugin-viaq_…

    …data_model
    
    fluent-plugin-collectd-nest and rubygem-fluent-plugin-viaq_data_model
    packages were added to the list of upgraded packages.
    The plugins are needed for metrics collection.
    
    Change-Id: Ie75f6efccd07e70a231f3a21eaf3001b225d922b
    Bug-Url: https://bugzilla.redhat.com/1426901
    Bug-Url: https://bugzilla.redhat.com/1426902
    Signed-off-by: Irit Goihman <igoihman@redhat.com>
    Irit Goihman authored and pkliczewski committed Apr 14, 2017
    Configuration menu
    Copy the full SHA
    5c1d504 View commit details
    Browse the repository at this point in the history
  2. aaa: Running the command logon on the VM via the REST failed

    Logon on VM using restapi needs password
    access scope dependency assigned to restapi
    scope.
    
    Change-Id: I80879311bc8d7c4d6ef5c656c6fb6a97c911b345
    Bug-Url: https://bugzilla.redhat.com/1438484
    Signed-off-by: Ravi Nori <rnori@redhat.com>
    Ravi Nori authored and pkliczewski committed Apr 14, 2017
    Configuration menu
    Copy the full SHA
    9fc6078 View commit details
    Browse the repository at this point in the history

Commits on Apr 18, 2017

  1. core: Use specified port when fetching SSH fingerprint

    Uses port specified by user when trying to fetch fingerprint from SSH
    server.
    
    Change-Id: I793dc037cf90b161ecc56370dbf19469c95e8171
    Bug-Url: https://bugzilla.redhat.com/1433977
    Signed-off-by: Martin Perina <mperina@redhat.com>
    mwperina authored and tnisan committed Apr 18, 2017
    Configuration menu
    Copy the full SHA
    af393b7 View commit details
    Browse the repository at this point in the history

Commits on Apr 19, 2017

  1. aaa: Synchronize group names during user login

    Previously when a user was logging in, we didn't update names of
    groups which user was member of (which caused inconsistencies if
    a group was renamed in LDAP). This patch changes the behaviour,
    so all names of groups that user is member of should be
    synchronized upon user login.
    
    Change-Id: Ib8f3c7cbb26ac0c44a615f141d6dd4dd336746b3
    Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1434696
    Signed-off-by: Ondra Machacek <omachace@redhat.com>
    machacekondra authored and tnisan committed Apr 19, 2017
    Configuration menu
    Copy the full SHA
    9cf3327 View commit details
    Browse the repository at this point in the history
  2. scheduling: Make CPU more important than memory during scheduling

    This gives higher priority to CPU load during scheduling to be
    consistent with how balancing selects hosts to migrate to.
    
    Change-Id: Ia5901347c7bd267f1bb8a82116091c4c2e1433db
    Bug-Url: https://bugzilla.redhat.com/1424986
    Signed-off-by: Martin Sivak <msivak@redhat.com>
    MarSik authored and tnisan committed Apr 19, 2017
    Configuration menu
    Copy the full SHA
    d3ef18a View commit details
    Browse the repository at this point in the history
  3. webadmin: Update QoS popup layout

    - Updated QoS popups layout to be bootstrap based
    
    This patch was originally submitted as part of a larger UI update that
    wasn't intended to be backported to 4.1, but the changes made in it
    were found to correct the issues in the bugs below.
    
    Change-Id: Ib8ce6672ed9a4b827358b8abeec8b37185e8af1f
    Bug-Url: https://bugzilla.redhat.com/1417904
    Bug-Url: https://bugzilla.redhat.com/1418156
    Signed-off-by: Alexander Wels <awels@redhat.com>
    awels authored and tnisan committed Apr 19, 2017
    Configuration menu
    Copy the full SHA
    9f98618 View commit details
    Browse the repository at this point in the history
  4. tools: Make engine-vacuum quiet unless verbose requested

    Suppresses output of engine-vacuum unless verbose mode is
    requested.
    
    Change-Id: Ifd5d0d14cb0875410f66fae8ab1dff604e747ab6
    Bug-Url: https://bugzilla.redhat.com/1421764
    Signed-off-by: Martin Perina <mperina@redhat.com>
    (cherry picked from commit 173a851)
    mwperina authored and tnisan committed Apr 19, 2017
    Configuration menu
    Copy the full SHA
    083daf5 View commit details
    Browse the repository at this point in the history
  5. core: missing validation

    passthrough vNIC profile disallows network filter usage.
    
    Change-Id: I628346554cf732067a26911be573dd2d46619e1e
    Bug-Url: https://bugzilla.redhat.com/1411666
    Signed-off-by: Martin Mucha <mmucha@redhat.com>
    Martin Mucha authored and tnisan committed Apr 19, 2017
    Configuration menu
    Copy the full SHA
    0a2fb87 View commit details
    Browse the repository at this point in the history
  6. pm: Fix server exception in fence actions

    Create new class RestartVdsResult and assign it to
    VdcReturnValueBase#returnValue instead of extending
    VdcReturnValueBase.
    
    Change-Id: I750cf5f114bd124f00e19099544ce8a61da3c446
    Bug-Url: https://bugzilla.redhat.com/1422841
    Signed-off-by: Ondra Machacek <omachace@redhat.com>
    (cherry picked from commit e4e441e)
    machacekondra authored and tnisan committed Apr 19, 2017
    Configuration menu
    Copy the full SHA
    b6f3b24 View commit details
    Browse the repository at this point in the history
  7. webadmin: disable dashboard data if DWH isn't available

    Two checks are made to verify DWH configuration. First, the engine DWH
    config table is verified. Second, the ability of the JNDI managed DWH
    DataSource to create a DB connection is verified. If either test fails,
    the query caching and direct queries are disabled.
    
    The change will eliminate error logging for developers who don't need
    to work with DWH components.
    
    Bug-Url: https://bugzilla.redhat.com/1441857
    Change-Id: I7e42b9e32b32ee75e6d1d290c187d35e1e784926
    Signed-off-by: Scott J Dickerson <sdickers@redhat.com>
    sjd78 authored and tnisan committed Apr 19, 2017
    Configuration menu
    Copy the full SHA
    4afa8e3 View commit details
    Browse the repository at this point in the history
  8. restapi: Update to model 4.1.35 and metamodel 1.1.14

    The more relevant changes in this new version of the model are the
    following:
    
    * Replace generic assigned networks services with services specific to
      the type of object that they are assigned to, in particular data
      centers and clusters.
    
    * Add `driver` attribute to `HostDevice` type.
    
    * Add common concepts document.
    
    * Add appendix containing changes from version 3 to version 4 of
      the API.
    
    * Add `readOnly` attribute to the `DiskAttachment` type.
    
    * Fix the type of the `Host.nics` link. It should be of type
      `HostNic[]`, not `Nic[]`.
    
    The replacement of generic assigned networks service with specific ones
    requires a significant refactor of the resources in that area.
    
    The changes in the new version of the metadel affect only the Java SDK,
    not the engine, but it is good practice to keep using the latest
    version.
    
    Change-Id: Ibef405d6f19330f61cb5ec7193c860557fcfb47b
    Related-To: https://bugzilla.redhat.com/1390498
    Signed-off-by: Juan Hernandez <juan.hernandez@redhat.com>
    jhernand authored and tnisan committed Apr 19, 2017
    Configuration menu
    Copy the full SHA
    442c883 View commit details
    Browse the repository at this point in the history
  9. core: running create_functions.sql upon setup

    This patch fix an issue when only create_functions.sql was modified (for
    example adding a new function)
    In the case that this is the only change, the engine-setup will not
    recognize the change and the new function will not be created.
    
    The fix adds the create_functions.sql file to the list of files of which
    we have a MD5 sum that is used to track changes in thoise files.
    
    Change-Id: I60222b1fb61e2ef76788774cd59d096d4a1b4a31
    Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1432095
    Signed-off-by: emesika <emesika@redhat.com>
    (cherry picked from commit b5a819d)
    emesika authored and tnisan committed Apr 19, 2017
    Configuration menu
    Copy the full SHA
    a3138b1 View commit details
    Browse the repository at this point in the history
  10. restapi: Expose driver field of host devices

    Change-Id: I9dcdfa0b069655629ef0fae0959188631b2da9d2
    Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1430673
    Signed-off-by: Martin Betak <mbetak@redhat.com>
    matobet committed Apr 19, 2017
    Configuration menu
    Copy the full SHA
    d50ec28 View commit details
    Browse the repository at this point in the history

Commits on Apr 20, 2017

  1. jsonrpc: version bump

    Bug-Url: https://bugzilla.redhat.com/1438784
    Change-Id: Iec706ed7f4df03a84304075be6c2e6111a5b472f
    Signed-off-by: Piotr Kliczewski <piotr.kliczewski@gmail.com>
    pkliczewski authored and tnisan committed Apr 20, 2017
    Configuration menu
    Copy the full SHA
    bbbd724 View commit details
    Browse the repository at this point in the history
  2. webadmin:Filter out duplicate LUN id exposed through multiple targets.

    Connecting the same LUN through multiple targets using the GUI
    sends the same LUN id multiple times for each target.
    
    Duplicate LUN ids should be filtered out before the engine calls
    createVG.
    
    Change-Id: I696bfdb660f3361d47427c610cda53c6c0942d11
    Bug-Url: https://bugzilla.redhat.com/1441706
    Signed-off-by: Maor Lipchuk <mlipchuk@redhat.com>
    Maor Lipchuk authored and tnisan committed Apr 20, 2017
    Configuration menu
    Copy the full SHA
    8c2fa30 View commit details
    Browse the repository at this point in the history
  3. restapi: Show read only property on disk attachments

    Change-Id: Ic630df8a47bb23f4ad32164b37dfe4443b8b4e50
    Bug-Url: https://bugzilla.redhat.com/1390498
    Signed-off-by: Tal Nisan <tnisan@redhat.com>
    tnisan committed Apr 20, 2017
    Configuration menu
    Copy the full SHA
    d966d0a View commit details
    Browse the repository at this point in the history
  4. core: Properly handle spicevmc redirs on USB support change

    After VM run with SPICE + USB enabled there were left several devices of type
    'redirdev' which were unmanaged by the engine, and remained in the vm_device
    table even after the VM has been reconfigured to VNC (or USB disabled).
    
    This patch modifies the VmDeviceUtils#disableSpiceUsb to also clear the
    'redirdev' SPICEVMC devices from the DB. To this end it was necessary to add
    new 'REDIRDEV' VmDeviceGeneralType - since the VmDeviceDao always treats the
    device 'type' in terms of this enum.
    
    Change-Id: Ib7013e8aa82a6b96802d37d6dcc9babffac37703
    Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1430688
    Signed-off-by: Martin Betak <mbetak@redhat.com>
    matobet authored and tnisan committed Apr 20, 2017
    Configuration menu
    Copy the full SHA
    4a4a48c View commit details
    Browse the repository at this point in the history
  5. core: Remove leftover SPICE channel on RunVM

    After run of VM with SPICE graphics device the SPICEVMC channel remained in the
    vm_device table even after the VM has been long recofigured to not use SPICE.
    
    Since we don't want to remove this device prematurely, we extended the
    pre-vm-run device handling to also remove stray channels in the RunVmCommand.
    
    Change-Id: Ie2159a3ba247cabe2002dd9e9043126b65b3dd42
    Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1430688
    Signed-off-by: Martin Betak <mbetak@redhat.com>
    matobet authored and tnisan committed Apr 20, 2017
    Configuration menu
    Copy the full SHA
    a5582f3 View commit details
    Browse the repository at this point in the history
  6. engine: adding transaction bounderies to heart beat logging

    We don't have exact boundary for transaction commit in
     DwhHeartBeat.engineIsRunningNotification, so even if we
    log correctly, the real database commit may be performed
    later if db is too busy
    
    Change-Id: Ib9009b5f41538bafd15fd4cc1d8a57c54556bf1c
    Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1430666
    Signed-off-by: emesika <emesika@redhat.com>
    (cherry picked from commit cf8072c)
    emesika authored and tnisan committed Apr 20, 2017
    Configuration menu
    Copy the full SHA
    177f425 View commit details
    Browse the repository at this point in the history
  7. aaa: User can no longer use API having password with special characte…

    …r "+"
    
    The request parameters are automatically
    decoded to UTF-8 format when content type
    and encoding are specified in the request.
    
    It is not necessary to decode them on the
    SSO end again.
    
    Change-Id: I03d3ca6a8f75b72ad014681cd99dca5ec3e5d1a4
    Bug-Url: https://bugzilla.redhat.com/1443645
    Signed-off-by: Ravi Nori <rnori@redhat.com>
    Ravi Nori authored and tnisan committed Apr 20, 2017
    Configuration menu
    Copy the full SHA
    e196e21 View commit details
    Browse the repository at this point in the history

Commits on Apr 21, 2017

  1. pm: Wait for host to boot when executing start operation

    Previously when start fence action was executed we didn't wait
    for the host to boot. This may cause an issue when the host
    take too long to boot, so the host monitoring code will be
    re-executing the fence operation and the host will never boot.
    
    This patch handle the issue, so we now wait ServerRebootTimeout,
    after the 'start' operation is executed and after this timeout
    the host status is changed properly.
    
    Change-Id: If872dcab32f8e0f9c2806a64552cf7c6ff28a4b1
    Bug-Url: https://bugzilla.redhat.com/1423657
    Signed-off-by: Ondra Machacek <omachace@redhat.com>
    machacekondra committed Apr 21, 2017
    Configuration menu
    Copy the full SHA
    9efc5c0 View commit details
    Browse the repository at this point in the history

Commits on Apr 23, 2017

  1. engine: ignore NetworkCluster.status in the input

    Ignore status in the input of UpdateNetworkOnClusterCommand.
    
    Change-Id: I63c0c3468844fe07bc9947fe6c38f6632e478798
    Bug-Url: https://bugzilla.redhat.com/1438418
    Signed-off-by: Yevgeny Zaspitsky <yzaspits@redhat.com>
    (cherry picked from commit f8e6065)
    Yevgeny Zaspitsky committed Apr 23, 2017
    Configuration menu
    Copy the full SHA
    69ed734 View commit details
    Browse the repository at this point in the history
  2. core: Fix import of VMs with memory snapshot from domain

    The stored procudure used to delete the entities from the storage domain
    referred to a view that does not contain memory images resulting in those
    remaining in the database after detaching a domain.
    When trying to import a VM that contains memory snapshots to a setup
    which the same domain was detached from that included those stale entities
    it resulted in a unique constraint violation preventing the import of the
    VM.
    
    Change-Id: I6b30ca71d7ed7a390961cbc0ed32c03d6e8b8c01
    Bug-Url: https://bugzilla.redhat.com/1434917
    Signed-off-by: Tal Nisan <tnisan@redhat.com>
    tnisan committed Apr 23, 2017
    Configuration menu
    Copy the full SHA
    0b06a14 View commit details
    Browse the repository at this point in the history

Commits on Apr 24, 2017

  1. build: ovirt-engine-4.1.2

    Change-Id: I4026c916fede498266b48b0df436c25cc4caa2a1
    Signed-off-by: Lev Veyde <lveyde@redhat.com>
    lveyde authored and tnisan committed Apr 24, 2017
    Configuration menu
    Copy the full SHA
    5d2917a View commit details
    Browse the repository at this point in the history
  2. build: post ovirt-engine-4.1.2

    Change-Id: I8e9f590dea3e16b6629dcf9521568729defb7f19
    Signed-off-by: Lev Veyde <lveyde@redhat.com>
    lveyde authored and tnisan committed Apr 24, 2017
    Configuration menu
    Copy the full SHA
    61a6a1f View commit details
    Browse the repository at this point in the history
  3. core: Block moving host to maintenance if it's running jobs

    When a host is running jobs (and specifically storage jobs) we should
    block moving it to maintenance until the jobs are completed.
    This patch adds support to get the operations running on a host and adds
    a validation when it's moved to maintenance.
    
    The following changes are made:
    1. Added stored procedure (with tests) that returns steps related to a
    subject entity.
    
    2. Add validation in MaintenanceNumberOfVdssCommand.
    
    Regardless of this change, the validation is racey as a job (or a task)
    could be started after the validation. Locks should be added in order to
    sync between the maintenance flow and the start of jobs on a host.
    As this issue existed always, it'll be handled in a separate change -
    this patch adds the validation.
    
    Change-Id: Ibfa5947a39844b22bacf28f873bc6842bcf15040
    Bug-Url: https://bugzilla.redhat.com/1444982
    Signed-off-by: Liron Aravot <laravot@redhat.com>
    laravot committed Apr 24, 2017
    Configuration menu
    Copy the full SHA
    61de7a5 View commit details
    Browse the repository at this point in the history

Commits on Apr 25, 2017

  1. core: add vm exit reason of type unknown

    When restoring a backup, the status and run_on_vds fields of the VM
    do not represent the actual information of the running VM. This may
    lead of unneeded restart of highly-available VMs that would cause a
    split-brain.
    
    Therefore, we decide to switch highly-available VMs to down when
    restoring a backup. But none of the existing exit reasons fit for
    this flow: Error would cause the VM to be restarted when the engine
    starts, and Normal doesn't reflect the situation properly since the
    VM was not shut-down properly.
    
    Thus, we add a new exit reason for this case, called Unknown. The
    whole purpose of this value, for now, is to prevent the automatic
    VM restart mechanism to skip VMs set with this value.
    
    Change-Id: I40710a943c60dbdbbdf9e8e9563afc121d1d632a
    Bug-Url: https://bugzilla.redhat.com/1441322
    Signed-off-by: Arik Hadas <ahadas@redhat.com>
    ahadas authored and tnisan committed Apr 25, 2017
    Configuration menu
    Copy the full SHA
    6ee95b3 View commit details
    Browse the repository at this point in the history
  2. setup: Fail the setup if VMs CCV is lower then DC

    we want to notify the user if the customcompatibility version (CCV)
    is lower then the data center (DC).
    
    Change-Id: If24bfa9f7f8bf265b4f88ab4f51c61371508f4d5
    Bug-Url: https://bugzilla.redhat.com/1436577
    Signed-off-by: Shahar Havivi <shaharh@redhat.com>
    shaharha authored and tnisan committed Apr 25, 2017
    Configuration menu
    Copy the full SHA
    8f3d913 View commit details
    Browse the repository at this point in the history
  3. webadmin: ovs renames

    Switch type(Experimental!) —> Switch type
    LEGACY —> Linux Bridge
    OVS —> OVS (experimental)
    
    Change-Id: Ieb8878d9e061bae8e95a44acd4030d77e1ce9f6e
    Bug-Url: https://bugzilla.redhat.com/1438298
    Signed-off-by: Martin Mucha <mmucha@redhat.com>
    Martin Mucha authored and tnisan committed Apr 25, 2017
    Configuration menu
    Copy the full SHA
    cac7876 View commit details
    Browse the repository at this point in the history

Commits on Apr 26, 2017

  1. webadmin: Corrected validation for geo-rep

    AsciiName validation is not required for volume
    as this is a volume entity selection
    
    Change-Id: I640936d741456bc13977946272a0c3afddf6ced6
    Bug-Url: https://bugzilla.redhat.com/1440071
    Signed-off-by: Sahina Bose <sabose@redhat.com>
    sabose authored and pkliczewski committed Apr 26, 2017
    Configuration menu
    Copy the full SHA
    58223be View commit details
    Browse the repository at this point in the history

Commits on Apr 27, 2017

  1. core: make the unmanaged usb controller to be managed

    The issue:
    - a VM is started on an older (pre 4.0) engine
    - in this engine, if the USB is configured as disabled, no USB device is sent
    to VDSM
    - libvirt reacts by creating a new unmanaged USB controller
    - this controller appears in engine as an unmanaged device
    - after updating the engine, update of all VMs is called to modify the devices
    according to the need of the new engine
    - this code adds a managed USB controller
    - in this stage, this VM has 2 USB controllers, one managed and one unmanaged
    - from this point, anytime the USB devices are about to be touched (e.g.
    creating a new template from this VM or from a snapshot of the VM) a sanity
    check checking that there is only 1 USB controller fails throwing an exception
    
    The fix is to detect that the unmanaged device is the one created by
    libvirt and adopt it as ours.
    
    Another issue:
    If there are two usb controller for the VM:
    * managed, unplugged
    * unmanaged, plugged
    and a snapshot is made and then previewed, the VM has two managed usb
    controllers. It is caused by the fact that OVF doesn't store 'managed'
    flag.
    
    To mitigate this, every time normal usb controllers are updated and
    there are more then one managed controller, all controllers are removed
    and the proper one is recreated.
    
    Change-Id: I74f516530e9be5887b12720f0cdaee4618a9e9c9
    Bug-Url: https://bugzilla.redhat.com/1438188
    Signed-off-by: Tomas Jelinek <tjelinek@redhat.com>
    Signed-off-by: Jakub Niedermertl <jniederm@redhat.com>
    Tomas Jelinek authored and pkliczewski committed Apr 27, 2017
    Configuration menu
    Copy the full SHA
    2039068 View commit details
    Browse the repository at this point in the history

Commits on Apr 30, 2017

  1. core: Set action message parameters in RemoveVmPoolCommand

    Action and type variables must be set in RemoveVmPoolCommand to be
    substituted in error messages.
    
    Change-Id: Id4a5065bc08aa97b63afcddd8c1b33452e7a218e
    Bug-Url: https://bugzilla.redhat.com/1418290
    Signed-off-by: Shmuel Melamud <smelamud@redhat.com>
    smelamud committed Apr 30, 2017
    Configuration menu
    Copy the full SHA
    4dee037 View commit details
    Browse the repository at this point in the history

Commits on May 1, 2017

  1. core: Free VM lock if attaching a VM from pool failed

    If VM is allocated to user from a VM Pool and the VM is not prestarted,
    lock is taken on it early to prevent race condition between
    AttachUserToVmFromPoolAndRunCommand and VmPoolMonitor. In regular flow,
    this lock is freed by RunVmCommand. But if validation of
    AttachUserToVmFromPoolAndRunCommand is failed or exception is thrown for
    some reason, this lock must be freed explicitly.
    
    Change-Id: I6d13d3196dd7e2557390675066e0b861071d846f
    Bug-Url: https://bugzilla.redhat.com/1433924
    Bug-Url: https://bugzilla.redhat.com/1432105
    Signed-off-by: Shmuel Melamud <smelamud@redhat.com>
    smelamud authored and tnisan committed May 1, 2017
    Configuration menu
    Copy the full SHA
    5d79e38 View commit details
    Browse the repository at this point in the history

Commits on May 2, 2017

  1. packaging: engine-backup: Allow setting temp dir

    Add an option --tmpdir=DIR to set the parent of the temporary directory
    that's created. Defaults to $TMPDIR if set, otherwise to /tmp.
    
    Change-Id: I13f07418329fd6347e3ec86f52438db220da393f
    Bug-Url: https://bugzilla.redhat.com/1445631
    Signed-off-by: Yedidyah Bar David <didi@redhat.com>
    didib authored and pkliczewski committed May 2, 2017
    Configuration menu
    Copy the full SHA
    693cbc9 View commit details
    Browse the repository at this point in the history
  2. restore: forcing status on HA VMs at restore time

    Forcing status on HA VMs at restore time to avoid the engine
    restarting them just after the restore with corruption risks.
    
    Change-Id: I8b90e54522ac294399db77317b6841ce810e8d88
    Bug-Url: https://bugzilla.redhat.com/1446055
    Signed-off-by: Simone Tiraboschi <stirabos@redhat.com>
    tiraboschi authored and sandrobonazzola committed May 2, 2017
    Configuration menu
    Copy the full SHA
    4ffa406 View commit details
    Browse the repository at this point in the history

Commits on May 3, 2017

  1. build: ovirt-engine-4.1.2.1

    Change-Id: I86517578a03e7227a3495cc287a4b85f64cf6467
    Signed-off-by: Sandro Bonazzola <sbonazzo@redhat.com>
    sandrobonazzola committed May 3, 2017
    Configuration menu
    Copy the full SHA
    22683aa View commit details
    Browse the repository at this point in the history
  2. build: post ovirt-engine-4.1.2.1

    Change-Id: Ib04dda2541784027ee0d39c5d814e860247917e5
    Signed-off-by: Sandro Bonazzola <sbonazzo@redhat.com>
    sandrobonazzola committed May 3, 2017
    Configuration menu
    Copy the full SHA
    c003381 View commit details
    Browse the repository at this point in the history

Commits on May 7, 2017

  1. engine: the default filter of passthrough profile should be 'null'

    Change-Id: Ib802ac8c0580aecd672326108a3cfbd4f80be7b1
    Bug-Url: https://bugzilla.redhat.com/1445759
    Signed-off-by: Alona Kaplan <alkaplan@redhat.com>
    AlonaKaplan committed May 7, 2017
    Configuration menu
    Copy the full SHA
    9f473af View commit details
    Browse the repository at this point in the history

Commits on May 8, 2017

  1. core: Inject CinderBroker's members

    CinderBroker extends AuditLoggableBase which relies on injected
    memebrs, and thus should have its members injected when new instances
    are created.
    
    Note: This is a 4.1 fix only. For the master branch,
    Id0c0b1efe0bdd1589c2d4f7bdccd6e5a4061eb65 provides a more elegant
    solution.
    
    Change-Id: I12e8b271daed0457f6f711cef5c4492b1eacb6cc
    Bug-Url: https://bugzilla.redhat.com/1448793
    Signed-off-by: Allon Mureinik <amureini@redhat.com>
    mureinik committed May 8, 2017
    Configuration menu
    Copy the full SHA
    edd6357 View commit details
    Browse the repository at this point in the history

Commits on May 9, 2017

  1. core: NPE in addStep method of Step

    In some cases when running from compensation, task creation fails
    with NPE on addStep method of Step.
    
    In this patch when loading steps in JobRepositoryImpl, the steps list is not
    set if the list is null.
    
    Change-Id: Icd895174bfc48ca1087d53328cffa2b0b6191fca
    Bug-Url: https://bugzilla.redhat.com/1415691
    Signed-off-by: Fred Rolland <frolland@redhat.com>
    rollandf authored and tnisan committed May 9, 2017
    Configuration menu
    Copy the full SHA
    b09a478 View commit details
    Browse the repository at this point in the history
  2. engine: Update vnics address and alias after hot plug

    Bug-Url: https://bugzilla.redhat.com/1436983
    Change-Id: I48449fd34008fe8e5d9df7d7703819d128b786c2
    Signed-off-by: Alona Kaplan <alkaplan@redhat.com>
    AlonaKaplan authored and tnisan committed May 9, 2017
    Configuration menu
    Copy the full SHA
    7cd79bc View commit details
    Browse the repository at this point in the history
  3. core: Fix incorrect disk profile while adding a VM

    When adding a VM, a disk profile from wrong storage domain
    can be saved to the DB and cause problems in
    later commands.
    
    Change-Id: I8c1958edd21ef741c9ba061d4801cdc60f893e3b
    Bug-Url: https://bugzilla.redhat.com/1420258
    Signed-off-by: Andrej Krejcir <akrejcir@redhat.com>
    akrejcir authored and tnisan committed May 9, 2017
    Configuration menu
    Copy the full SHA
    10e3cbc View commit details
    Browse the repository at this point in the history

Commits on May 10, 2017

  1. core: ImportVmTemplateFromConfiguration handles maxMemory

    ImportVmTemplateFromConfigurationCommand changed instance of
     #getVmTemplate() property without handling potential missing maxMemory
    attribute in some flows (importing Template from non-master data storage
    domain).
    
    Missing maxMemory property handling added.
    
    Change-Id: I8f579efd93f9a51ee8b819bd0598afb6d9ee1d18
    Bug-Url: https://bugzilla.redhat.com/1444848
    Signed-off-by: Jakub Niedermertl <jniederm@redhat.com>
    jniederm authored and tnisan committed May 10, 2017
    Configuration menu
    Copy the full SHA
    85729f8 View commit details
    Browse the repository at this point in the history
  2. packaging: setup: pki: Set subjectAltName

    pki-enroll-request.sh is able to set the subjectAltName (SAN).
    
    The CA forum baseline requirements declares subjectAltName
    as required. Google Chrome seems to require the subjectAltName set
    in server certificates, and urllib3 generates warnings, if
    subjectaltName is not set.
    
    Change-Id: I022976407f0a8be14a6bde06da553c0d3348f7e7
    Bug-Url: https://bugzilla.redhat.com/1449084
    Signed-off-by: Dominik Holler <dholler@redhat.com>
    (cherry picked from commit d8a8f85)
    dominikholler committed May 10, 2017
    Configuration menu
    Copy the full SHA
    b31494d View commit details
    Browse the repository at this point in the history
  3. core: TransferDiskImage validation - get storage domain id from disk

    TransferDiskImageCommand -> validateImageTransfer:
    The StorageDomainValidator should be created using the disk's
    storage domain id, as the new disk is already created.
    Currently, the domain id is fetched from command's parameters,
    which is available only when uplaoding from the WebAdmin.
    
    Change-Id: I801f71079e031367cf87b527ae2bf5c3bf1623e7
    Bug-Url: https://bugzilla.redhat.com/1447023
    Signed-off-by: Daniel Erez <derez@redhat.com>
    danielerez authored and tnisan committed May 10, 2017
    Configuration menu
    Copy the full SHA
    62492db View commit details
    Browse the repository at this point in the history
  4. async-command: Remove setting parent command

    If setting the RunAsyncActionCommand as the parent of the command being
    executed (original command), the original command "endAction" method
    isn't invoked, leaving it not completed.
    This change is valid for commands that could be run asynchronously.
    
    Change-Id: Iae4abd65206e4422f1758d8a258c8d36d265f192
    Bug-Url: https://bugzilla.redhat.com/1447050
    Signed-off-by: Ala Hino <ahino@redhat.com>
    alhino authored and tnisan committed May 10, 2017
    Configuration menu
    Copy the full SHA
    bc08144 View commit details
    Browse the repository at this point in the history

Commits on May 11, 2017

  1. userportal: use the converter callback also in user portal

    There is a different version of getHostListByCluster for webadmin and
    userportal.
    
    Both methods need to have parametrized AsyncCallback and have a converter
    callback configured.
    
    Change-Id: Iae7081e1fea497ec97af8577a0abc3740a8505cf
    Bug-Url: https://bugzilla.redhat.com/1448695
    Signed-off-by: Tomas Jelinek <tjelinek@redhat.com>
    Tomas Jelinek authored and tnisan committed May 11, 2017
    Configuration menu
    Copy the full SHA
    2882b80 View commit details
    Browse the repository at this point in the history
  2. build: ovirt-engine-4.1.2.2

    Change-Id: I3ee45529b4bf46506ea8f67c74bd68534a8613f7
    Signed-off-by: Lev Veyde <lveyde@redhat.com>
    lveyde committed May 11, 2017
    Configuration menu
    Copy the full SHA
    d11d59d View commit details
    Browse the repository at this point in the history

Commits on Jun 6, 2017

  1. core: Include jcl-over-slf4j into tools modules

    Apache commons-logging libraries are reimplemented within WildFly.
    In older versions the reimplementation has been provided by
    'org.slf4j.jcl-over-slf4j' module, but in newer version
    reimplementation has been changed to
    'org.jboss.logmanager.commons.logging'.
    
    This works fine if application is executed inside running WildFly,
    but we are using those libraries also outside running EAP in command
    line tools. In order to be able to use slf4j as our logging frontend
    we are using standard slf4j implementation instead of WildFly
    reimplementation of slf4j for our command line tools. Apache
    commons-logging is used indirectly through commons-configuration also
    in command line tool engine-config, so we would need to add
    'org.slf4j.jcl-over-slf4j' into our special modules for command
    line tools to override this reimplementation change.
    
    Change-Id: Ia3fce0af7de78f5757a13a18c06dcd885dc7c215
    Bug-Url: https://bugzilla.redhat.com/1457900
    Signed-off-by: Martin Perina <mperina@redhat.com>
    mwperina committed Jun 6, 2017
    Configuration menu
    Copy the full SHA
    87e631f View commit details
    Browse the repository at this point in the history
  2. build: ovirt-engine-4.1.2.3

    Change-Id: Ib8e3e42cb65f8318f03e5a57cbdb56c553f21213
    Signed-off-by: Martin Perina <mperina@redhat.com>
    mwperina committed Jun 6, 2017
    Configuration menu
    Copy the full SHA
    c5cf04b View commit details
    Browse the repository at this point in the history