Thanks Dan, the params are now good. New error regarding libvirt : Traceback (most recent call last): File "/usr/share/vdsm/vm.py", line 570, in _startUnderlyingVm self._run() File "/usr/share/vdsm/libvirtvm.py", line 1364, in _run self._connection.createXML(domxml, flags), File "/usr/lib/python2.7/site-packages/vdsm/libvirtconnection.py", line 82, in wrapper ret = f(*args, **kwargs) File "/usr/lib64/python2.7/site-packages/libvirt.py", line 2564, in createXML if ret is None:raise libvirtError('virDomainCreateXML() failed', conn=self) libvirtError: erreur interne network 'direct-pool' uses a direct mode, but has no forward dev and no interface pool Thread-823791::DEBUG::2013-01-02 18:21:49,892::vm::920::vm.Vm::(setDownStatus) vmId=`32c3e4a2-96c1-40a5-b03c-dafeba50962e`::Changed state to Down: erreur interne network 'direct-pool' uses a direct mode, but has no forward dev and no interface pool
[root@node1 ~]# rpm -qa | grep libvirt libvirt-debuginfo-0.10.1-1.fc17.x86_64 libvirt-0.10.1-1.fc17.x86_64 libvirt-daemon-config-network-0.10.1-1.fc17.x86_64 libvirt-daemon-driver-interface-0.10.1-1.fc17.x86_64 libvirt-daemon-driver-network-0.10.1-1.fc17.x86_64 libvirt-daemon-driver-storage-0.10.1-1.fc17.x86_64 libvirt-daemon-lxc-0.10.1-1.fc17.x86_64 libvirt-daemon-qemu-0.10.1-1.fc17.x86_64 libvirt-docs-0.10.1-1.fc17.x86_64 libvirt-python-0.10.1-1.fc17.x86_64 libvirt-client-0.10.1-1.fc17.x86_64 libvirt-daemon-0.10.1-1.fc17.x86_64 libvirt-daemon-config-nwfilter-0.10.1-1.fc17.x86_64 libvirt-daemon-driver-libxl-0.10.1-1.fc17.x86_64 libvirt-daemon-driver-lxc-0.10.1-1.fc17.x86_64 libvirt-daemon-driver-nodedev-0.10.1-1.fc17.x86_64 libvirt-daemon-driver-nwfilter-0.10.1-1.fc17.x86_64 libvirt-daemon-driver-secret-0.10.1-1.fc17.x86_64 libvirt-daemon-driver-uml-0.10.1-1.fc17.x86_64 libvirt-daemon-kvm-0.10.1-1.fc17.x86_64 libvirt-daemon-uml-0.10.1-1.fc17.x86_64 libvirt-devel-0.10.1-1.fc17.x86_64 libvirt-lock-sanlock-0.10.1-1.fc17.x86_64 libvirt-daemon-driver-qemu-0.10.1-1.fc17.x86_64 libvirt-daemon-driver-xen-0.10.1-1.fc17.x86_64 [root@node1 ~]# Kevin 2013/1/2 Dan Yasny <dya...@redhat.com> > > > ----- Original Message ----- > > From: "Kevin Maziere Aubry" <kevin.mazi...@alterway.fr> > > To: "Dan Yasny" <dya...@redhat.com> > > Sent: Wednesday, 2 January, 2013 3:26:46 PM > > Subject: Re: [Users] vm-fex paramters > > > > > > Hi > > > > > > I tried these syntax : > > 'macadress':'profile' > > "macadress":profile > > "macadress":"profile" > > > > The custom property you enter in the UI should look like this: > > {'00:1a:4a:1f:96:01':'p1p'} > > for additional mappings, what you write in the UI is as follows: > > {'$MAC':'$PROFILE','$MAC1':'PROFILE1','MAC2':'PROFILE2'} > > > This strictly follows the python dictionary syntax, and it fails, because > the syntax requires curly braces > > > > > > > With macadress the mac adresse generic format : aa:aa:aa:aa:aa:aa > > And the profile the name I set un UCs : p1p > > > > > > Kevin > > > > > > > > 2013/1/2 Dan Yasny < dya...@redhat.com > > > > > > > > > > > > > ----- Original Message ----- > > > From: "Kevin Maziere Aubry" < kevin.mazi...@alterway.fr > > > > To: "Dan Yasny" < dya...@redhat.com > > > > > > Sent: Wednesday, 2 January, 2013 1:26:52 PM > > > Subject: Re: [Users] vm-fex paramters > > > > > > > > > > > "vmfex" and I can add whatever I want as a parameter > > > > > > > > > > Yes, but what exactly did you add? > > > > > > > > > > > > 2013/1/2 Dan Yasny < dya...@redhat.com > > > > > > > > > > > > > > > > > > > ----- Original Message ----- > > > > From: "Kevin Maziere Aubry" < kevin.mazi...@alterway.fr > > > > > > > > > > > To: "Dan Yasny" < dya...@redhat.com > > > > > Cc: users@ovirt.org > > > > Sent: Wednesday, 2 January, 2013 12:01:27 PM > > > > Subject: Re: [Users] vm-fex paramters > > > > > > > > > > > > Hi > > > > > > > > > > > > I get the plugin from here : > > > > > > > > yum install > > > > > http://resources.ovirt.org/releases/nightly/rpm/Fedora/17/noarch/vdsm-hook-vmfex-4.10.3-0.41.gitad916c7.fc17.noarch.rpm > > > > > > > > > > > > The error are : > > > > > > > > Thread-801738::DEBUG::2013-01-02 > > > > 10:35:24,568::__init__::1249::Storage.Misc.excCmd::(_log) FAILED: > > > > <err> = 'vmfex: starting to edit VM \nvmfex: customProperty: > > > > \'00:1a:4a:1f:96:01\':\'p1p\'\nvmfex: ERROR Traceback (most > > > > recent > > > > call last):\n File > > > > "/usr/libexec/vdsm/hooks/before_vm_start/50_vmfex", line 174, in > > > > <module>\n vmfexd = ast.literal_eval(vmfex)\n File > > > > "/usr/lib64/python2.7/ast.py", line 49, in literal_eval\n > > > > node_or_string = parse(node_or_string, mode=\'eval\')\n File > > > > "/usr/lib64/python2.7/ast.py", line 37, in parse\n return > > > > compile(source, filename, mode, PyCF_ONLY_AST)\n File > > > > "<unknown>", > > > > line 1\n \'00:1a:4a:1f:96:01\':\'p1p\'\n ^\nSyntaxError: invalid > > > > syntax\n\n'; <rc> = 2 > > > > SyntaxError: invalid syntax > > > > Where p1p is my UCS profile. > > > > > > > > > > Thanks, can you also post your custom property, exactly as is looks > > > in the GUI? > > > > > > > > > > > > > > > > > Kévin > > > > > > > > > > > > > > > > 2013/1/2 Dan Yasny < dya...@redhat.com > > > > > > > > > > > > > > > > > > > > > ----- Original Message ----- > > > > > From: "Kevin Maziere Aubry" < kevin.mazi...@alterway.fr > > > > > > To: users@ovirt.org > > > > > Sent: Wednesday, 2 January, 2013 11:37:03 AM > > > > > Subject: [Users] vm-fex paramters > > > > > > > > > > > > > > > > > > > > Hi all > > > > > > > > > > > > > > > Does someone success to make the vm-fex plugin to work ? > > > > > > > > > > > > > > > I've setup the engine with the "vmfex" parameter and on my VM I > > > > > tried > > > > > to setup the options but I always have a error, vdsm plugin > > > > > doesn't > > > > > recognive my syntaxe. > > > > > 'mac':'profile' > > > > > "mac":"profile" > > > > > 'mac':profile > > > > > > > > > > > > > > > I follow these tutos : > > > > > http://digitalcritical.wordpress.com/tag/vmfex/ > > > > > http://wiki.ovirt.org/VDSM-Hooks/vmfex > > > > > > > > > > > > > > > > > > Hi Kevin, > > > > > > > > Where did you download the hook from? > > > > > > > > > > > > > > > > > -- > > > > > > > > > > Kevin Mazière > > > > > Responsable Infrastructure > > > > > Alter Way – Hosting > > > > > 1 rue Royal - 227 Bureaux de la Colline > > > > > 92213 Saint-Cloud Cedex > > > > > Tél : +33 (0)1 41 16 38 41 > > > > > Mob : +33 (0)7 62 55 57 05 > > > > > http://www.alterway.fr > > > > > _______________________________________________ > > > > > Users mailing list > > > > > Users@ovirt.org > > > > > http://lists.ovirt.org/mailman/listinfo/users > > > > > > > > > > > > > -- > > > > > > > > > > > > > > > > Regards, > > > > > > > > Dan Yasny > > > > Red Hat Israel > > > > +972 9769 2280 > > > > > > > > > > > > > > > > > > > > -- > > > > > > > > Kevin Mazière > > > > Responsable Infrastructure > > > > Alter Way – Hosting > > > > 1 rue Royal - 227 Bureaux de la Colline > > > > 92213 Saint-Cloud Cedex > > > > Tél : +33 (0)1 41 16 38 41 > > > > Mob : +33 (0)7 62 55 57 05 > > > > http://www.alterway.fr > > > > > > -- > > > > > > > > > > > > Regards, > > > > > > Dan Yasny > > > Red Hat Israel > > > +972 9769 2280 > > > > > > > > > > > > > > > -- > > > > > > Kevin Mazière > > > Responsable Infrastructure > > > Alter Way – Hosting > > > 1 rue Royal - 227 Bureaux de la Colline > > > 92213 Saint-Cloud Cedex > > > Tél : +33 (0)1 41 16 38 41 > > > Mob : +33 (0)7 62 55 57 05 > > > http://www.alterway.fr > > > > -- > > > > > > > > Regards, > > > > Dan Yasny > > Red Hat Israel > > +972 9769 2280 > > > > > > > > > > -- > > > > Kevin Mazière > > Responsable Infrastructure > > Alter Way – Hosting > > 1 rue Royal - 227 Bureaux de la Colline > > 92213 Saint-Cloud Cedex > > Tél : +33 (0)1 41 16 38 41 > > Mob : +33 (0)7 62 55 57 05 > > http://www.alterway.fr > > -- > > > > Regards, > > Dan Yasny > Red Hat Israel > +972 9769 2280 > -- Kevin Mazière Responsable Infrastructure Alter Way – Hosting 1 rue Royal - 227 Bureaux de la Colline 92213 Saint-Cloud Cedex Tél : +33 (0)1 41 16 38 41 Mob : +33 (0)7 62 55 57 05 http://www.alterway.fr
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users