On Mon, Dec 5, 2016 at 11:47 AM, Martin Juhl <m...@casalogic.dk> wrote:
> Ok... Might have fixed that myself... > > Using the /centos/7.2.1511/cloud/x86_64/openstack-kilo/ it seems to > work... > > Now i'm getting: > > ==> /var/log/copr-backend/vmm.log <== > [2016-12-05 11:15:37,384][ > INFO][vmm.event_handler][manager.py:add_vm_to_pool:175] > registered new VM: Copr builder 94671718 127.0.0.1 > [2016-12-05 11:18:37,256][ INFO][vmm.event_handler][event > _handle.py:on_health_check_result:112] check fail threshold reached: 2, > terminating: {u'vm_ip': u'127.0.0.1', u'vm_name': u'Copr builder > 760126240', 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: (25, > \'Inappropriate ioctl for device\')", \'failed\': True}}, \'contacted\': > {}}'} > [2016-12-05 11:18:37,257][ INFO][vmm.event_handler][manag > er.py:start_vm_termination:283] VM Copr builder 760126240 queued for > termination > > Any ideas???? > > I saw this error ('Inappropriate ioctl for device') when ansible2 default config was used by ansible1.9 being installed after ansible2. Can you show us your /etc/ansible/ansible.cfg? Is it default conf for ansible1.9 package? I assume that ssh mockbuilder@localhost otherwise works ok in your setup. > > ------------------------------ > *Fra: *"mj" <m...@casalogic.dk> > *Til: *"copr-devel" <copr-devel@lists.fedorahosted.org> > *Sendt: *mandag, 5. december 2016 10:53:35 > *Emne: *python-novaclient package?? > > Hi guys > > Still playing around with getting COPR to work on RHEL/CentOS.. > > I'm very close.. Only think I have one issue left.. When ansible is > spawning a new build instance it fails... > > [root@copr02 playbooks]# ansible-playbook -i inventory -c ssh > /usr/share/doc/copr-backend-1.94/playbooks/spawn_local.yml > Traceback (most recent call last): > File "/usr/bin/ansible-playbook", line 324, in <module> > sys.exit(main(sys.argv[1:])) > File "/usr/bin/ansible-playbook", line 264, in main > pb.run() > File "/usr/lib/python2.7/site-packages/ansible/playbook/__init__.py", > line 310, in run > play = Play(self, play_ds, play_basedir, vault_password=self.vault_pass > word) > File "/usr/lib/python2.7/site-packages/ansible/playbook/play.py", line > 194, in __init__ > self._tasks = self._load_tasks(self._ds.get('tasks', []), > load_vars) > File "/usr/lib/python2.7/site-packages/ansible/playbook/play.py", line > 682, in _load_tasks > role_name=role_name > File "/usr/lib/python2.7/site-packages/ansible/playbook/task.py", line > 255, in __init__ > self.async_seconds = template.template_from_string(play.basedir, > self.async_seconds, all_vars) > File "/usr/lib/python2.7/site-packages/ansible/utils/template.py", line > 346, in template_from_string > environment.filters.update(_get_filters()) > File "/usr/lib/python2.7/site-packages/ansible/utils/template.py", line > 54, in _get_filters > plugins = [ x for x in utils.plugins.filter_loader.all()] > File "/usr/lib/python2.7/site-packages/ansible/utils/plugins.py", line > 232, in all > self._module_cache[path] = imp.load_source('.'.join([self.package, > name]), path) > File "/usr/share/doc/copr-backend-1.94/playbooks/filter_plugins/os_nova.py", > line 1, in <module> > from novaclient.v1_1.client import Client > ImportError: No module named v1_1.client > > I have installed the python-novaclient module from > "centos/7.2.1511/cloud/x86_64/openstack-mitaka/" but it seems to be too > new, as v1_1.client seems to be deprecated?? > > Which version do you use on Fedora??? > > Regards > > Martin > _______________________________________________ > copr-devel mailing list -- copr-devel@lists.fedorahosted.org > To unsubscribe send an email to copr-devel-le...@lists.fedorahosted.org > > > _______________________________________________ > copr-devel mailing list -- copr-devel@lists.fedorahosted.org > To unsubscribe send an email to copr-devel-le...@lists.fedorahosted.org > >
_______________________________________________ copr-devel mailing list -- copr-devel@lists.fedorahosted.org To unsubscribe send an email to copr-devel-le...@lists.fedorahosted.org