O p e n S t a c k M a n i l a P r o j e c t U - - PowerPoint PPT Presentation

o p e n s t a c k m a n i l a
SMART_READER_LITE
LIVE PREVIEW

O p e n S t a c k M a n i l a P r o j e c t U - - PowerPoint PPT Presentation

M a y 2 0 1 8 O p e n S t a c k M a n i l a P r o j e c t U p d a t e , O p e n S t a c k S u m m i t V a n c o u v e r T o m B a r r o n I R C : t b a r r o n E M A


slide-1
SLIDE 1

O p e n S t a c k M a n i l a

P r

  • j

e c t U p d a t e , O p e n S t a c k S u m m i t V a n c

  • u

v e r T

  • m

B a r r

  • n

I R C : t b a r r

  • n

E M A I L : t b a r r

  • n

@r e d h a t . c

  • m

, t p b @d y n c l

  • u

d . n e t

M a y 2 1 8

slide-2
SLIDE 2

A g e n d a

Wh a t ’ s M a n i l a

P r

  • b

l e m S p a c e , P r

  • b

l e m B a c k g r

  • u

n d

Q u e e n s R e l e a s e U p d a t e

A P I c h a n g e s , F e a t u r e s , D r i v e r i m p r

  • v

e m e n t s

R

  • c

k y a n d B e y

  • n

d

P r i

  • r

i t i e s , T h e m e s

slide-3
SLIDE 3

M a n i l a ?

M a n i l a i s t h e c

  • n

t r

  • l

p l a n e t

  • p

r

  • v

i s i

  • n

a n d m a n a g e s h a r e d fi l e s y s t e m s a c r

  • s

s s t

  • r

a g e s y s t e m s . O n e p

  • p

u l a r

  • v

e r s i m p l i fi c a t i

  • n

: M a n i l a i s C i n d e r f

  • r

fi l e s h a r e s . F

  • r

k

  • f

O p e n S t a c k C i n d e r , b u i l t b y a s h a r e d p

  • l
  • f

d e v e l

  • p

e r s , s h a r e s m u c h

  • f

C i n d e r ’ s a r c h i t e c t u r e . B u t i t s

  • l

v e s a n e w c l a s s

  • f

p r

  • b

l e m s t h a t C i n d e r d

  • e

s n

  • t

n a t u r a l l y a d d r e s s . Think: manila file folders

slide-4
SLIDE 4

M a n i l a ?

  • Consistent, simple REST API
  • Open Source drivers & drivers for

proprietary vendor back ends (close to 30 now)

  • Multiple NAS protocols
  • Queens release had 41 unique reviewers

and 44 unique contributors representing 21 companies

  • 7th production quality release
  • Growing adoption (Ocata user survey:

14%)

  • Increasing development activity and use
  • utside manila proper in TripleO, Kolla,

Charms, gophercloud, gophercloud, etc. to integrate and deploy manila both inside and outside of OpenStack proper

slide-5
SLIDE 5

Q u e e n s

17th release of OpenStack / 7th official release

  • f Manila
slide-6
SLIDE 6

X

  • O

p e n s t a c k

  • M

a n i l a

  • A

P I

  • V

e r s i

  • n

A P I C h a n g e s

2.41 2.42

‘description’ in share-type create/list APIs

‘with count’ in share-list APIs

slide-7
SLIDE 7

P i k e a d d e d s u p p

  • r

t f

  • r

I P v 6 e x p

  • r

t s a n d a c c e s s r u l e s B u t l a c k e d d r i v e r s u p p

  • r

t e x c e p t f

  • r

t h e L V M b a c k e n d . * N e t A p p * D e l l E M C U n i t y * D e l l E M C V N X * fi x e d s

  • m

e n a s t y b u g s * I P v 6 s c e n a r i

  • t

e s t s i n u p s t r e a m C I

N e w i n Q u e e n s – I P v 6 g e t s r e a l

slide-8
SLIDE 8

N e w i n Q u e e n s – g e t t

  • t

a l c

  • u

n t i n f

  • i

n s h a r e l i s t A P I s

  • Now we don’t have to list all the instances of the shares for a user in order to show how much they

are using.

  • Real world use case (Huawei public cloud)
  • API change, backwards compatible
slide-9
SLIDE 9

N e w i n Q u e e n s – s ma r t e n s u r e

  • s

h a r e

  • When the manila-share service starts up an internal method called ‘ensure-share’ is run to

