sprint 44 review

41
ManageIQ Sprint 44 Review - Sprint End August 1, 2016 August 3, 2016

Upload: manageiq

Post on 07-Jan-2017

1.265 views

Category:

Software


0 download

TRANSCRIPT

Page 1: Sprint 44 review

ManageIQ

Sprint 44 Review - Sprint End August 1, 2016

August 3, 2016

Page 2: Sprint 44 review

Overview

● Sprint Statistics (Oleg Barenboim)● Community Update (Carol Chen)● Providers (Greg Blomquist)● User Interface (Dan Clarizio)● Platform (Gregg Tanzillo)● REST API (Alberto Bellotti)● Automate (Greg McCullough)● Performance (Dennis Metzger)● Quality Engineering (Dave Johnson)● Discussion

Page 3: Sprint 44 review

Sprint Statistics (O. Barenboim)

345 Pull Requests Merged

Page 4: Sprint 44 review

PR Breakdown by Feature Category (O. Barenboim)

* Note that some PRs have more than one category.

Providers

Page 5: Sprint 44 review

Sprint Comparison (O. Barenboim)

Page 6: Sprint 44 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

Repositorymanageiq 345integration_tests 52manageiq-ui-self_service 15manageiq.org 8azure-armrest 7wrapanapi 7foreman_api_client 6miq_bot 6manageiq_docs 5manageiq-api-client 5manageiq-providers-amazon 5guides 3manageiq-appliance 3pg-dsn_parser 3ansible_tower_client 2more_core_extensions 2ovirt 2azure-signature 1linux_admin 1manageiq-appliance-build 1ovirt_metrics 1Total 480

Page 7: Sprint 44 review

Community Update(C. Chen)

● ManageIQ Design Summit 2016 recap (videos, slides, pics, etc.) -

http://manageiq.org/blog/2016/07/manageiq-design-summit-2016-recap-with-

photos-and-videos/

● New blog series: “Last Week in ManageIQ” #LWIMIQ

○ http://manageiq.org/blog/2016/07/last-week-in-manageiq-faster-reports-cloud-networks-and-m

ore/

○ http://manageiq.org/blog/2016/08/last-week-in-manageiq-saying-goodbye-to-rubyrep/

● Manageiq.org website - renewal work ongoing

● Events

Page 8: Sprint 44 review

Providers(G. Blomquist)

Page 9: Sprint 44 review

Providers (G. Blomquist)

Support floating IPs during provisioning

Cross-linking with OpenStack instances

Metrics!

RHEV v4 API

Page 10: Sprint 44 review

Providers - Nuage(G. Blomquist)

Inventory of Managed Cloud Subnets

First PR!

Page 11: Sprint 44 review

Providers - VMware vSphere(G. Blomquist)

Storage Profiles modeling and inventory

Page 12: Sprint 44 review

Providers - VMware vCloud(G. Blomquist)

Initial PRs for modeling and inventory (including vApps)

(Video for Sprint 45!)

Page 13: Sprint 44 review

Providers - Hawkular (A.Bonas)

New features:

● New operations on deployments:○ Add new deployment○ Start/stop deployment

● Performance reports for datasources● Collect more metrics for datasource

Misc:

● Upgrade of Hawkular gem to 2.3.0● Skip unreachable middleware providers when reporting● Add re-checking authentication status functionality/button● Bug fixes

Page 14: Sprint 44 review

Providers - Pluggability(G. Blomquist)

“Ask, don’t assume”

● SupportsFeatureMixin○ supports :evacuate○ supports :resize○ supports :retire○ supports :regions ○ supports :migrate

Page 15: Sprint 44 review

User InterfaceDan Clarizio

● PRs merged (132)○ SSUI (15)○ Bugs (78)○ Enhancements (32)○ Backported to Darga (52)

● Refactoring○ Converted to TreeBuilder - Snapshot, Policy, Policy RSOP, C&U Build

Datastores and Clusters/Hosts, Automate Results○ Quadicons○ Explorer Presenter RJS removal○ CodeMirror version updated (used for text/yaml editors)

