-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a ceph backing option to makevm #136
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thank you!
@@ -0,0 +1 @@ | |||
../staff/acct/add-to-group |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should be a separate PR but I don't really care enough
parser.add_argument('--os-type', type=str, default='linux', | ||
help='os type') | ||
parser.add_argument('--os-variant', type=str, default='debian9') | ||
parser.add_argument('--os-variant', type=str, default='debian10') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I thought that debian10 didn't exist in virt-install yet?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
osinfo-query os | grep Debian
seems to indicate yes on pandemic but not riptide so maybe it's a buster thing?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we probably shouldn't change the default yet in that case.
print('Cancelled.') | ||
sys.exit(2) | ||
|
||
if args.ceph and args.vg != 'vg': |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we should store the default value in a global variable or something so we only have to change it in one place
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
use parser.get_default
print('Cancelled.') | ||
sys.exit(2) | ||
|
||
if not args.ceph and args.ceph_pool != 'vm': |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same as above
Tested both options on scurvy and pandemic