Top Banner
ManageIQ Sprint 40 Review - Sprint End May 9, 2016 Darga Stabilization May 11, 2016
46

Sprint 40 review

Apr 14, 2017

Download

Technology

ManageIQ
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Sprint 40 review

ManageIQSprint 40 Review - Sprint End May 9, 2016Darga StabilizationMay 11, 2016

Page 2: Sprint 40 review

Overview● Sprint Statistics (Oleg Barenboim)● Providers (G. Blomquist)● User Interface (D. Clarizio)● Platform (Gregg Tanzillo)● REST API (Alberto Bellotti)● Automate (Greg McCullough)● Performance (Dennis Metzger)● Discussion

Page 3: Sprint 40 review

Sprint Statistics(O. Barenboim)

330 Pull Requests MergedOut of 183 Bugs, 172 were Darga backports

Page 4: Sprint 40 review

Darga Backports(O. Barenboim)

269 Darga Backports172 Darga Backports that are Bugs

Page 5: Sprint 40 review

PR Breakdown by Feature Category (O. Barenboim)

* Note that some PRs have more than one category.

Providers

Page 6: Sprint 40 review

Sprint Comparison (O. Barenboim)

Page 7: Sprint 40 review

All Repo Stats (O. Barenboim)

Data source:

https://github.com/ManageIQthese are listed by most recent activity. go into each one that has been updated in the past 20 days and add up the PRs that have been merged

Order descending by #PRs merged

Repository PRs Merged

manageiq 330

ansible_tower_client 2

azure-armest 3

guides 1

manageiq_docs 1

manageiq-appliance 4

manageiq-appliance-build 6

manageiq-ui-self_service 7

manageiq.org 5

ovirt 3

ovirt_metrics 2

virtfs 1

Total 363

Page 8: Sprint 40 review

Darga● Release Candidate this week● Sprint 41 = Darga Final Stabilization● Darga Release scheduled in June● Look for Talk Topic for Vote to Name E Release

Page 9: Sprint 40 review

Providers (G. Blomquist)

Page 10: Sprint 40 review

Providers (G. Blomquist)

Enable / Disable cloud services

Make Keystone V3 Domain ID Configurable

Page 11: Sprint 40 review

Providers (G. Blomquist)

Volume claims

Page 12: Sprint 40 review

Providers (G. Blomquist)

Events!

Better OS identification for VMs

Page 13: Sprint 40 review

Providers (G. Blomquist)

Distributed Switch Inventory

Page 14: Sprint 40 review

Providers - Middleware/Hawkular (A. Bonas)

Sprint overview● Live metrics● Events Timeline Pop-Up Links● Data sources● Default middleware views● Topology● Tests● Bug fixes

Page 15: Sprint 40 review

Middleware/Hawkular - Live metrics(A. Bonas)

● Collected live on demand from Hawkular, not persisted in miq db.

● No need to enable C&U workers

Page 16: Sprint 40 review

Middleware/Hawkular - event links (A. Bonas)

● Links to provider and entity in event popups

Page 17: Sprint 40 review

Middleware/Hawkular - Default views(A. Bonas)

● Allow to configure default views for all middleware entities.

Page 18: Sprint 40 review

Middleware/Hawkular - Datasources (A. Bonas)

● New entity Datasource - UI and backend were added (not in topology yet)

Page 19: Sprint 40 review

Middleware/Hawkular - Misc(A. Bonas)

● Topology - backend was rewritten based on generic topology

● Topology - more unit tests were added● Bug fixes - removing not implemented and

irrelevant features from UI

Page 20: Sprint 40 review

User Interface (D. Clarizio)

● PRs merged (140+)

○ SSUI (10)

○ Bugs (90)

○ Enhancements (27)

○ Refactoring/Technical Debt (18)

Page 21: Sprint 40 review

User Interface (D. Clarizio)

● New functionality

○ Containers - Added Persistent Volume Claims + UI

○ Containers - Added Seed for policies, policy sets, policy contents and

conditions

○ Containers - Auto-tagging from kubernetes labels (backend only)

○ Containers - Added MiqAction to annotate container images as non

secure at openshift

○ OpenStack - Cloud Volumes Add/Delete/Update/Attach/Detach

○ Ansible Inventories/Configured Systems

○ SSUI Navigation bar restyled to match Operations UI

○ SSUI HTML5 Console support for Service VMs (using new console-

proxy implementation)

○ SSUI Shopping Cart

○ New development tool: tota11y (H. Rupp)

Page 22: Sprint 40 review

User InterfaceOpenStack Cloud Volumes

Page 23: Sprint 40 review

User InterfaceAnsible Inventories/Configured Systems

Page 24: Sprint 40 review

User InterfaceAnsible Inventories/Configured Systems

Page 25: Sprint 40 review

User InterfaceAnsible Inventories/Configured Systems

Page 26: Sprint 40 review

User InterfaceSSUI Updated Navigation Style

Page 27: Sprint 40 review

User InterfaceSSUI HTML5 Console Support

Page 28: Sprint 40 review

User InterfaceSSUI Shopping Cart

Demo

Page 29: Sprint 40 review

User Interface (dev) - tota11y(H. Rupp)

Tool to improve accessibility (a11y)

