# The proxy server - proxy server:port number
proxy=http://PROXY_IP:8123
# The account details for yum connections
proxy_username=yum-user
proxy_password=qwerty
RuntimeError: Cannot locate gluster packages, possible cause is incorrect channels
2016-06-10 11:38:59 ERROR otopi.context context._executeMethod:165 Failed to execute stage 'Setup validation': Cannot locate gluster packages, possible cause is incorrect channels
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',))