Project

General

Profile

Config migration key mapping » History » Revision 4

Revision 3 (Peter Amstutz, 01/23/2019 06:34 PM) → Revision 4/7 (Peter Amstutz, 01/23/2019 09:01 PM)

h1. Config migration key mapping 

 <pre><code class="yaml"> cc = Clusters/[ClusterID] 

 |_. Existing key|_. New key|Notes| 
 Clusters: 
   xyzzy:    # api-server/uuid_prefix 
     RailsSessionSecretToken: # api-server/secret_token 
     UnloggedAttributes:    # api-server/unlogged_attributes 
     DisableAPIMethods:    # api-server/disable_api_methods 
     SuperuserToken: # arvados-git-sync.rb/arvados_api_token 
     SSO: 
       AppSecret:      # api-server/sso_app_secret 
       AppId:          # api-server/sso_app_id 
       ProviderURL:    # api-server/sso_provider_url 
     Services: 
       Workbench:      # api-server/workbench_address 
       Websocket:      # api-server/websocket_address 
       API:            # api-server/protocol, host, port 
     GitServer: 
       AdminRepoURL:         # arvados-git-sync.rb/gitolite_url 
       SSHUserKey:           # arvados-git-sync.rb/gitolite_arvados_git_user_key 
       TmpDir:               # arvados-git-sync.rb/gitolite_tmp 
       GitCommand:           # arv-git-httpd/GitCommand 
       GitoliteHomeDir:      # arv-git-httpd/GitoliteHome 
       RepositoriesDir:      # api-server/git_repositories_dir 
       SSHBase:              # api-server/git_repo_ssh_base 
       RepoHTTPSBase:        # api-server/git_repo_https_base 
     Users: 
       AutoSetupNewUsers:                  # api-server/auto_setup_new_users 
       AutoSetupNewUsersWithVmUUID:        # api-server/auto_setup_new_users_with_vm_uuid 
       AutoSetupNewUsersWithRepository:    # api-server/auto_setup_new_users_with_repository 
       AutoSetupUsernameBlacklist:         # api-server/auto_setup_name_blacklist 
       NewUsersAreActive:                  # api-server/new_users_are_active 
       AutoAdminUserWithEmail:             # api-server/auto_admin_user 
       AutoAdminFirstUser:                 # api-server/auto_admin_first_user 
       UserProfileNotificationAddress:     # api-server/user_profile_notification_address 
       AdminNotifierEmailFrom:             # api-server/admin_notifier_email_from 
       EmailSubjectPrefix:                 # api-server/email_subject_prefix 
       UserNotifierEmailFrom:              # api-server/user_notifier_email_from 
       NewUserNotificationRecipients:      # api-server/new_user_notification_recipients 
       NewInactiveUserNotificationRecipients:    # api-server/new_inactive_user_notification_recipients 
     Keep: 
       BlobSigningKey:      # api-server/blob_signing_key 
       BlobSignatureTTL:    # api-server/blob_signature_ttl 
     RequestLimits: 
       MaxRequestLogParamsSize:    # api-server/max_request_log_params_size 
       MaxRequestSize:             # api-server/max_request_size 
       MaxIndexDatabaseRead:       # api-server/max_index_database_read 
       MaxItemsPerResponse:        # api-server/max_items_per_response 
     Cleaning: 
       TrashSweepInterval:            # api-server/trash_sweep_interval 
       CleanJobLogRowsAfter:          # api-server/clean_job_log_rows_after 
       CleanContainerLogRowsAfter:    # api-server/clean_container_log_rows_after 
       MaxAuditLogAge:                # api-server/max_audit_log_age 
       MaxAuditLogDeleteBatch:        # api-server/max_audit_log_delete_batch 
     CollectionDefaults: 
       CollectionReplication:         # api-server/default_collection_replication 
       TrashLifetime:                 # api-server/default_trash_lifetime 
     Crunch: 
       MaxComputeNodes:                 # api-server/max_compute_nodes 
       LogBytesPerEvent:                # api-server/crunch_log_bytes_per_event 
       LogSecondsBetweenEvents:         # api-server/crunch_log_seconds_between_events 
       LogThrottlePeriod:               # api-server/crunch_log_throttle_period 
       LogThrottleBytes:                # api-server/crunch_log_throttle_bytes 
       LogThrottleLines:                # api-server/crunch_log_throttle_lines 
       LimitLogBytesPerJob:             # api-server/crunch_limit_log_bytes_per_job 
       LogPartialLineThrottlePeriod:    # api-server/crunch_log_partial_line_throttle_period 
       LogUpdatePeriod:                 # api-server/crunch_log_update_period 
       LogUpdateSize:                   # api-server/crunch_log_update_size 
       PreemptibleInstances:            # api-server/preemptible_instances 
       DefaultDockerImageForJobs:       # api-server/default_docker_image_for_jobs 
       SupportedDockerImageFormats:     # api-server/docker_image_formats 
       DNSServerConfDir:                # api-server/dns_server_conf_dir 
       DNSServerConfTemplate:           # api-server/dns_server_conf_template 
       DNSServerReloadCommand:          # api-server/dns_server_reload_command 
       DNSServerUpdateCommand:          # api-server/dns_server_update_command 
       ComputeNodeDomain:               # api-server/compute_node_domain 
       ComputeNodeNameservers:          # api-server/compute_node_nameservers 
       AssignNodeHostname:              # api-server/assign_node_hostname 
       LogReuseDecisions:               # api-server/log_reuse_decisions 
       ReuseJobIfOutputsDiffer:         # api-server/reuse_job_if_outputs_differ 
       v1: 
         EnableLegacyJobsAPI:     # api-server/enable_legacy_jobs_api 
         CrunchJobWrapper:        # api-server/crunch_job_wrapper 
         CrunchJobUser:           # api-server/crunch_job_user 
         CrunchRefreshTrigger:    # api-server/crunch_refresh_trigger 
         GitInternalDir:          # api-server/git_internal_dir |uuid_prefix|Clusters/[ClusterID]| 
 </code></pre> |secret_token|cc/RailsSessionSecretToken| 
 |sso_app_secret|cc/SSO/app_secret| 
 |sso_app_id|cc/SSO/app_id| 
 |sso_provider_url|cc/SSO/provider_url| 
 |workbench_address|construct URL from [node] and cc/NodeProfiles/[node]/arvados-workbench/Listen|Could also have a field "Address" for the advertised URL| 
 |websocket_address|construct URL from [node] and cc/NodeProfiles/[node]/arvados-ws/Listen| 
 |websocket_max_connections|cc/WebSocket/MaxConnections| 
 |websocket_max_notify_backlog|cc/WebSocket/MaxNotifyBacklog| 
 |websocket_max_filters|cc/WebSocket/MaxFilters| 
 |git_repositories_dir|cc/GitServer/RepositoriesDir| 
 |git_repo_ssh_base|cc/GitServer/SSHBase| 
 |git_repo_https_base|cc/GitServer/RepoHTTPSBase| 
 |host|cc/NodeProfiles/[node]/arvados-api-server/Address| 
 |port|cc/NodeProfiles/[node]/arvados-api-server/Address| 
 |protocol|cc/NodeProfiles/[node]/arvados-api-server/Address| 
 |auto_setup_new_users|cc/Users/AutoSetupNewUsers| 
 |auto_setup_new_users_with_vm_uuid|cc/Users/AutoSetupNewUsersWithVmUUID| 
 |auto_setup_new_users_with_repository|cc/Users/AutoSetupNewUsersWithRepository| 
 |auto_setup_name_blacklist|cc/Users/AutoSetupUsernameBlacklist| 
 |new_users_are_active|cc/Users/NewUsersAreActive| 
 |auto_admin_user|cc/Users/AutoAdminUserWithEmail| 
 |auto_admin_first_user|cc/Users/AutoAdminFirstUser| 
 |user_profile_notification_address|cc/Email/UserProfileNotificationAddress| 
 |admin_notifier_email_from|cc/Email/AdminNotifierEmailFrom| 
 |email_subject_prefix|cc/Email/EmailSubjectPrefix| 
 |user_notifier_email_from|cc/Email/UserNotifierEmailFrom| 
 |new_user_notification_recipients|cc/Email/NewUserNotificationRecipients| 
 |new_inactive_user_notification_recipients|cc/Email/NewInactiveUserNotificationRecipients| 
 |blob_signing_key|cc/Keep/BlobSigningKey| 
 |blob_signature_ttl|cc/Keep/BlobSignatureTTL| 
 |max_request_log_params_size|cc/RequestLimits/MaxRequestLogParamsSize| 
 |max_request_size|cc/RequestLimits/MaxRequestSize| 
 |max_index_database_read|cc/RequestLimits/MaxIndexDatabaseRead| 
 |max_items_per_response|cc/RequestLimits/MaxItemsPerResponse| 
 |trash_sweep_interval|cc/Cleaning/TrashSweepInterval| 
 |clean_job_log_rows_after|cc/Cleaning/CleanJobLogRowsAfter| 
 |clean_container_log_rows_after|cc/Cleaning/CleanContainerLogRowsAfter| 
 |max_audit_log_age|cc/Cleaning/MaxAuditLogAge| 
 |max_audit_log_delete_batch|cc/Cleaning/MaxAuditLogDeleteBatch| 
 |default_collection_replication|cc/CollectionDefaults/CollectionReplication| 
 |default_trash_lifetime|cc/CollectionDefaults/TrashLifetime| 
 |max_compute_nodes|cc/Crunch/MaxComputeNodes| 
 |crunch_log_bytes_per_event|cc/Crunch/LogBytesPerEvent| 
 |crunch_log_seconds_between_events|cc/Crunch/LogSecondsBetweenEvents| 
 |crunch_log_throttle_period|cc/Crunch/LogThrottlePeriod| 
 |crunch_log_throttle_bytes|cc/Crunch/LogThrottleBytes| 
 |crunch_log_throttle_lines|cc/Crunch/LogThrottleLines| 
 |crunch_limit_log_bytes_per_job|cc/Crunch/LimitLogBytesPerJob| 
 |crunch_log_partial_line_throttle_period|cc/Crunch/LogPartialLineThrottlePeriod| 
 |crunch_log_update_period|cc/Crunch/LogUpdatePeriod| 
 |crunch_log_update_size|cc/Crunch/LogUpdateSize| 
 |unlogged_attributes|cc/UnloggedAttributes| 
 |disable_api_methods|cc/DisableAPIMethods| 
 |enable_legacy_jobs_api|cc/Crunch/EnableLegacyJobsAPI| 
 |preemptible_instances|cc/Crunch/PreemptibleInstances| 
 |default_docker_image_for_jobs|cc/Crunch/DefaultDockerImageForJobs| 
 |docker_image_formats|cc/Crunch/SupportedDockerImageFormats| 
 |crunch_job_wrapper|cc/Crunch/v1/CrunchJobWrapper| 
 |crunch_job_user|cc/Crunch/v1/CrunchJobUser| 
 |crunch_refresh_trigger|cc/Crunch/v1/CrunchRefreshTrigger| 
 |git_internal_dir|cc/Crunch/v1/GitInternalDir| 
 |dns_server_conf_dir|cc/Crunch/DNSServerConfDir| 
 |dns_server_conf_template|cc/Crunch/DNSServerConfTemplate| 
 |dns_server_reload_command|cc/Crunch/DNSServerReloadCommand| 
 |dns_server_update_command|cc/Crunch/DNSServerUpdateCommand| 
 |compute_node_domain|cc/Crunch/ComputeNodeDomain| 
 |compute_node_nameservers|cc/Crunch/ComputeNodeNameservers| 
 |assign_node_hostname|cc/Crunch/AssignNodeHostname| 
 |log_reuse_decisions|cc/Crunch/LogReuseDecisions| 
 |reuse_job_if_outputs_differ|cc/Crunch/ReuseJobIfOutputsDiffer|