reconcile manila’s view of the back end state as maintained in its database with the back end’s actual state.

  • Export locations could have changed – e.g. back end became IPv6 capable.
  • Back end software could have been upgraded
  • Driver can ensure that back end state is correct or update manila’s state as appropriate.
  • Most of the time nothing needs to be done but if the back end has many shares and each one

needs to be checked startup can be delayed.

  • So we introduced a mechanism where the manager calls get_backend_info() and the back end

returns a dictionary of key/values for potential update.

  • Manager computes a hash of these and compares it with its last hash. If these match, nothing

needs to be done.

  • If they don’t match the manager runs ensure_shares() which returns a list of model updates for

each share on the back end.

slide-10
SLIDE 10

N e w i n Q u e e n s – D r i v e r a d d i t i

  • n

s a n d e n h a n c e me n t s

  • New Infinidat Infinibox driver
  • New Veritas Access driver
  • Fixed new share size when creating from NetApp snapshot
  • Store ganesha exports and export counter in Ceph RADOS
  • Huawei driver supports revert-to-snapshot
  • QNAP driver added support for thin-provisioning, de-duplication,

compression, SSD cache

  • NetApp “NVE” (volume encryption at rest) support
  • Fixes to make the generic driver more robust
slide-11
SLIDE 11

N e w i n Q u e e n s – O p e n S t a c k c

  • mmu

n i t y g

  • a

l s

  • Policy in code
  • Completed migration of doc in-tree (and lots of doc

fixes)

  • Enabled mutable configuration via oslo (Rocky goal)
  • Manila tempest test plugin moved to its own repository
  • Zuul v3 migration
slide-12
SLIDE 12
  • D

i s t r i b u t i

  • n

s h a v e s t a r t e d t

  • d

r

  • p

s u p p

  • r

t f

  • r

p y t h

  • n

2

D e b i a n h a s a l r e a d y d r

  • p

p e d s u p p

  • r

t ,

  • t

h e r s e x p e c t e d t

  • f
  • l

l

  • w

i n t h e n e x t c

  • u

p l e y e a r s s i n c e u p s t r e a m s u p p

  • r

t f

  • r

p y t h

  • n

2 i s g

  • i

n g a w a y b y 2 2

  • M

a n i l a

  • u

i w a s n

  • t

p y t h

  • n

3 r e a d y

  • G

a t e j

  • b

s n e e d t

  • c
  • n

v e r t t

  • p

y t h

  • n

3

R e p l a c e C e n t O S j

  • b

s w i t h F e d

  • r

a j

  • b

s

O p e n S t a c k R

  • c

k y – p y t h

  • n

3 r e a d i n e s s

slide-13
SLIDE 13
  • M

a n i l a c u r r e n t l y h a s n

  • c
  • n

s i s t e n t r e q u e s t v a l i d a t i

  • n

l a y e r

S

  • m

e r e s

  • u

r c e s v a l i d a t e i n p u t a t r e s

  • u

r c e c

  • n

t r

  • l

l e r

S

  • m

e j u s t f a i l i n t h e b a c k e n d

  • S
  • a

d d a j s

  • n

s c h e m a f

  • r

e a c h r e s

  • u

r c e a n d u s e a j s

  • n

s c h e m a v a l i d a t

  • r
  • b

j e c t t

  • c

h e c k e a c h r e s

  • u

r c e a g a i n s t i t s s c h e m a

  • I

f t h e v a l i d a t i

  • n

p a s s e s , a l l

  • w

t h e r e q u e s t t

  • f
  • l

l

  • w

t h e e x i s t i n g fl

  • w
  • f

c

  • n

r

  • l

t h r

  • u

g h t h e r e s

  • u

r c e m a n a g e r t

  • t

h e b a c k e n d .

  • I

f t h e v a l i d a t i

  • n

f a i l s , r e t u r n H T T P B a d R e q u e s t

O p e n S t a c k R

  • c

k y – a d d j s

  • n

s c h e ma v a l i d a t i

  • n
slide-14
SLIDE 14
  • E

x p e r i e n c e w i t h H u a w e i p u b l i c c l

  • u

d i n d i c a t e d i t w

  • u

l d b e u s e f u l t

  • b

e a b l e t

  • a

d d d e s c r i p t i v e m e t a d a t a t

  • a

c c e s s r u l e s

  • G
  • a

l : i m p r

  • v

e u s e r e x p e r i e n c e w h e n m a n a g i n g a c c e s s r u l e s

  • U

s e r s c a n a d d k e y

  • v

a l u e p a i r s t

  • d

e s c r i b e a c c e s s r u l e s

  • U

s e r s c a n fi l t e r a c c e s s r u l e s w i t h s p e c i fi c m e t a d a t a w h e n l i s t i n g a c c e s s r u l e s

O p e n S t a c k R

  • c

k y – me t a d a t a f

  • r

a c c e s s r u l e s

slide-15
SLIDE 15
  • M

a n i l a a c c e s s r u l e s c u r r e n t l y s u p p

  • r

t t w

  • a

c c e s s l e v e l s , r e a d

  • w

r i t e a n d r e a d

  • n

l y

  • I

P b a s e d a c c e s s r u l e s c a n

  • v

e r l a p

A l l

  • w

1 9 2 . 1 6 8 . 1 . / 2 4 r /

A l l

  • w

1 9 2 . 1 6 8 . 1 . 1 r w

T h i s i s a m b i g u

  • u

s : w h i c h r u l e w i n s f

  • r

a d d r e s s 1 9 2 . 1 6 8 . 1 . 1 ?

M a n i l a j u s t l e f t i t u p t

  • t

h e b a c k e n d t

  • d

e c i d e

  • I

n s t e a d , r u l e s h a v e p r i

  • r

i t i e s i n a r a n g e 1

  • 2
  • D

e f a u l t i s 2 a n d l

  • w

e r n u m b e r s a r e h i g h e r

  • U

s e r c a n e x p l i c i t l y s e t a p r i

  • r

i t y t

  • d

i s

  • a

m b i g u a t e

O p e n S t a c k R

  • c

k y – a c c e s s r u l e s p r i

  • r

i t y

slide-16
SLIDE 16
  • N

e e d m a n i l a i n O p e n S t a c k S D K , O p e n S t a c k c l i e n t , s h a d e a n d O p e n S t a c k a n s i b l e m

  • d

u l e s !

  • S

e r v e m a n i l a s h a r e s t

  • b

a r e

  • m

e t a l a n d c

  • n

t a i n e r

  • b

a s e d w

  • r

k l

  • a

d s , i n a n d

  • u

t

  • f

O p e n S t a c k

  • M
  • r

e p r

  • d

u c t i

  • n
  • q

u a l i t y

  • p

e n s

  • u

r c e s

  • f

t w a r e d e fi n e d b a c k e n d s f

  • r

m a n i l a

  • F

i n i s h p y t h

  • n

3 w

  • r

k

  • M
  • r

e I P v 6 b a c k e n d s u p p

  • r

t ( e . g . C e p h F S )

R

  • c

k y a n d B e y

  • n

d – s

  • me

g

  • a

l s

slide-17
SLIDE 17
  • B

e t t e r d e p l

  • y

m e n t t

  • l

i n t e g r a t i

  • n

: t r i p l e O , k

  • l

l a , c h a r m s , e t c .

  • M

a n i l a “ s t a n d a l

  • n

e ”

S e v e r a l s e n s e s

  • f

s t a n d a l

  • n

e , s e v e r a l g

  • a

l s h e r e

  • B

a c k u p a n d D R s

  • l

u t i

  • n

s

  • S

t

  • r

a g e “ i n t e l l i g e n c e ” a n d m a n a g e m e n t

C r

  • s

s

  • p

r

  • j

e c t , c r

  • s

s

  • c
  • mmu

n i t y

slide-18
SLIDE 18

H

  • w

t

  • g

i v e f e e d b a c k

M a n i l a O p s F e e d b a c k F

  • r

u m S e s s i

  • n

t

  • d

a y a t 1 : 5 i n r

  • m

2 2 1

  • 2

2 2 . P u t y

  • u

r i d e a s i n t h e e t h e r p a d A l s

  • :
  • T

a g [ m a n i l a ]

  • n

t h e O p e n S t a c k d e v e l

  • p

e r s a n d

  • p

e r a t

  • r

s m a i l l i s t s

  • F

i n d u s i n #

  • p

e n s t a c k

  • m

a n i l a

  • n

f r e e n

  • d

e

  • F

e e l f r e e t

  • r

e a c h

  • u

t t

  • m

e p e r s

  • n

a l l y a s P T L

slide-19
SLIDE 19

H

  • w

t

  • c
  • n

t r i b u t e

Project OnBoarding Session Today at 10am in room 223

slide-20
SLIDE 20

@O p e n S t a c k

Q & A

T h a n k y

  • u

!

  • p

e n s t a c k

  • p

e n s t a c k O p e n S t a c k F

  • u

n d a t i

  • n