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.
vor 6 Jahren
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
vor 6 Jahren
Ondrej Smola
b97ac007d9
move lvm config and service before managing VG and LV
Change-Id: If76a9d1aa3d23f3c38ec2135b42d63f64c4b1332
vor 7 Jahren
Ondrej Smola
bace671737
improve mkfs condition and make fs_type for partitioning optional
Change-Id: Iba8126cadc80c0de04baf3cc65d0868aa147bc01
vor 7 Jahren
Piotr Kruk
d51911ba5c
add startsector for partitions
vor 7 Jahren
Tomáš Kukrál
0b7a6bf8ba
probe partitions after creating them
Change-Id: I06994fec6f4771317f540d3e4339ff4460a5a493
vor 7 Jahren
Ondrej Smola
751c8dd53f
fix for conflict id for disk label, added package for xfs
Change-Id: I6d1ba01efff16d41c5e91973d46aaaa7ea3caca5
vor 7 Jahren
Jakub Pavlik
8e2140a8f4
Extend by mkfs for XFS filesystem
Change-Id: I3a6a8fc227cb9abd785b342584038e34d57a4175
vor 7 Jahren
Filip Pytloun
71abe455fb
Use unless to determine whether to create partition
Change-Id: I1c35eb045a46b95f75c7101567d4c4f340b787ab
vor 7 Jahren
Jakub Pavlik
caeb611a2d
add package parted
Change-Id: I92b5e7b09f6478c190e96819aa279022364f1730
vor 7 Jahren
Jakub Pavlik
4f74214491
Disk partitioning
Ability to create partitions on empty disks.
Change-Id: I0a71da9d62d8f7df3fa03e3f34d49bad6988ba6d
vor 7 Jahren
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.
vor 7 Jahren
Jiri Broulik
b916c8e9e5
parametrize lvm filters
Change-Id: I556ab82a1dc0ce711958404165e419275ff5ce19
vor 7 Jahren
Jiri Broulik
27ca5dd7b2
lvm filter fix
Change-Id: I9967f867b8695e4a5bc4759ca81eebe5ef2309c1
vor 7 Jahren
tomas kamm
71954dc575
fix order for storage: first create lv and next mount this lv
vor 7 Jahren
Jiri Broulik
b845058fe5
nfs filesystem mount fix
vor 7 Jahren
Filip Pytloun
8578aafdde
Fix typo and test
Change-Id: I93e135a9366c1f7c93397dfa0c342428fb64eb1c
vor 7 Jahren
Filip Pytloun
e9bcd2d6dd
Setup LV before mkfs
Change-Id: Ib4cb70615af8da2f1037b0a43520c215365979ba
vor 7 Jahren
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.
vor 7 Jahren
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.
vor 8 Jahren
Simon Pasquier
6b6058fd3a
Support no volume for linux.storage.lvm state
vor 8 Jahren
Simon Pasquier
a4eb313e4f
Fix linux.storage state to support lvm
vor 8 Jahren
Simon Pasquier
1f75d30237
Fix the linux.storage.mount state for tmpfs
vor 8 Jahren
Ales Komarek
86c2311801
Fix the multipath condition
vor 8 Jahren
Ales Komarek
a634f4ba38
Refactored multipath support
vor 8 Jahren
Ales Komarek
3a9faa53ed
Container metadata
vor 8 Jahren
Alena Holanova
c48d0f30bf
clean up
vor 8 Jahren
Alena Holanova
48a3a1ae69
fix xfs tools
vor 8 Jahren
Filip Pytloun
6f9326c625
Fix installation of xfsprogs
vor 9 Jahren
Filip Pytloun
a690294251
Fix previous commit
vor 9 Jahren
Filip Pytloun
e1b00b85ed
Allow setting VG and LV names from parameter
vor 9 Jahren
Filip Pytloun
bd3e303410
Allow setting mountpoint permissions
vor 9 Jahren
Filip Pytloun
3954bad18c
Install xfsprogs when needed
vor 9 Jahren
Ales Komarek
9e861367cf
Do not create fs for nfs4
vor 9 Jahren
Lachlan Evenson
83c06ca0db
fix swap file check
vor 9 Jahren
Lachlan Evenson
7277ba9601
add onlyif statement
vor 9 Jahren
Lachlan Evenson
7f83d9f038
change to swap.device variable
vor 9 Jahren
Lachlan Evenson
3067651fd3
add swap partition support
vor 9 Jahren
Filip Pytloun
44e2e19b96
Fix LVM setup
vor 9 Jahren
Filip Pytloun
c8a001aee1
Support for LVM
vor 9 Jahren
Ales Komarek
d8fee8492b
Monitoring metadata, mount dont create fs for nfs
vor 9 Jahren
Filip Pytloun
f5383a44be
Initial commit
vor 9 Jahren