Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
g1-g2-ostack-cloud-migration
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cloud
g1-g2-ostack-cloud-migration
Commits
e4ad663e
Commit
e4ad663e
authored
1 year ago
by
František Řezníček
Browse files
Options
Downloads
Patches
Plain Diff
feat: initial kick of pipeline and doc update
parent
5166a3bc
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Pipeline
#401291
passed with stage
in 5 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+1
-1
1 addition, 1 deletion
.gitlab-ci.yml
README.md
+7
-6
7 additions, 6 deletions
README.md
with
8 additions
and
7 deletions
.gitlab-ci.yml
+
1
−
1
View file @
e4ad663e
...
...
@@ -6,4 +6,4 @@ image: registry.gitlab.ics.muni.cz:443/cloud/g2/common-cloud-entities:1.0.2
ostack-project-migration
:
stage
:
migration
script
:
-
echo ci/project-migrator.py --source-openrc
prod-einfra_cz_migrator.sh.inc --destination-openrc g2-prod-brno-einfra_cz_migrator.sh.inc
--project-name
"${PROJECT_NAME}" --validation-a-source-server-id
"${VALIDATION_SERVER_ID}" --ceph-migrator-sshkeyfile
"${MIGRATOR_SSH_KEY_FILE}"
-
echo ci/project-migrator.py --source-openrc
="${SRC_CLOUD_OSTACK_RC_FILE}" --destination-openrc="${DST_CLOUD_OSTACK_RC_FILE}"
--project-name
=
"${PROJECT_NAME}" --validation-a-source-server-id
=
"${VALIDATION_SERVER_ID}" --ceph-migrator-sshkeyfile
=
"${MIGRATOR_SSH_KEY_FILE}"
--explicit-server-names="${MIGRATE_EXPLICIT_SERVER_NAMES}"
This diff is collapsed.
Click to expand it.
README.md
+
7
−
6
View file @
e4ad663e
...
...
@@ -15,16 +15,17 @@ More details of the progress can be found [here](https://docs.e-infra.cz/compute
*
[ ] Are there any DNS records on FIPs?
## How to launch G1 to G2 migration
Input argumenta are:
*
`PROJECT_NAME`
*
name of the
project in G1 and in G2 OpenStack cloud
*
`KEYPAI
R_ID`
*
(required)
`PROJECT_NAME`
*
Common
project
name
in G1 and in G2 OpenStack cloud
s.
*
(required)
`VALIDATION_SERVE
R_ID`
*
id of any existing keypair in G1 or G2 cloud
*
`SERVER_NAME`
*
migrate just single VM instance with defined name
*
(optional)
`MIGRATE_EXPLICIT_SERVER_NAMES`
*
migrate just part of the source G1 project. You may specify explicitly server names delimited by space or comma.
*
(optional)
`MIGRATE_EXPLICIT_VOLUME_NAMES`
*
all volumes connected will be migrated. Unused volumes may be also migrated.
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment