Bug 1218750
| Summary: | packstack needs to handle rdo-testing repos for RDO >= Kilo | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Community] RDO | Reporter: | Boris Derzhavets <bderzhavets> | ||||||
| Component: | openstack-packstack | Assignee: | Ivan Chavero <ichavero> | ||||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Ido Ovadia <iovadia> | ||||||
| Severity: | medium | Docs Contact: | |||||||
| Priority: | unspecified | ||||||||
| Version: | Kilo | CC: | aortega, apevec, apevec, bderzhavets, derekh, ichavero, jpena, yeylon | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | Kilo | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | openstack-packstack-2015.1-0.4.dev1537.gba5183c | Doc Type: | Bug Fix | ||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2015-07-31 00:21:07 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
Boris Derzhavets
2015-05-05 18:34:15 UTC
Version-Release number of selected component (if applicable): openstack-packstack-2015.1-0.1.dev1537.gba5183c.el7.noarch openstack-packstack-puppet-2015.1-0.1.dev1537.gba5183c.el7.noarch Is this issue reproducible? Failing to install openstack-ceilometer looks like a transient network/repo issue to me. If the packstack logs are available (under /var/tmp/packstack), they would be really helpful for troubleshooting. Reproduced: - Applying 192.169.142.127_nova.pp Applying 192.169.142.137_nova.pp 192.169.142.137_nova.pp: [ ERROR ] Applying Puppet manifests [ ERROR ] ERROR : Error appeared during Puppet run: 192.169.142.137_nova.pp Error: Execution of '/usr/bin/yum -d 0 -e 0 -y list openstack-ceilometer-compute' returned 1: Error: No matching Packages to list Moreover, actually , running on Compute :- yum install http://rdoproject.org/repos/openstack-kilo/rdo-testing-kilo.rpm is also workaround for https://bugzilla.redhat.com/show_bug.cgi?id=1218744 Created attachment 1023222 [details]
openstack-setup.log ( nova-compute failure on Compute Node)
From comment #3 and the log files, I think I understand what the issue was. The RDO repositories need to be enabled on all servers before running packstack, not only on the controller node. I have looked at the RDO Quickstart page, and it is not explicitly specified, but that is the requirement. Due it was not required for RDO Juno, I believe it *must* be explicitly specified on Quick Page to avoid confusion. I was able to handle this change only due to RC2 && Delorian RDO setups experience. One more on report https://etherpad.openstack.org/p/rdo_kilo_test_day AIO worked great with CentOS 7.1. I added a compute node into the setup and Packstack dies on the prescript run with: "PuppetError: Error appeared during Puppet run: 192.168.80.31_prescript.ppError: Execution of '/usr/bin/yum -d 0 -e 0 -y list openstack-selinux' returned 1: Error: No matching Packages to list" UPDATE: I manually copied over the /etc/yum.repo.d/rdo-testing.repo file from the already-deployed AIO node to the compute node and it moved past that error. packstack has rdo-release RPM name hardcoded in prescript_000.py Testing repo will stay for pending updates (like Fedora updates-testing) so need to figure out how packstack can handle it. I was wrong in comment #5, packstack does indeed enable RDO repos for additional nodes. We still need to figure out a good way to fix this. *** Bug 1218744 has been marked as a duplicate of this bug. *** packstack enables RDO only if it's prevously installed ¿should we do the same with rdo-testing? > packstack enables RDO only if it's prevously installed ¿should we do the
> same with rdo-testing?
Hold on, I'm rethinking rdo-testing story, it should work like in Fedora i.e. rdo-release will install both release (enabled by default) and testing (disabled by default) repos, so testing updates can be enabled by --enablerepo.
> i.e. rdo-release will install both release (enabled by default) and testing > (disabled by default) repos This part is now done in rdo-release-kilo-1 rpm https://github.com/redhat-openstack/rdo-release/tree/kilo-1 (In reply to Alan Pevec from comment #13) > > i.e. rdo-release will install both release (enabled by default) and testing > > (disabled by default) repos > > This part is now done in rdo-release-kilo-1 rpm > https://github.com/redhat-openstack/rdo-release/tree/kilo-1 Looking at how the rdo-testing repo is created, maybe the solution would be to have a new parameter for packstack (CONFIG_ENABLE_RDO_TESTING, for example), that would enable the testing repo on all machines if set to 'y'. Alan, Iván, what do you think? That sounds good, i'm gonna create a proof of concept patch ack Added patch for enabling the RDO Testing repo |