Page 16: Sprint 44 review

User Interface

● Enhancements○ Both UIs updated to latest PatternFly and Angular PatternFly○ Self Service UI language selections separated from Operations UI○ Internationalization

Virtual Columns

Toolbars

Removed string interpolation (for better localization)Changed to use gettext’s pluralization

○ Ansible Tower Jobs moved to the Configuration tab (from Clouds/Stacks)○ Interactivity added to C3 charts on C&U screens (demo)

Page 17: Sprint 44 review

User InterfaceAnsible Tower Jobs on Configuration Tab

Page 18: Sprint 44 review

User InterfaceAnsible Tower Jobs on Configuration Tab

Page 19: Sprint 44 review

User InterfaceC3 Charts Capacity & Utilization Interactivity

Demo

Page 20: Sprint 44 review

PlatformGregg Tanzillo

Enhancements and Bug Fixes

● PostgreSQL High Availability

● Tenancy

● Replication

● Additional Enhancements and Bug Fixes

● Rest API

Page 21: Sprint 44 review

PlatformGregg Tanzillo

PostgreSQL High Availability● repmgr package added to appliance

○ http://repmgr.org/

○ https://github.com/2ndQuadrant/repmgr

○ Provides support for automatic failover

● Maintain list of active standby database servers

○ Queries repmgr schema and persists locally in YAML

● WIP - Standby DB config in Appliance Console

Page 22: Sprint 44 review

PlatformGregg Tanzillo

PostgreSQL High Availability● New gem pg-dsn_parser for converting DSN to a hash

● Was originally in our ActiveRecord extensions

Page 23: Sprint 44 review

PlatformGregg Tanzillo

Tenancy

● Work is in progress to support sharing resources across

tenants

● Added parent_id to CloudTenant

○ Pre-requisite for mapping OpenStack tenants to

ManageIQ tenants

Page 24: Sprint 44 review

PlatformGregg Tanzillo

Replication (rubyrep)

Page 25: Sprint 44 review

Additional Enhancements and Bug Fixes

● Watermark reports updated to be based on max of daily

max value instead of max of average value

● Nice values added back to worker processes

● Removed hourly checking of log growth and rotation if >

1gb

● Expression refactoring and cleanup with relative dates

and times

PlatformGregg Tanzillo

Page 26: Sprint 44 review

REST APIAlberto Bellotti

Continuing Refactoring

● 12 Refactoring PR’s merged● ApiController::CollectionConfig● Include backtrace in test error responses● Using response.parsed_body● Clarifying rspecs expectations

Page 27: Sprint 44 review

REST APIAlberto Bellotti

Added support for arbitrary resource paths

● In preparation for upcoming /api/automate● Supported via :arbitrary_resource_path in collection

options in api.yml

Page 28: Sprint 44 review

REST APIAlberto Bellotti

Work started on the ManageIQ API Client

● Ruby gem (not published yet)● ManageIQ::API::Client● https://github.com/ManageIQ/manageiq-api-client● Foundation work merged

connectivity, authentication, dynamic classes for collections and resources, actions, searches, error handling, entrypoint details, ...

● Remaining TODOs logged as issues

Page 29: Sprint 44 review

REST APIAlberto Bellotti

Added support for Arbitration Profiles● New /api/arbitration_profiles collection● Full CRUD for Arbitration Profiles

GET /api/arbitration_profiles - Query

POST /api/arbitration_profiles - Create

{

“name” : “aws arbitration default”,

“provider” : { “id” : 5 }

}

POST /api/arbitration_profiles/:id - action “edit” to Edit single resource

