Hi guys I have standard mock building packages for RHEL with the following configuration:
------------------- config_opts['root'] = 'rhel-7-x86_64' config_opts['target_arch'] = 'x86_64' config_opts['legal_host_arches'] = ('x86_64',) config_opts['chroot_setup_cmd'] = 'install bash bzip2 cpio diffutils gzip perl sed tar unzip which @development' config_opts['dist'] = 'el7' config_opts['releasever'] = '7Server' config_opts['yum.conf'] = """ [main] cachedir=/var/cache/yum keepcache=1 debuglevel=1 reposdir=/dev/null logfile=/var/log/yum.log retries=20 obsoletes=1 gpgcheck=0 assumeyes=1 syslog_ident=mock syslog_device= # repos [rhel-7-server-rpms] metadata_expire = 86400 sslclientcert = /etc/pki/entitlement/9216879986979201201.pem baseurl = https://cdn.redhat.com/content/dist/rhel/server/7/$releasever/$basearch/os ui_repoid_vars = releasever basearch sslverify = 1 name = Red Hat Enterprise Linux 7 Server (RPMs) sslclientkey = /etc/pki/entitlement/9216879986979201201-key.pem gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release enabled = 1 sslcacert = /etc/rhsm/ca/redhat-uep.pem gpgcheck = 1 """ -------------------- Does anyone know howto use this with copr and mockremote??? Right now I have created a /etc/mock/rhel-7-x86_64.cfg, and added the profile with the manage.py script... But it doesn't really spawn the process: [2017-01-24 09:56:59,846][ DEBUG][vmm.event_handler][event_handle.py:on_health_check_result:106] recording check fail: {u'vm_ip': u'127.0.0.1', u'vm_name': u'Copr builder 596711858', u'topic': u'health_check', u'result': u'failed', u'msg': u'VM is not responding to the testing playbook.Runner options: {\'remote_user\': \'mockbuilder\', \'timeout\': 5, \'pattern\': \'127.0.0.1\', \'forks\': 1, \'host_list\': \'127.0.0.1,\', \'transport\': u\'paramiko\'}Ansible raw response:\n{\'dark\': {\'127.0.0.1\': {\'msg\': "Failed to open session: (1, \'Administratively prohibited\')", \'failed\': True}}, \'contacted\': {}}'} Any ideas?? Regards Martin _______________________________________________ copr-devel mailing list -- copr-devel@lists.fedorahosted.org To unsubscribe send an email to copr-devel-le...@lists.fedorahosted.org