summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-05-10Calculation of interface types from templates fixedHEADmasterDmitry Guryanov
In case of adding port on bond 'ether' type was set for interface. This was root cause of the issue - bond was processed as nic. Closes-Bug: #1602817 Change-Id: I6a5136ce9ce5398aa6d55c795857769a7a41f7b0 Notes (review): Verified+1: Fuel CI <fuel-ci-bot@mirantis.com> Code-Review+2: Alexander Kislitsky <akislitsky@mirantis.com> Code-Review+1: Vladimir Kozhukalov <vkozhukalov@mirantis.com> Code-Review+1: Georgy Kibardin <gkibardin@mirantis.com> Code-Review+1: Vladimir Sharshov <vsharshov@mirantis.com> Code-Review+2: Aleksey Kasatkin <akasatkin@mirantis.com> Workflow+1: Alexander Kislitsky <akislitsky@mirantis.com> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Wed, 10 May 2017 11:51:50 +0000 Reviewed-on: https://review.openstack.org/391410 Project: openstack/fuel-web Branch: refs/heads/master
2017-04-26Merge "Excluding number of nodes in stop operation notification"Jenkins
2017-04-10Override keys() with a function, not an attributeGeorgy Kibardin
By mistake keys function has been overriden by a value. Change-Id: I713bddcfb66c4835d477972ece7e0983d263377f Closes-Bug: #1666913 Notes (review): Verified+1: Fuel CI <fuel-ci-bot@mirantis.com> Code-Review+2: Alexander Kislitsky <akislitsky@mirantis.com> Code-Review+1: Michael Polenchuk <mpolenchuk@mirantis.com> Code-Review+2: Aleksey Kasatkin <akasatkin@mirantis.com> Workflow+1: Alexander Kislitsky <akislitsky@mirantis.com> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Thu, 13 Apr 2017 11:32:20 +0000 Reviewed-on: https://review.openstack.org/454574 Project: openstack/fuel-web Branch: refs/heads/master
2017-03-31Add Ironic multitenancy supportVasyl Saienko
This patch adds support to deploy Ironic with separate Neutron network for provisioning baremetal instances. * Add NetworkDeploymentSerializer100 as Ironic multitenancy is supported from Newton, and we will backport this till stable/newton. * Update network scheme generation to create 'vlan' baremetal network, assign IPs to Ironic conductors from this network, make them accessible from baremetal servers. * Add new checkbox at 'Openstack Settings/Additional components' tab which allows to define if separate provisioning network should be used during deployment. This is a trigger to switch ironic deployment to multitenancy case. If not selected old behaviour is kept, 'flat' network is used. The checkbox is shown only when Ironic component is enabled. Change-Id: I861a8b3b046202526d6a856c9f2dca2cfaddc887 Related-Bug: #1588380 Notes (review): Verified+1: Fuel CI <fuel-ci-bot@mirantis.com> Code-Review+2: Aleksey Kasatkin <akasatkin@mirantis.com> Code-Review+2: Alexander Kislitsky <akislitsky@mirantis.com> Workflow+1: Vladimir Kuklin <vkuklin@mirantis.com> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Mon, 03 Apr 2017 14:42:28 +0000 Reviewed-on: https://review.openstack.org/444863 Project: openstack/fuel-web Branch: refs/heads/master
2017-03-28Excluding number of nodes in stop operation notificationVladimir Sharshov (warpc)
Nailgun use block of nodes in stop operation to reset such nodes in discovery state. Also Nailgun used such data to calculate count of nodes for notifications. But Astute will not send info about nodes in case of task deployment. This patch exclude count of nodes in stop notification to prevent misslining message about successful operation for 0 nodes Change-Id: I32da2ccce11b22378f58759703fc4a56e31fd993 Closes-Bug: #1672964 Notes (review): Verified+1: Fuel CI <fuel-ci-bot@mirantis.com> Code-Review+2: Alexander Kislitsky <akislitsky@mirantis.com> Code-Review+1: Georgy Kibardin <gkibardin@mirantis.com> Code-Review+2: Bulat Gaifullin <gaifullinbf@gmail.com> Workflow+1: Bulat Gaifullin <gaifullinbf@gmail.com> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Wed, 26 Apr 2017 13:23:38 +0000 Reviewed-on: https://review.openstack.org/449247 Project: openstack/fuel-web Branch: refs/heads/master
2017-03-28Merge "Fix typo in packages list for distributed serialization"Jenkins
2017-03-28Merge "Reorder configs_query by time"Jenkins
2017-03-27Fix typo in packages list for distributed serializationVladimir Kuklin
Change-Id: Iacc987275064609f5c1f3c731073baa8a345e7d3 Related-bug: #1676197 Notes (review): Code-Review+1: Vladimir Kozhukalov <vkozhukalov@mirantis.com> Code-Review+2: Alexander Kislitsky <akislitsky@mirantis.com> Verified+1: Fuel CI <fuel-ci-bot@mirantis.com> Code-Review+1: Alexey Shtokolov <ashtokolov@mirantis.com> Workflow+1: Alexey Shtokolov <ashtokolov@mirantis.com> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Tue, 28 Mar 2017 13:57:21 +0000 Reviewed-on: https://review.openstack.org/450324 Project: openstack/fuel-web Branch: refs/heads/master
2017-03-27Add python-distributed package as nailgun dependencyVladimir Kozhukalov
Change-Id: I852ad5491b2225c8a211f7216d1a17b2b6c53487 Closes-Bug: #1676300 Notes (review): Code-Review+1: Vladimir Kozhukalov <vkozhukalov@mirantis.com> Verified+1: Fuel CI <fuel-ci-bot@mirantis.com> Code-Review+2: Aleksey Kasatkin <akasatkin@mirantis.com> Workflow+1: Alexander Kislitsky <akislitsky@mirantis.com> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Mon, 27 Mar 2017 10:08:38 +0000 Reviewed-on: https://review.openstack.org/450112 Project: openstack/fuel-web Branch: refs/heads/master
2017-03-24Merge "Distributed serialization implementation"Jenkins
2017-03-24Packages for distributed serialization added to provisionAlexander Kislitsky
We are going to use provisioned cluster nodes as workers for distributed task serialization. Package python-distributed provides dask-worker for nailgun code execution. Other packages are nailgun requirements. Change-Id: I95b7682c64fe2eedb26fc80046909974cc792c91 Implements: blueprint distributed-serialization Notes (review): Code-Review+2: Vladimir Kozhukalov <vkozhukalov@mirantis.com> Code-Review+2: Alexander Kislitsky <akislitsky@mirantis.com> Verified+1: Fuel CI <fuel-ci-bot@mirantis.com> Workflow+1: Alexander Kislitsky <akislitsky@mirantis.com> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Fri, 24 Mar 2017 19:23:21 +0000 Reviewed-on: https://review.openstack.org/436396 Project: openstack/fuel-web Branch: refs/heads/master
2017-03-24Distributed serialization implementationAlexander Kislitsky
Distributed serialization is implemented with python distributed library. We have scheduler for jobs management and workers for jobs processing. Scheduler is started on the master node as well as set of workers on it. Also workers are started on all nodes. In the cluster settings we can select the type of serialization and nodes statuses that allows serialization on it. By default nodes with status 'ready' are excluded from the workers list. For data serialization we are using only nodes from the cluster where serialization is performing. Before the computation fresh nailgun code is sent to the workers as zip file and it will be imported for job execution. So we always have fresh nailgun code on the workers. In one job we are processing chunks of tasks on the workers. This approach significantly boosts performance. The tasks chunk size is defined as settings.LCM_DS_TASKS_PER_JOB parameter. For limiting memory consumption on the master node we use parameter settings.LCM_DS_NODE_LOAD_COEFF for calculation max number of jobs in the processing queue. Synthetic tests of distributed serialization for 500 nodes with nubmer of ifaces >= 5 performed on 40 cores (4 different machines) took 6-7 minutes on average. Change-Id: Id8ff8fada2f1ab036775fc01c78d91befdda9ea2 Implements: blueprint distributed-serialization Notes (review): Code-Review+2: Bulat Gaifullin <gaifullinbf@gmail.com> Verified+1: Fuel CI <fuel-ci-bot@mirantis.com> Workflow+1: Alexander Kislitsky <akislitsky@mirantis.com> Code-Review+2: Alexander Kislitsky <akislitsky@mirantis.com> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Fri, 24 Mar 2017 19:51:59 +0000 Reviewed-on: https://review.openstack.org/433667 Project: openstack/fuel-web Branch: refs/heads/master
2017-03-24Merge "Use tags instead of roles"Jenkins
2017-03-23Merge "add removed handlers"Jenkins
2017-03-23Merge "Moving task cache update into task creation transaction"Jenkins
2017-03-23add removed handlersIgor Gajsin
There were urls and handlers for vmware in the nailgun, that were removed completely in review.openstack.org/#/c/428402/15/nailgun/nailgun/api/v1/urls.py The better approach is remain the urls and make special stub-handlers instead of real ones. Change-Id: I50bf740ec726c9cc57ff63d49aff718e812e6feb Closes-Bug: #1668258 Notes (review): Verified+1: Fuel CI <fuel-ci-bot@mirantis.com> Code-Review+2: Aleksey Kasatkin <akasatkin@mirantis.com> Code-Review+2: Alexander Kislitsky <akislitsky@mirantis.com> Workflow+1: Alexander Kislitsky <akislitsky@mirantis.com> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Thu, 23 Mar 2017 13:18:50 +0000 Reviewed-on: https://review.openstack.org/438487 Project: openstack/fuel-web Branch: refs/heads/master
2017-03-23Moving task cache update into task creation transactionGeorgy Kibardin
Doing this we avoid inclusion of task cache update statement into the next transaction which may cause different problems such as deadlocks. (update happens inside make_astute_message() function) Change-Id: I865b98beb621bee089cf79f1304498fd3637d64f Closes-Bug: #1618852 Notes (review): Verified+1: Fuel CI <fuel-ci-bot@mirantis.com> Code-Review+2: Aleksey Kasatkin <akasatkin@mirantis.com> Code-Review+2: Alexander Kislitsky <akislitsky@mirantis.com> Workflow+1: Alexander Kislitsky <akislitsky@mirantis.com> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Thu, 23 Mar 2017 09:46:24 +0000 Reviewed-on: https://review.openstack.org/445869 Project: openstack/fuel-web Branch: refs/heads/master
2017-03-22Merge "Use assertIsNone instead of assertEqual(None, obj)"Jenkins
2017-03-21Merge "Introduce proper packaging for fuel-nailgun deb package"Jenkins
2017-03-21Merge "text_list attributes could be empty"Jenkins
2017-03-21Use tags instead of rolesGeorgy Kibardin
Now the deployment behaviour is driven by tags rather than role names, i.e. role name cannot be relied upon. Change-Id: Icfabeeb0b7fb6a9d697a09c3cf1fa020bbd4c323 Closes-Bug: #1669743 Notes (review): Verified+1: Fuel CI <fuel-ci-bot@mirantis.com> Code-Review+2: Alexander Kislitsky <akislitsky@mirantis.com> Workflow+1: Ihor Kalnytskyi <ikalnitsky@mirantis.com> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Fri, 24 Mar 2017 11:48:45 +0000 Reviewed-on: https://review.openstack.org/447417 Project: openstack/fuel-web Branch: refs/heads/master
2017-03-20Merge "add tests for alembic migration"Jenkins
2017-03-20Introduce proper packaging for fuel-nailgun deb packageVladimir Kuklin
Closes-bug: #1665311 Related blueprint: distributed-serialization Change-Id: I0c11d18ed456c253971a312f9fb5a41220549be5 Notes (review): Code-Review+1: Ivan Suzdal <isuzdal@mirantis.com> Code-Review+2: Alexander Kislitsky <akislitsky@mirantis.com> Verified+1: Fuel CI <fuel-ci-bot@mirantis.com> Workflow+1: Vladimir Kuklin <vkuklin@mirantis.com> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Tue, 21 Mar 2017 13:53:19 +0000 Reviewed-on: https://review.openstack.org/438938 Project: openstack/fuel-web Branch: refs/heads/master
2017-03-20Reorder configs_query by timeIgor Gajsin
There is the possibility to change OpenStack config after deployment. Changes could be applied per role. And in the case of multiple roles on a node, many changes could pretend to be applied. I.e. if we have a config for the role 'compute', a config for the role 'cinder' and a node with role 'cinder+compute' we have to choose one of them. Previous decision was 'sort it in the lexicographical order', so it applies 'cinder' then --- 'compute'. It is contra intuitive. The best option is applying to a node the last related config, to new config overlaps old ones. Change-Id: I7db388ca3baeb351adc9fdb70c55b0be50fafe48 Closes-bug: #1671521 Notes (review): Verified+1: Fuel CI <fuel-ci-bot@mirantis.com> Code-Review+1: Michael Polenchuk <mpolenchuk@mirantis.com> Code-Review+2: Alexander Kislitsky <akislitsky@mirantis.com> Code-Review+2: Aleksey Kasatkin <akasatkin@mirantis.com> Workflow+1: Aleksey Kasatkin <akasatkin@mirantis.com> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Tue, 28 Mar 2017 13:29:33 +0000 Reviewed-on: https://review.openstack.org/447059 Project: openstack/fuel-web Branch: refs/heads/master
2017-03-17Merge "Serialize mtu for dpdk interface with 'i40e' driver"Jenkins
2017-03-15Fix requests requirementsVladimir Kozhukalov
Change-Id: Ib694ea4eb0fd08b2b8532ebe00b36b49155e91a1 Closes-Bug: #1672658 (cherry picked from commit ed41575d09a6e0b4a560c5e16d8008dd3b365272) Notes (review): Code-Review+2: Alexander Kislitsky <akislitsky@mirantis.com> Code-Review+1: Stanislaw Bogatkin <sbogatkin@mirantis.com> Code-Review+1: Fedor Zhadaev <fzhadaev@mirantis.com> Code-Review+1: soumiyajit <somya.rock@gmail.com> Verified+1: Fuel CI <fuel-ci-bot@mirantis.com> Workflow+1: Alexander Kislitsky <akislitsky@mirantis.com> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Wed, 15 Mar 2017 11:10:09 +0000 Reviewed-on: https://review.openstack.org/445804 Project: openstack/fuel-web Branch: refs/heads/master
2017-03-13add tests for alembic migrationIgor Gajsin
There was the commit that removes vmware. It has alembic migrations, but doesn't have any tests for that. This commit fixes that. Change-Id: I66090b0a0d7bfbd8e2365ec027fabfefc9d612da Closes-Bug: #1668249 Notes (review): Code-Review+2: Aleksey Kasatkin <akasatkin@mirantis.com> Verified+1: Fuel CI <fuel-ci-bot@mirantis.com> Code-Review+2: Alexander Kislitsky <akislitsky@mirantis.com> Workflow+1: Alexander Kislitsky <akislitsky@mirantis.com> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Mon, 20 Mar 2017 15:13:12 +0000 Reviewed-on: https://review.openstack.org/438473 Project: openstack/fuel-web Branch: refs/heads/master
2017-03-06Serialize mtu for dpdk interface with 'i40e' driverMikhail
On NIC: XL710 with driver 'i40e' MTU does not take into account 4 bytes VLAN tag, so we should increase it manually DocImpact Change-Id: I3d95db9ec6fae4d8cd397c429d785dbdf1502b21 Partial-Bug: #1587310 Co-Authored-By: Fedor Zhadaev <fzhadaev@mirantis.com> Notes (review): Verified+1: Fuel CI <fuel-ci-bot@mirantis.com> Code-Review+2: Aleksey Kasatkin <akasatkin@mirantis.com> Code-Review+2: Alexander Kislitsky <akislitsky@mirantis.com> Workflow+1: Alexander Kislitsky <akislitsky@mirantis.com> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Fri, 17 Mar 2017 09:44:55 +0000 Reviewed-on: https://review.openstack.org/420914 Project: openstack/fuel-web Branch: refs/heads/master
2017-03-01Make Ceilometer and MongoDB experimental featuresJulia Aranovich
Since Fuel 10, Ceilometer and MongoDB services become experimental features. * Ceilometer and MongoDB settings are shown on Settings tab in Fuel UI only if "experimental" feature group is enabled * MongoDB role is available if "experimental" feature group is enabled only * Ceilometer option is removed from the cluster creation wizard Implements: blueprint remove-ceilometer Change-Id: I6df3b47c14cafb1544dfe034cd9a2c0ad14205be Notes (review): Code-Review+1: Georgy Kibardin <gkibardin@mirantis.com> Code-Review+2: Aleksey Kasatkin <akasatkin@mirantis.com> Code-Review+2: Alexander Kislitsky <akislitsky@mirantis.com> Verified+1: Fuel CI <fuel-ci-bot@mirantis.com> Workflow+1: Alexander Kislitsky <akislitsky@mirantis.com> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Thu, 02 Mar 2017 08:54:15 +0000 Reviewed-on: https://review.openstack.org/438925 Project: openstack/fuel-web Branch: refs/heads/master
2017-02-28Merge "Fixed switch to deploying state for nodes which will not be deployed"Jenkins
2017-02-22Make Murano an experimental featureJulia Aranovich
Since Fuel 10, Murano service becomes an experimental feature. * Murano settings are shown on Settings tab in Fuel UI only if "experimental" feature group is enabled * Murano option is removed from the cluster creation wizard Implements: blueprint make-murano-experimental Change-Id: I4dd0853138c045b8d7e8f6ff940c09250763a56b Notes (review): Code-Review+2: Aleksey Kasatkin <akasatkin@mirantis.com> Verified+1: Fuel CI <fuel-ci-bot@mirantis.com> Code-Review+1: Alexander Kislitsky <akislitsky@mirantis.com> Code-Review+1: Igor Gajsin <igajsin@mirantis.com> Code-Review+2: Ihor Kalnytskyi <ikalnitsky@mirantis.com> Workflow+1: Ihor Kalnytskyi <ikalnitsky@mirantis.com> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Mon, 27 Feb 2017 08:56:13 +0000 Reviewed-on: https://review.openstack.org/436576 Project: openstack/fuel-web Branch: refs/heads/master
2017-02-21Merge "remove vmware"11.0.0.0rc1Jenkins
2017-02-14remove vmwareIgor Gajsin
VMware not supported since Fuel 10. Implements: blueprint remove-vmware Change-Id: Ia26a97d13bb9c3d2e838d639efdababbb15f86da Notes (review): Code-Review+1: Georgy Kibardin <gkibardin@mirantis.com> Code-Review+1: Julia Aranovich <jkirnosova@mirantis.com> Verified+1: Fuel CI <fuel-ci-bot@mirantis.com> Code-Review+1: Fedor Zhadaev <fzhadaev@mirantis.com> Code-Review+1: Oleksiy Molchanov <omolchanov@mirantis.com> Code-Review+1: Alexander Arzhanov <aarzhanov@mirantis.com> Code-Review+2: Aleksey Kasatkin <akasatkin@mirantis.com> Code-Review+2: Ihor Kalnytskyi <ikalnitsky@mirantis.com> Workflow+1: Ihor Kalnytskyi <ikalnitsky@mirantis.com> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Tue, 21 Feb 2017 13:06:39 +0000 Reviewed-on: https://review.openstack.org/428402 Project: openstack/fuel-web Branch: refs/heads/master
2017-02-14Add limit, offset, order in collection GETDmitry Sutyagin
Allow limiting the number of objects returned via GET by providing "limit" Example: api/notifications?limit=5 Allow offseting (skipping N first records) via "offset" Example: api/notifications?offset=100 Allow ordering of objects by providing "order_by" Example: api/notifications?order_by=-id Add helper functions/classes to: - get HTTP parameters (limit, offset, order_by) - get scoped collection query by applying 4 operations filter, order, offset, limit - set Conent-Range header if scope limits are present Make default NailgunCollection's GET utilize scoped query This makes default (parent) GET of child handlers support paging and ordering (overriden GET methods will not get this functionality automatically) NailgunCollection.GET is also an example of how to implement this new functionality. Helper functions/classes can be utilized in child handler methods to implement filters / ordering / paging Related-Bug: 1657348 Change-Id: I7760465f70b3f69791e7a0c558a26e8ba55c934a Notes (review): Code-Review+1: Julia Aranovich <jkirnosova@mirantis.com> Verified+1: Fuel CI <fuel-ci-bot@mirantis.com> Code-Review+1: Alexander Kislitsky <akislitsky@mirantis.com> Code-Review+1: Georgy Kibardin <gkibardin@mirantis.com> Code-Review+2: Aleksey Kasatkin <akasatkin@mirantis.com> Workflow+1: Ihor Kalnytskyi <ikalnitsky@mirantis.com> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Mon, 20 Feb 2017 13:14:19 +0000 Reviewed-on: https://review.openstack.org/424380 Project: openstack/fuel-web Branch: refs/heads/master
2017-02-13Merge "Limit the minimal RAM amount for OVS+DPDK to 1024MB"Jenkins
2017-02-09Merge "Set nodes' statuses to 'error' when their nodegroup is deleted"Jenkins
2017-02-08Merge "Handler for changing notifications statuses added"Jenkins
2017-02-08Fixed switch to deploying state for nodes which will not be deployedBulat Gaifullin
Nodes can be exluded from deployment, if there is no tasks to run on this nodes. Such nodes should not be switched to deployment state. Change-Id: I4cd23769b7643aae7b149ba30e5b0e91a3021563 Notes (review): Verified+1: Fuel CI <fuel-ci-bot@mirantis.com> Code-Review+1: Georgy Kibardin <gkibardin@mirantis.com> Code-Review+1: Alexander Kislitsky <akislitsky@mirantis.com> Code-Review+2: Ilya Kutukov <post.ilya@gmail.com> Workflow+1: Bulat Gaifullin <gaifullinbf@gmail.com> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Tue, 28 Feb 2017 21:33:49 +0000 Reviewed-on: https://review.openstack.org/424192 Project: openstack/fuel-web Branch: refs/heads/master
2017-02-07Prepare for using standard python testsAndreas Jaeger
Add simple script to setup mysql and postgresql databases, this script can be run by users during testing and will be run by CI systems for specific setup before running unit tests. This is exactly what is currently done by OpenStack CI in project-config. This allows to change in project-config the python-db jobs to python-jobs since python-jobs will call this script initially. See also http://lists.openstack.org/pipermail/openstack-dev/2016-November/107784.html Change-Id: Ib72322030d7dc6979380f74379893084610982a1 Notes (review): Code-Review+1: Alexander Kislitsky <akislitsky@mirantis.com> Verified+1: Fuel CI <fuel-ci-bot@mirantis.com> Code-Review+2: Ihor Kalnytskyi <ikalnitsky@mirantis.com> Workflow+1: Ihor Kalnytskyi <ikalnitsky@mirantis.com> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Wed, 08 Feb 2017 10:34:00 +0000 Reviewed-on: https://review.openstack.org/428370 Project: openstack/fuel-web Branch: refs/heads/master
2017-02-07Set nodes' statuses to 'error' when their nodegroup is deletedVladimir Kuklin
According to the bug below and the spec, we did not implement one multirack feature aspect. https://specs.openstack.org/openstack/fuel-specs/specs/8.0/multi-rack-static.html#notifications-impact Now we add resetting node to error to node group deletion callback and send a notification. Change-Id: I6b2bae5601ba7dbca620bb3861e95b0e554f8699 Closes-bug: #1644630 Notes (review): Code-Review+1: Georgy Kibardin <gkibardin@mirantis.com> Code-Review+1: Alexander Kislitsky <akislitsky@mirantis.com> Code-Review+2: Aleksey Kasatkin <akasatkin@mirantis.com> Code-Review+2: Bulat Gaifullin <gaifullinbf@gmail.com> Verified+1: Fuel CI <fuel-ci-bot@mirantis.com> Workflow+1: Aleksey Kasatkin <akasatkin@mirantis.com> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Thu, 09 Feb 2017 11:17:07 +0000 Reviewed-on: https://review.openstack.org/422166 Project: openstack/fuel-web Branch: refs/heads/master
2017-02-07Merge "Moving task cache update into task creation transaction"Jenkins
2017-02-07Limit the minimal RAM amount for OVS+DPDK to 1024MBAnastasiya
* min value was set in consts * appropriate validator was added * tests for validator were changed * test for serializer were changed Change-Id: Ib8ccb0658bd401ce492257f855013d1d7e0f2dac Closes-Bug: #1653081 Notes (review): Code-Review+1: Georgy Kibardin <gkibardin@mirantis.com> Verified+1: Fuel CI <fuel-ci-bot@mirantis.com> Code-Review+2: Ihor Kalnytskyi <ikalnitsky@mirantis.com> Code-Review+2: Aleksey Kasatkin <akasatkin@mirantis.com> Workflow+1: Aleksey Kasatkin <akasatkin@mirantis.com> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Mon, 13 Feb 2017 12:25:55 +0000 Reviewed-on: https://review.openstack.org/422481 Project: openstack/fuel-web Branch: refs/heads/master
2017-02-07Handler for changing notifications statuses addedAlexander Kislitsky
As workaround for decreasing loading in the UI on unread notifications fetching we can mark all notifications as read. For such purposes we add NotificationsMarkAllHandler Change-Id: I2e6a0daaf8712ab3064df728a8fb463ef805aa06 Partial-Bug: #1657348 Notes (review): Code-Review+1: Georgy Kibardin <gkibardin@mirantis.com> Verified+1: Fuel CI <fuel-ci-bot@mirantis.com> Code-Review+1: Julia Aranovich <jkirnosova@mirantis.com> Code-Review+2: Aleksey Kasatkin <akasatkin@mirantis.com> Workflow+1: Ihor Kalnytskyi <ikalnitsky@mirantis.com> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Wed, 08 Feb 2017 14:32:33 +0000 Reviewed-on: https://review.openstack.org/427085 Project: openstack/fuel-web Branch: refs/heads/master
2017-02-07Stick to jsonschema prior 2.6.0Georgy Kibardin
Since they have broken compatibility in error messages. Closes-Bug: #1662529 Change-Id: I8c7449297a488ea3fe90cda58e5dba0d8d4d68ff Notes (review): Code-Review+2: Bulat Gaifullin <gaifullinbf@gmail.com> Code-Review+2: Aleksey Kasatkin <akasatkin@mirantis.com> Code-Review+1: Alexander Kislitsky <akislitsky@mirantis.com> Verified+1: Fuel CI <fuel-ci-bot@mirantis.com> Workflow+1: Bulat Gaifullin <gaifullinbf@gmail.com> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Tue, 07 Feb 2017 16:14:27 +0000 Reviewed-on: https://review.openstack.org/430216 Project: openstack/fuel-web Branch: refs/heads/master
2017-01-31Moving task cache update into task creation transactionGeorgy Kibardin
Doing this we avoid inclusion of task cache update statement into the next transaction which may cause different problems such as deadlock. In this particular case we've got the following deadlock: 1. DeleteIBPImagesTask makes UPDATE tasks SET cache.... 2. Response handler in receiver makes SELECT clusters FOR UPDATE 3. The code following DeleteIBPImagesTask makes SELECT clusters FOR UPDATE 4. Response handler performs SELECTS tasks FOR UPDATE Change-Id: Ic8e5f2386364421b0667f920499e031f587f726e Closes-Bug: #1653083 Notes (review): Code-Review+1: Alexander Kislitsky <akislitsky@mirantis.com> Verified+1: Fuel CI <fuel-ci-bot@mirantis.com> Code-Review+2: Bulat Gaifullin <gaifullinbf@gmail.com> Code-Review+2: Aleksey Kasatkin <akasatkin@mirantis.com> Workflow+1: Bulat Gaifullin <gaifullinbf@gmail.com> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Tue, 07 Feb 2017 17:11:22 +0000 Reviewed-on: https://review.openstack.org/426675 Project: openstack/fuel-web Branch: refs/heads/master
2017-01-31Merge "Handler for counting notifications statuses added"Jenkins
2017-01-30Handler for counting notifications statuses addedAlexander Kislitsky
For calculation of notifications statuses we made requests in the UI and fetch all notifications data and process them on the UI side. We want to replace a polling of the whole notification collection by a polling of unread notifications number. This dramatically decrease Fuel UI load in case of a big amount of notifications. Change-Id: I8f83d4e2d7f58beaf06c489b2264ccb69f9927ce Partial-Bug: #1657348 Notes (review): Code-Review+2: Aleksey Kasatkin <akasatkin@mirantis.com> Verified+1: Fuel CI <fuel-ci-bot@mirantis.com> Code-Review+1: Julia Aranovich <jkirnosova@mirantis.com> Workflow+1: Ihor Kalnytskyi <ikalnitsky@mirantis.com> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Tue, 31 Jan 2017 11:36:38 +0000 Reviewed-on: https://review.openstack.org/425719 Project: openstack/fuel-web Branch: refs/heads/master
2017-01-26Message format on node(-s) deletion error changedAlexander Kislitsky
In case of already running task we are returning JSON instead of plain text. Change-Id: Ic3998b8e534b2fa67813faf033335e849abe55af Closes-Bug: #1657350 Notes (review): Code-Review+1: Julia Aranovich <jkirnosova@mirantis.com> Verified+1: Fuel CI <fuel-ci-bot@mirantis.com> Code-Review+2: Aleksey Kasatkin <akasatkin@mirantis.com> Code-Review+2: Ihor Kalnytskyi <ikalnitsky@mirantis.com> Workflow+1: Ihor Kalnytskyi <ikalnitsky@mirantis.com> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Fri, 27 Jan 2017 21:07:48 +0000 Reviewed-on: https://review.openstack.org/425684 Project: openstack/fuel-web Branch: refs/heads/master
2017-01-23Use assertIsNone instead of assertEqual(None, obj)Cuong Nguyen
As stated by document [1], it's better to use assertIsNone instead of assertEqual(None, obj) [1] http://docs.openstack.org/developer/hacking/#unit-tests-and-assertraises Change-Id: I2dd12c4e5c31761e2069c96cf135a8d306d13cb8 Notes (review): Code-Review+1: Georgy Kibardin <gkibardin@mirantis.com> Code-Review+1: Vitalii Kulanov <vitaliy@kulanov.org.ua> Verified+1: Fuel CI <fuel-ci-bot@mirantis.com> Code-Review+1: Nam Nguyen Hoai <namnh@vn.fujitsu.com> Code-Review+2: Aleksey Kasatkin <akasatkin@mirantis.com> Workflow+1: Aleksey Kasatkin <akasatkin@mirantis.com> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Wed, 22 Mar 2017 17:23:16 +0000 Reviewed-on: https://review.openstack.org/423902 Project: openstack/fuel-web Branch: refs/heads/master
2017-01-19Merge "Fix typo in sriov.numvfs 9.2 migration"Jenkins