-
Notifications
You must be signed in to change notification settings - Fork 78
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
Support public datacenter #122
Conversation
paddlecloud/paddlecloud/settings.py
Outdated
@@ -275,18 +275,29 @@ | |||
# "mount_path" "/pfs/%s/home/%s/" # mount_path % ( dc, username ) | |||
# } | |||
#} | |||
FSTYPE_CEPHFS = "fstype" |
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.
FSTYPE_CEPHFS = "fstype" => FSTYPE_CEPHFS = "cephfs"
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.
Done.
paddlecloud/paddlecloud/settings.py
Outdated
@@ -275,18 +275,29 @@ | |||
# "mount_path" "/pfs/%s/home/%s/" # mount_path % ( dc, username ) | |||
# } | |||
#} | |||
FSTYPE_CEPHFS = "fstype" | |||
FSTYPE_HOSTPATH = "hostpath" | |||
DATACENTERS = { |
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.
Can we change this name to "STORAGE_SERVICES" or something more meaningful?
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.
In the configuration file of the client, we should configure the datacenters
and the current-datacenter
which is configured by settings.DATACENTERS
, so maybe STORAGE_SERVICES
only means a storage configuration?
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.
Okay, leave it as it was.
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.
LGTM
Add public datacenter