Bug 893301
| Summary: | Unable to add a new host to a gluster-cluster | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [oVirt] ovirt-host-deploy | Reporter: | Shruti Sampat <ssampat> | ||||||||
| Component: | Plugins.VDSM | Assignee: | Alon Bar-Lev <alonbl> | ||||||||
| Status: | CLOSED NOTABUG | QA Contact: | Haim <hateya> | ||||||||
| Severity: | unspecified | Docs Contact: | |||||||||
| Priority: | unspecified | ||||||||||
| Version: | master | CC: | bazulay, bugs, dougsland, dyasny, ecohen, hchiramm, iheim, mmahoney, pprakash, Rhev-m-bugs, sdharane, shireesh, ssampat, vbellur, yeylon, ykaul | ||||||||
| Target Milestone: | --- | ||||||||||
| Target Release: | --- | ||||||||||
| Hardware: | Unspecified | ||||||||||
| OS: | Unspecified | ||||||||||
| Whiteboard: | gluster | ||||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||||
| Doc Text: | Story Points: | --- | |||||||||
| Clone Of: | Environment: | ||||||||||
| Last Closed: | 2013-01-09 10:00:48 UTC | Type: | Bug | ||||||||
| Regression: | --- | Mount Type: | --- | ||||||||
| Documentation: | --- | CRM: | |||||||||
| Verified Versions: | Category: | --- | |||||||||
| oVirt Team: | Gluster | RHEL 7.3 requirements from Atomic Host: | |||||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||||
| Embargoed: | |||||||||||
| Attachments: |
|
||||||||||
Created attachment 675247 [details]
engine logs
Created attachment 675248 [details]
installation logs from engine found at /var/log/ovirt-engine/host-deploy/ovirt-20130109093611-10.70.36.70.log
2013-01-08 14:45:56 DEBUG otopi.context context._executeMethod:113 Stage validation METHOD otopi.plugins.ovirt_host_deploy.gluster.packages.Plugin._validation
2013-01-08 14:45:56 DEBUG otopi.context context._executeMethod:127 method exception
Traceback (most recent call last):
File "/tmp/ovirt-fdCh2zkcEo/pythonlib/otopi/context.py", line 117, in _executeMethod
method['method']()
File "/tmp/ovirt-fdCh2zkcEo/otopi-plugins/ovirt-host-deploy/gluster/packages.py", line 66, in _validation
'Cannot locate gluster packages, '
RuntimeError: Cannot locate gluster packages, possible cause is incorrect channels
2013-01-08 14:45:56 ERROR otopi.context context._executeMethod:136 Failed to execute stage 'Setup validation': Cannot locate gluster packages, possible cause is incorrect channels
---
It is obvious that queryPackages() returned 'null' for 'vdsm-gluster' package here which threw these error strings at host-deploy process.
def _validation(self):
if not self.packager.queryPackages(patterns=['vdsm-gluster']):
raise RuntimeError(
_(
'Cannot locate gluster packages, '
'possible cause is incorrect channels'
)
)
self._enabled = True
@plugin.event(
stage=plugin.Stages.STAGE_PACKAGES,
condition=lambda self: self._enabled,
)
def _packages(self):
self.packager.installUpdate(('vdsm-gluster',))
--Humble
Virt SEG
What kind of a host is this? Is it an RHS2.0plus server? What is the output of command "yum search vdsm-gluster" on this server? It is a RHEL 6.4 Beta server. I had checked for "yum search vdsm-gluster", it said "Warning: No matches found for: vdsm-gluster". The hosts being added to a gluster cluster must be RHS servers. AFAIK That is the only supported configuration. |
Created attachment 675246 [details] screenshot of Events log Description of problem: --------------------------------------- When trying to add a host to a gluster-cluster from RHEVM, installation fails with the following message in the Events log - "Failed to install Host 10.70.36.70. Failed to execute stage 'Setup validation': Cannot locate gluster packages, possible cause is incorrect channels." The Events log also says the following - "Installing Host 10.70.36.70. Logs at host located at: '/tmp/ovirt-host-deploy-20130109093611.log'." But such a log file cannot be found on the host at location /tmp. Find screenshot of the Events log messages attached. Also attached are the engine logs and logs under /var/log/ovirt-engine/host-deploy/ovirt-20130109093611-10.70.36.70.log from the engine. Version-Release number of selected component (if applicable): oVirt Engine Version: 3.2.0-4.el6ev How reproducible: Always Steps to Reproduce: 1. Add a host installed with RHEL 6.4, with the repo files for vdsm and RHS repositories added under /etc/yum.repos.d Actual results: Installation fails. Expected results: Installation should succeed. Additional info: