Bug 813704

Summary: [OSS]Error while trying to alter the domain in fedora_remixed.iso
Product: OKD Reporter: yquan <yquan>
Component: PodAssignee: Abhishek Gupta <abhgupta>
Status: CLOSED CURRENTRELEASE QA Contact: libra bugs <libra-bugs>
Severity: high Docs Contact:
Priority: high    
Version: 2.xCC: abhgupta, jialiu, rmillner, xtian
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-04-27 20:46:35 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 yquan 2012-04-18 09:18:20 UTC
Description of problem:
It will prompt the error message when trying to change the domain name, after this error, it will cause the following error accordingly:
1.Can't access the applications' page which are created previously.
2.Can't destroy the domain
3.Can't destroy the previous application.
4.Can't force destroy the domain via REST-API.

Version-Release number of selected component (if applicable):
stickshift-broker-0.6.1-1.git.1835.832e42c.fc16.noarch
stickshift-abstract-0.9.2-1.git.135.832e42c.fc16.noarch
rubygem-swingshift-mongo-plugin-0.8.1-1.git.386.6663d9e.fc16.noarch
rubygem-stickshift-node-0.9.2-1.git.0.89cf186.fc16.noarch
rubygem-stickshift-controller-0.9.2-1.git.139.c334eb6.fc16.noarch
rubygem-stickshift-common-0.8.1-1.git.0.0165e5f.fc16.noarch


How reproducible:
always.

Steps to Reproduce:
1.Create a domain in virtual machine launched from fedora_remixed.iso.
2.Create some applications.
3.Change the domain name via rhc client.
  
Actual results:
It will prompt the error message when trying to change the domain name.
And have other situations.
1.Can't access the applications' page which are created previously.
2.Can't destroy the domain
3.Can't destroy the previous application.
4.Can't force destroy the domain via REST-API.

[error message]
Error updating apps: ["jboss0"].  Updates will not be completed until all apps can be updated successfully.  If the problem persists please contact support.

Expected results:
The domain should be change successful,And can access the applications' page via new urls.And also can destroy the domain via new domain name.

Additional info:

Comment 1 Abhishek Gupta 2012-04-19 02:17:39 UTC
I have fixed this issue but haven't yet checked in my changes. The update_namespace.sh script under jenkins-1.4 cartridge still causes domain alter to fail, so I have to look into it specifically. Other than that, domain alter now works and even if it fails, the command can be retried, or the applications can be deleted. 

I should be able to check in my changes tomorrow after some further testing.

Comment 2 Abhishek Gupta 2012-04-23 20:35:51 UTC
The issue with altering namespace has been resolved.

Comment 3 Johnny Liu 2012-04-24 11:18:35 UTC
Verified this bug with the latest fedora remix image (24-Apr-2012), and PASS.

But found some other issues about jenkins build after alter domain, will open other bugs to track the issues.