From: <ope...@li...> - 2011-11-10 13:11:19
|
So it seems that func fetched list of VMs is ok - so problem must lay in OMS or in Web Console. You can test OMS through web API - see what data OMS is actually returning to Web Console. Please see OMS API documentation for details: http://www.opennodecloud.com/documentation/api-documentation/ You can execute API command manually in web browser and examine the output: 1) you need to create OMS session by login call first: https://oms.dh-infra.net:8000/?id=1&service=authservices&method=authenticate¶ms=["root","password"] copy the session ID in result - something like "8BA9DAE5D36E46B5E13DD035D4BBBEE763ADB280" 2) then execute list_vms_with_name_id_status through OMS API (replace SESSID with previous step result hash): https://oms.dh-infra.net:8000/?id=1&service=ovzservices&method=list_vms_status¶ms=["SESSID",0,"node1.dh-infra.net"] See if output is correct - eg both VMs are present. ---------------------------------------------- Andres Toomsalu ope...@li... wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Output from OMS shell: > > [root@oms /]# func node1.dh-infra.net call ovzvirt > list_vms_with_name_id_status > {'node1.dh-infra.net': [{'id': '105', > 'name': 'ns2.dh-infra.net', > 'stats': {}, > 'status': 1}, > {'id': '106', > 'name': 'oms.dh-infra.net', > 'stats': {}, > 'status': 1}]} > > Output vzlist: > > [root@node1 ~]# vzlist > CTID NPROC STATUS IP_ADDR HOSTNAME > 105 21 running 109.230.236.121 ns2.dh-infra.net > 106 38 running 109.230.236.122 oms.dh-infra.net > > > Freundliche Grüße, > > David Hackl > > - -- > DH-Online Webservices > Josef Holzinger-Straße 17 > 2602 Blumau-Neurißhof > Österreich > > http://dh-online.net > in...@dh... > > Die Nachricht wurde via GnuPG signiert. Meinen Public Key zur Prüfung > der Authentizität der E-Mail ist in meinem Wiki unter > http://wiki.dh-online.net/kontakt/pubkey zu finden. > > Am 2011-11-09 09:58, schrieb opennode-users: > >> Hi David, >> >> Best way to debug it would be using OMS func shell - please see >> description here: >> http://www.opennodecloud.com/documentation/opennode-cli-management/oms-cli/oms-func-shell/ >> >> Basically you should execute in OMS shell the following: func >> node1.dh-infra.net call ovzvirt list_vms_with_name_id_status >> >> Just to see if OpenVZ containers list will be correct there (if it >> is then its OMS or WUI issue) - if not then execute vzlist in >> node1.dh-infra.net console and see what it outputs. >> >> Please post both outputs - then I can assist further. >> >> P.S. I hope that we are going to release production quality OMS by >> the end of November - which has been rewritten from scratch and has >> some new concepts as well. So don't bother much on implementing >> current OMS preview version - as this one will be discarded >> actually. >> >> Regards, >> >> >> >> ------------------------------------------------------------------------------ >> >> >> > RSA(R) Conference 2012 > >> Save $700 by Nov 18 Register now >> http://p.sf.net/sfu/rsa-sfdev2dev1 >> >> >> >> _______________________________________________ OpenNode-users >> mailing list Ope...@li... >> https://lists.sourceforge.net/lists/listinfo/opennode-users >> > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.11 (GNU/Linux) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ > > iQIcBAEBAgAGBQJOurc8AAoJEPHjL+4Vh52T5kwQALsvt/u9CJDbDGd3sTq4k/Su > f9yt7A1BWhj4H1fRYEHpPCY1yknxPqBEXKjVDAENhEkjdPVufn56666zX6WOhDG5 > bDLgFZI3l2GdYiE+fTvMyC5iQ7jdMopJvDj48xmSHmNRQuH/jGipOEg6uAzUVSur > D1iQ4n6WIJ5V+nLAU47cabewTyixDtHjnuVikBKj1tz+2QrRz5TNQXDMgwTAWFyg > c1lTvF1CJKkVHx4CJl0YdfscemowPz76GbKjk0Pf39l804KNkKzwyKfxqNyWXse9 > HMaSwIt/JI/kam/rjF70U2DhEMjifJQ8ttLexYmdPigEHHq4PpLWC0udNs00Ciz+ > lWtOPIN9TSBQDqxzNI+cMJyU68yXcZfXreUo3qFxQVFPzsYbcpV9ux0KWbyj3kmu > 8AvQlSxosQhwvy+rLF9q5v32Iqiewz6WY1let7fGgDk5tUvAVrqO9a1Z0dCJVPLW > V+TfDDwKwHBqyMO2z8RGlbAWHEI4IjJQNC1xYUO2m1B8UIyzwqre+MwFkzzqroLn > c6NfLNYiNVPuNOflqUPWDG9pFWvllV3xlP7uO6rUSL+yW1q53FkIe47uLoYRmG8H > SC/ONkiDdqF3sR0wMdBKROovM3S0gdaNjdaM7vS6kxGeL8FCttvMYaELSYwYLaFb > Q32WaQakzXMXf5vTF0He > =cUkk > -----END PGP SIGNATURE----- > > ------------------------------------------------------------------------------ > RSA(R) Conference 2012 > Save $700 by Nov 18 > Register now > http://p.sf.net/sfu/rsa-sfdev2dev1 > ------------------------------------------------------------------------ > > _______________________________________________ > OpenNode-users mailing list > Ope...@li... > https://lists.sourceforge.net/lists/listinfo/opennode-users > |