Page 30: Sprint 40 review

User Interface (dev) - tota11y(H. Rupp)

Page 31: Sprint 40 review

Platform (G. Tanzillo)

Enhancements and Bug Fixes

● Replication

● Tenancy

● Expressions

● oVirt Metrics Gem

● Chargeback

● Rest API (A. Bellotti)

Page 32: Sprint 40 review

Platform - Replication(G. Tanzillo)

Database Schema● Column order is important for pglogical

○ Regional and Global DBs MUST have identical

schemas

○ Migrations must have timestamp later than the last

migration of previous version for correct column order

○ Specs added to validate schema

○ See New Schema Specs for New Replication

Page 33: Sprint 40 review

Platform - Tenancy(G. Tanzillo)

Splitting MiqGroup, Part 2

● Filters moved to to Entitlement model

● Enabler for sharing entitlements across tenants

Page 34: Sprint 40 review

Platform - Expressions(G. Tanzillo)

MiqExpression refactoring

● Refactoring existing tests

● Adding new tests for areas lacking coverage

● Building SQL with Arel

Page 35: Sprint 40 review

Platform - oVirt Metrics

ovirt-metrics gem fixed for Rails 5

● oVirt DB requires Postgres 8.4

● Rails 5 requires Postgres 9.1 or higher

● Gem updated with custom adapter to enable running on

Rails 5 and connecting to oVirt DB on Postgres 8.4

Page 36: Sprint 40 review

Platform - Chargeback(G. Tanzillo)

Chargeback Rate Tiers / Multi-currency

Demo

Page 37: Sprint 40 review

REST API (A. Bellotti)

● Post Darga versioning updated to v2.3.0-pre

● Added GET role identifiers○ Earlier, GETs results were only RBAC filtered

○ With this change, GET requests are first verified against the user’s role

and return a 403 if unauthorized to do the queries.

● Added support for Shopping Carts○ New /api/service_orders collection

■ with service_requests subcollection via /api/service_orders/[cart|:id]/service_requests

○ GET /api/service_orders○ GET /api/service_orders/cart - current shopping cart○ GET /api/service_orders/:id - wish list, previously ordered carts or the

shopping cart by id

Page 38: Sprint 40 review

REST API (A. Bellotti)

● Creating shopping cart○ This will create the new shopping cart /api/service_orders/cart with the

new service_requests created.○ If the shopping cart already exists, this will add the service_requests to it.

POST /api/service_orders{

“service_requests” : [

{

“service_template_href” : “/api/service_templates/3”,

“attr1” : “value1”,

“attr2” : “value2”,

},

{

“service_template_href” : “/api/service_templates/4”,

}

]

}

Page 39: Sprint 40 review

REST API (A. Bellotti)

Also, Adding and removing service requests from a shopping cart● POST /api/service_orders/[cart|:id]/service_requests - action add● POST /api/service_orders/[cart|:id]/service_requests - action remove

Deleting shopping carts● POST /api/service_orders/[cart|:id] - action delete● DELETE /api/service_orders/[:cart|:id]

Clearing the Cart● POST /api/service_orders/[cart|:id] - action clear

Ordering the Cart

● POST /api/service_orders/[cart|:id] - action order

Page 40: Sprint 40 review

REST API (A. Bellotti)

● Exposing vms as formal subcollection of services● GET /api/services/:id/vms

Allows for querying additional attributes for the vms resources of a service● GET /api/services/:id?expand=vms&attributes=vms.num_cpu

● Added support for decorators via the decorators= parameter similar to attributes.○ Currently supporting vms subcollection○ GET /api/services/:id?expand=vms&decorators=vms.supports_console?

Page 41: Sprint 40 review

Automate(G. McCullough)

● Default Retirement state-machine behavior changed to retain record (historical data)○ DeleteFromVMDB state commented out

● New Service Model:○ Account

■ Exposed on vm_or_template model as:● accounts● users● groups

Page 42: Sprint 40 review

Provisioning(G. McCullough)

● VMware Distributed Switches now referenced from database during provisioning workflow○ Previously required connection to provider when

workflow initialized○ Known issues

■ Extended loading times■ Increased session size due to caching of results■ Possible connection timeouts

Page 43: Sprint 40 review

Ansible Tower(G. McCullough)

● Automate ○ New wait_for_ip method/state added to state-

machine

● Services○ Added support for generating Service Dialogs from

AnsibleTower JobTemplate○ Support setting AnsibleTower JobTemplate variables

through:■ Dialog Options■ Automate methods

Page 44: Sprint 40 review

Performance (D. Metzger)

Pull RequestsTotal Merged: 10

Bugs: 3

Refactoring: 2

Enhancements: 5

Page 45: Sprint 40 review

Performance (D. Metzger)

● Eliminated a Drb related thread leak○ Discovered in the QE Automate Workload test

● Fixed performance capture failure on cloud platforms○ Caused by orphan VMs○ DB repair script provided to customer○ Code updated to prevent the orphan creation

● MiqRequestWorkflow enhancement○ Optional use of RBAC in dialog field validation○ 10 minute service template provision test reduced to 4

minutes

Page 46: Sprint 40 review

Discussion

Next Sprint Review - June 1