Bug 971354
| Summary: | [upgrade] HTTP proxy conf file for addon gear and web gear of scalable app is not migrated after migrate | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Johnny Liu <jialiu> |
| Component: | Cluster Version Operator | Assignee: | Luke Meyer <lmeyer> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | libra bugs <libra-bugs> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 1.2.0 | CC: | bleanhar, gpei, libra-onpremise-devel, rmillner |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | openshift-enterprise-upgrade-1.2-1.git.69.bd1f6b5.el6op | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-06-28 15:46:20 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: | |||
|
Description
Johnny Liu
2013-06-06 10:54:35 UTC
I think this is related to secondary gear names getting migrated incorrectly during the model refactor migration. Test this issue on the latest puddle. Setup an OSE env using puddle 1.1.z/2013-06-11.2. Create a scalable app, and embed postgresql cartridge: haproxy + web gear: 7991bdf194f7433790d5fc77fd5c86be web gear: c9cea283cbf44340bfdbbad3cc4a01e9 postgres gear: 47b76b79c6e34e00a607368985274cc0 Then update this env to puddle 1.2/2013-06-13.1, check addon gear and web gear in /var/lib/openshift/.httpd.d [root@node .httpd.d]# ls c9cea283cbf44340bfdbbad3cc4a01e9* c9cea283cbf44340bfdbbad3cc4a01e9_jia_c9cea283cb.conf.migrated c9cea283cbf44340bfdbbad3cc4a01e9_jia_c9cea283cb.migrated: 00000_default.conf routes.json zzzzz_proxy.conf [root@node .httpd.d]# ls 47b76b79c6e34e00a607368985274cc0* 47b76b79c6e34e00a607368985274cc0_jia_47b76b79c6.conf.migrated 47b76b79c6e34e00a607368985274cc0_jia_47b76b79c6.migrated: 00000_default.conf postgresql-8.4.conf [root@node .httpd.d]# grep c9cea283cb nodes.txt c9cea283cb-jia.ose11test.com 127.1.5.129:8080 c9cea283cb-jia.ose11test.com/health HEALTH And the address c9cea283cb-jia.ose11test.com is available. Scale up this app again, got one more web gear 51baeac0b3ec1f8b9d000069. [root@node .httpd.d]# ls 51baeac0b3ec1f8b9d000069* ls: cannot access 51baeac0b3ec1f8b9d000069*: No such file or directory [root@node .httpd.d]# grep 51baeac0b3ec1f8b9d000069 nodes.txt 51baeac0b3ec1f8b9d000069-jia.ose11test.com 127.1.8.129:8080 51baeac0b3ec1f8b9d000069-jia.ose11test.com/health HEALTH And this address 51baeac0b3ec1f8b9d000069-jia.ose11test.com also could be accessed. So verify this bug. Closing all bugs introduced, fixed, and verified during 1.2 release work (thus never shipped). |