Skip to content
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

teuthology-suite: add default machine type(smithi) #1625

Merged
merged 1 commit into from
May 27, 2021

Conversation

ideepika
Copy link
Member

@ideepika ideepika commented Mar 5, 2021

right now the default_machine_type fallback is set to None via some internal
mangaling, this makes users always have to pass --machine_type which mostly we
prefer to smithi's . Hence, making it a default unless otherwise, should be
helpful for users.

Signed-off-by: Deepika Upadhyay [email protected]

@ideepika ideepika requested review from kshtsk and tchaikov March 5, 2021 07:13
scripts/suite.py Outdated Show resolved Hide resolved
ideepika pushed a commit to ideepika/ceph-cm-ansible that referenced this pull request Mar 9, 2021
set teuthology_default_machine_type to smithi.
see: ceph/teuthology#1625

Signed-off-by: Deepika Upadhyay <[email protected]>
teuthology/config.py Outdated Show resolved Hide resolved
@kshtsk
Copy link
Contributor

kshtsk commented May 15, 2021

@susebot run deploy

kshtsk
kshtsk previously approved these changes May 15, 2021
Copy link
Contributor

@kshtsk kshtsk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: rather than 'multi' check this looks good for me.

@kshtsk
Copy link
Contributor

kshtsk commented May 15, 2021

I am extremely sorry about I forgot to review this PR earlier.

@susebot
Copy link

susebot commented May 15, 2021

Commit 6b3ba72 is OK.
Check tests results in the Jenkins job: https://ceph-ci.suse.de/job/pr-teuthology-deploy/342/

@ideepika
Copy link
Member Author

nit: rather than 'multi' check this looks good for me.

updated, thanks!
https://github.com/ceph/teuthology/pull/1625/files#diff-8743f0bc16e084716b1065401e43959ca8f5a445a45a0299058673edfbde084dR115-R12

@djgalloway
Copy link

I'm fine with the concept. I'll leave the python review up to others. If Kyr's happy, I'm happy.

@kshtsk
Copy link
Contributor

kshtsk commented May 17, 2021

@susebot run deploy

@susebot
Copy link

susebot commented May 17, 2021

Commit 4e49f42 is OK.
Check tests results in the Jenkins job: https://ceph-ci.suse.de/job/pr-teuthology-deploy/344/

kshtsk
kshtsk previously approved these changes May 17, 2021
@ideepika
Copy link
Member Author

@kshtsk good to merge?

@kshtsk
Copy link
Contributor

kshtsk commented May 26, 2021

yep...

@kshtsk
Copy link
Contributor

kshtsk commented May 26, 2021

ouch... probably commit message is outdated and does not correspond the patch content...

…fied explicitly

right now, users have to always pass --machine-type when scheduling a
run, when not specified, command fails with no machine type specified
error.
Instead of failing, we can have `default_machine_type` which in our case
should pick smithi, specified in /etc/teuthology.yml

Signed-off-by: Deepika Upadhyay <[email protected]>
@ideepika
Copy link
Member Author

ouch... probably commit message is outdated and does not correspond the patch content...

aah, sorry about that; fixed it!

@kshtsk
Copy link
Contributor

kshtsk commented May 27, 2021

@susebot run deploy

@susebot
Copy link

susebot commented May 27, 2021

Commit 2a15c89 is OK.
Check tests results in the Jenkins job: https://ceph-ci.suse.de/job/pr-teuthology-deploy/348/

@kshtsk kshtsk merged commit f359b10 into ceph:master May 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants