Bug 863998
Summary: | Can't move the app-gear for scalable applications | ||||||
---|---|---|---|---|---|---|---|
Product: | OKD | Reporter: | Rony Gong 🔥 <qgong> | ||||
Component: | Containers | Assignee: | Mrunal Patel <mpatel> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | libra bugs <libra-bugs> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 2.x | CC: | jhou, xtian | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2012-11-06 18:50:30 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Rony Gong 🔥
2012-10-08 09:55:47 UTC
This kind error also happened for move across district It seems the repo dir on the scaled app has changed from appname to gear name. Shouldn't it still be appname? Ex: This is the error I got: /usr/libexec/openshift/cartridges/abstract/info/bin/redeploy_config_dir.sh: line 11: pushd: /var/lib/openshift/27b0d30d18b044f8acae6522cf9cc165/git/danmcp990.git: No such file or directory fatal: Not a git repository (or any of the parent directories): .git Nothing found in .openshift/config/* to redeploy /usr/libexec/openshift/cartridges/abstract/info/bin/redeploy_config_dir.sh: line 16: popd: directory stack empty And this was the dir on that gear: /var/lib/openshift/27b0d30d18b044f8acae6522cf9cc165/git/27b0d30d18.git/ (In reply to comment #3) > Fixed with https://github.com/openshift/origin-server/pull/623. Above pull request is merged since devenv_2302, move it to ON_QA to verify. Verified on devenv_2304 Steps: 1. Setup multi-node env 2. Create a scalable app, call rest api to get app gear uuid <gear-group> <uuid>ef63c94d618447559da7e108644bfb39</uuid> <gear-profile>small</gear-profile> <gears> <gear> <state>started</state> <id>08eaaee26f584484b0f804065778032d</id> </gear> </gears> <cartridges> <cartridge> <name>php-5.3</name> </cartridge> </cartridges> 3. Move this gear within district [root@ip-10-110-222-171 openshift]# oo-admin-move --gear_uuid 08eaaee26f584484b0f804065778032d -i ip-10-110-222-171 Move was successfull 4. Setup another district, move gear across districts [root@ip-10-110-222-171 openshift]# oo-admin-move --gear_uuid a1209f6ee1004f44b58c86503f75df04 -i ip-10-110-222-171 --allow_change_district Result: Both haproxy gear and cartridge gear are moved within/across district successfully. |