Michael Fladischer
1e41e3065d
Use items() instead of iteritems() for Python3 compatibility.
iteritems() was dropped in recent Python3 releases and items() is compatible
with Python 2.7.
6 anni fa
Vasyl Saienko
d458e6449b
Fix crating multiple loopback devices
This patch fixes issue with duplicate task IDs when multiple
loopback devices should be added, and they stored in the same
directory.
Change-Id: Iae0027b6ee187f5366967e667380dfb3eae232fc
Related-Prod: PROD-17620
6 anni fa
Ondrej Smola
b97ac007d9
move lvm config and service before managing VG and LV
Change-Id: If76a9d1aa3d23f3c38ec2135b42d63f64c4b1332
7 anni fa
Ondrej Smola
bace671737
improve mkfs condition and make fs_type for partitioning optional
Change-Id: Iba8126cadc80c0de04baf3cc65d0868aa147bc01
7 anni fa
Piotr Kruk
d51911ba5c
add startsector for partitions
7 anni fa
Tomáš Kukrál
0b7a6bf8ba
probe partitions after creating them
Change-Id: I06994fec6f4771317f540d3e4339ff4460a5a493
7 anni fa
Ondrej Smola
751c8dd53f
fix for conflict id for disk label, added package for xfs
Change-Id: I6d1ba01efff16d41c5e91973d46aaaa7ea3caca5
7 anni fa
Jakub Pavlik
8e2140a8f4
Extend by mkfs for XFS filesystem
Change-Id: I3a6a8fc227cb9abd785b342584038e34d57a4175
7 anni fa
Filip Pytloun
71abe455fb
Use unless to determine whether to create partition
Change-Id: I1c35eb045a46b95f75c7101567d4c4f340b787ab
7 anni fa
Jakub Pavlik
caeb611a2d
add package parted
Change-Id: I92b5e7b09f6478c190e96819aa279022364f1730
7 anni fa
Jakub Pavlik
4f74214491
Disk partitioning
Ability to create partitions on empty disks.
Change-Id: I0a71da9d62d8f7df3fa03e3f34d49bad6988ba6d
7 anni fa
car-da
fc7140507e
sort mount points
Usually you need define order for mounting volumes in one path like mount first /opt and then /opt/cms etc.
7 anni fa
Jiri Broulik
b916c8e9e5
parametrize lvm filters
Change-Id: I556ab82a1dc0ce711958404165e419275ff5ce19
7 anni fa
Jiri Broulik
27ca5dd7b2
lvm filter fix
Change-Id: I9967f867b8695e4a5bc4759ca81eebe5ef2309c1
7 anni fa
tomas kamm
71954dc575
fix order for storage: first create lv and next mount this lv
7 anni fa
Jiri Broulik
b845058fe5
nfs filesystem mount fix
7 anni fa
Filip Pytloun
8578aafdde
Fix typo and test
Change-Id: I93e135a9366c1f7c93397dfa0c342428fb64eb1c
7 anni fa
Filip Pytloun
e9bcd2d6dd
Setup LV before mkfs
Change-Id: Ib4cb70615af8da2f1037b0a43520c215365979ba
7 anni fa
Bruno Binet
e3c04fd535
Prefer "pkgs" rather than "names" when using pkg.installed
"names" makes a separate call to the package management frontend to
install each package, whereas "pkgs" makes just a single call so that it
improves performance.
7 anni fa
Simon Pasquier
375001e027
Add linux.storage.loopback state
This state allows to configure loopback device(s). This isn't meant to
be used in production but offers a cheap way to test Cinder with LVM
volumes.
8 anni fa
Simon Pasquier
6b6058fd3a
Support no volume for linux.storage.lvm state
8 anni fa
Simon Pasquier
a4eb313e4f
Fix linux.storage state to support lvm
8 anni fa
Simon Pasquier
1f75d30237
Fix the linux.storage.mount state for tmpfs
8 anni fa
Ales Komarek
86c2311801
Fix the multipath condition
8 anni fa
Ales Komarek
a634f4ba38
Refactored multipath support
8 anni fa
Ales Komarek
3a9faa53ed
Container metadata
8 anni fa
Alena Holanova
c48d0f30bf
clean up
8 anni fa
Alena Holanova
48a3a1ae69
fix xfs tools
8 anni fa
Filip Pytloun
6f9326c625
Fix installation of xfsprogs
9 anni fa
Filip Pytloun
a690294251
Fix previous commit
9 anni fa
Filip Pytloun
e1b00b85ed
Allow setting VG and LV names from parameter
9 anni fa
Filip Pytloun
bd3e303410
Allow setting mountpoint permissions
9 anni fa
Filip Pytloun
3954bad18c
Install xfsprogs when needed
9 anni fa
Ales Komarek
9e861367cf
Do not create fs for nfs4
9 anni fa
Lachlan Evenson
83c06ca0db
fix swap file check
9 anni fa
Lachlan Evenson
7277ba9601
add onlyif statement
9 anni fa
Lachlan Evenson
7f83d9f038
change to swap.device variable
9 anni fa
Lachlan Evenson
3067651fd3
add swap partition support
9 anni fa
Filip Pytloun
44e2e19b96
Fix LVM setup
9 anni fa
Filip Pytloun
c8a001aee1
Support for LVM
9 anni fa
Ales Komarek
d8fee8492b
Monitoring metadata, mount dont create fs for nfs
9 anni fa
Filip Pytloun
f5383a44be
Initial commit
9 anni fa