{

“action” : “edit”,

“resource” : { “availability_zone” : { “id” : 24 }

}

POST /api/arbitration_profiles - action “edit” to Edit multiple resources

DELETE /api/arbitration_profiles/:id - Delete single resource

POST /api/arbitration_profiles - action “delete” to Delete multiple resources

Page 30: Sprint 44 review

REST APIAlberto Bellotti

Enhancement to /api/users for settings● Users can now update their own e-mail address and settings in addition to

password● /api entrypoint updated to return user’s settings

GET /api

{

“name” : “API”,

“settings” : {

“locale” : “en”,

“display” : {

“timezone” : “UTC”,

“theme” : “red”,

},

}

}

Page 31: Sprint 44 review

REST APIAlberto Bellotti

Added support for Arbitration Settings● New /api/arbitration_settings collection● Full CRUD for Arbitration Settings

GET /api/arbitration_settings - Query

POST /api/arbitration_settings - Create

{

“name” : “test_settings”,

“display_name” : “Test Settings”

}

POST /api/arbitration_settings/:id - action “edit” to Edit single resource

POST /api/arbitration_settings - action “edit” to Edit multiple resources

DELETE /api/arbitration_settings/:id - Delete single resource

POST /api/arbitration_settings - action “delete” to Delete multiple resources

Page 32: Sprint 44 review

REST APIAlberto Bellotti

Added support for Cloud Networks queries● New /api/cloud_networks collection● cloud_networks subcollection for /api/providers

● Querying Cloud Networks as follows:

GET /api/cloud_networks

GET /api/cloud_networks/:id

GET /api/providers/:id/cloud_networks

GET /api/providers/:id/cloud_networks/:id

GET /api/providers/:id/cloud_networks/:cloud_networks_id?attributes=security_groups

Page 33: Sprint 44 review

AutomateGreg McCullough

● Simulation ○ Updated defaults:

■ Entry-point: System/Process/Request (Previous value of “Automation”)■ Execute Method: Enabled

○ RBAC filtering applied to Object Attributes

Page 34: Sprint 44 review

AutomateGreg McCullough

● Infrastructure Provision○ Update memory values for VM provisioning dialogs

■ 1, 2, 4, 8, 12, 16, 32 GB

● Service Provisioning○ Expose the number_of_vms when building the provision request for a

service.○ The number_of_vms can be set it multiple places:

■ Catalog Item■ Single Service Item Dialog■ Bundle Service Dialog

Page 35: Sprint 44 review

AutomateGreg McCullough

Page 36: Sprint 44 review

AutomateGreg McCullough

● Service Dialogs○ Support for “visible” flag for dynamic fields

Page 37: Sprint 44 review

AutomateGreg McCullough

● Expose Compliance and ComplianceDetail models to the Automation. (PR #9716)○ This allows for a number of use cases where it is beneficial to programmatically access the

most recent compliance status for a resource, and list the details of each condition tested.

● New associations on VmOrTemplate and Host models:○ expose :compliances○ expose :last_compliance

● New Service Models○ Compliance

■ expose :compliance_details○ ComplianceDetail

■ expose :compliance■ expose :miq_policy

Page 38: Sprint 44 review

AutomateGreg McCullough

● Generic Object○ Service models created for:

■ GenericObject■ GenericObjectDefinition

● Continued efforts:○ Automate model changes for Pluggable providers○ Creating Service BluePrints○ Support for Git backed Automate domains

Page 39: Sprint 44 review

Performance(Dennis Metzger)

Capacity and Utilization (C & U) - Scheduling Improvements

● Building on enhancements from previous sprint

● Scheduling reduced to 43 from 119 seconds in local test environment

● Analyzed a large environment that was unable to run C & U ○ Appliances were consuming large amounts of swap and becoming unresponsive

○ After applying updates, the result was zero use of swap and memory use decreased

greater than 50%

Page 40: Sprint 44 review

Quality Engineering(D. Johnson)

● New integration_tests and wrapanapi project repos● Working on our next iteration of the test automation (fw30)

○ Simplifying use and improving API consistency○ Restructuring test parametrization around available MIQ

endpoints■ Same test whether it is run against the Web UI, REST,

rake, database (Write Once, Run Many)○ Restructuring UI navigation

● More Middleware support and test coverage● More Azure support and test coverage● Various fixes to help with test failures

Page 41: Sprint 44 review

Discussion

Sprint 45 Review - August 24