Search results

  1. I

    has anyone used postman for api analysis ?

    Yes sorry was unclear communicated I took the token and the ticket from the post response and filled a get request for /access/acl but this doesnt worked. a same triggert request with curl worked fine for me. May be postman handles the cookie wrong ?
  2. I

    GET /api2/json/nodes/{node}/qemu/{vmid}/config

    says boolean. Default is 0 which isnt a boolean from the programming point of view like python does. May be it would be possible to play around (which i did) and the 1 means True but wouldnt it be better to accept both? 0&False and 1&True ?
  3. I

    GET /api2/json/nodes/{node}/qemu/{vmid}/config

    I tried to use the api function to get the CURRENT config. there is the optional parameter current existing so the url is https://prox:8006/api2/json/nodes/{node}/qemu/{vmid}/config?current=<boolean> but neither True nor true works. just 0 and 1. But which is default ? and which is true ? and...
  4. I

    has anyone used postman for api analysis ?

    I do run always into failures with 7.0.9 with is the current stable one. post for getting the ticket works fine https://prox06:8006/api2/json/access/ticket?username=immo@pve&password=**** but the get request seems not to be send out
  5. I

    clone vm but rights problem

    even if intended it must not be good... Seems to make the common right handling vice versa. But yeah... Its written somewhere in the deep. No the request could be at least to have more informative error messages
  6. I

    clone vm but rights problem

    OK issue cleared. Permissions for individual users always replace group permissions. replace is the nasty one. If the user is member of Admin group and has the role PVEAuditor -> he is just PVEAuditor The shorten user.cfg was too short :-( But this is worse. At least on the same level...
  7. I

    clone vm but rights problem

    And at the end the question is why not telling the missing right at the API response ?
  8. I

    clone vm but rights problem

    let me see ... At the beginning it showed always smileys in stead of @p: ... and yes there was something lost. user:iwetzel@maria:1:0:Immo:Wetzel:immo.***@***.com::: user:pyprox@pve:1:0::::for RegtestLibraryFunctions:: group:Admin:iwetzel@maria,jschneider@maria...
  9. I

    clone vm but rights problem

    I shorten the file a lot. user:iwetzel@maria:1:0:Immo:Wetzel:immo.***@***.com::: user:pyprox@pve:1:0::::for RegtestLibraryFunctions:: group:Admin:iwetzel@maria,jschneider@maria group:regtestlib:pyprox@pve:RegtestLibrary: group:Regtest:mkrause@maria:TeamLibrary: group:Team:iwetzel@maria:NoText...
  10. I

    clone vm but rights problem

    even more irritated. Just took all the rights the user has so source is VM Clone allowed [{'path': '/vms/1001', 'roleid': 'PVEVMAdmin', 'rights': ['VM.Backup', 'VM.Config.Disk', 'VM.Console', 'VM.Migrate', 'VM.Config.CPU', 'VM.Snapshot', 'VM.PowerMgmt', 'VM.Config.CDROM', 'VM.Config.Options'...
  11. I

    clone vm but rights problem

    thats clear for me. The user has 1> 'path': '/vms/1001', 'roleid': 'PVEVMAdmin', 2> 'path': '/', 'roleid': 'PVEAuditor', 3> 'path': '/', 'roleid': 'PVEAdmin' The task is to clone 1001 I guess the problem is that the first role overrules the third one cos of more detailed path. My expectation...
  12. I

    clone vm but rights problem

    I do have a problem with the clone vm. My specific api user is PVEAdmin but he got always forbidden if he tries to clone a vm (template). I really miss something which tells the which specific right is missing. My own user has the administrator role and he can for sure clone the vm. But the...
  13. I

    HAProxy for API calls ?

    sure that HAproxy would be a single point of failure too but to widespread the amount of api calls over the different nodes this could help. and for HA proxy redundancy there are also some solutions available pvesh get /cluster/status returns just ┌─────────┐ │ type │ ├─────────┤ │ cluster...
  14. I

    HAProxy for API calls ?

    We do have a lot of API calls from different external applications. Each currently pointing to a master host which we expect to have as stable as possible. Should we put a haproxy beforehand to have to the api calls distributed over the different hosts ? If the application would be able to get...
  15. I

    output-format error with pvesh create

    root@prox01:~# pveversion pve-manager/5.2-8/fdf39912 (running kernel: 4.13.13-5-pve) but I get a Unknow option: output-format error all the time I try to clone a VM pvesh create /nodes/prox05/qemu/800/clone -newID 603 -full 1 -name TestPC1 -storage Storage -format qcow2 -target prox07 Whats...
  16. I

    [SOLVED] pvesh output changes

    root@prox01:~# pveversion pve-manager/5.2-8/fdf39912 (running kernel: 4.13.13-5-pve) but I get a Unknow option: output-format error all the time I try to clone a VM pvesh create /nodes/prox05/qemu/800/clone -newID 603 -full 1 -name TestPC1 -storage Storage -format qcow2 -target prox07
  17. I

    default gui session timeout

    the timesync was not correct on one server. This seems to be an issue for the Windows hosted Webbrowsers Auth more than for Linux ones. All are now in sync and everything is fine.
  18. I

    default gui session timeout

    root@prox03:~# pveversion -v proxmox-ve: 5.1-38 (running kernel: 4.13.13-5-pve) pve-manager: 5.1-43 (running version: 5.1-43/bdb08029) pve-kernel-4.4.98-5-pve: 4.4.98-105 pve-kernel-4.2.3-2-pve: 4.2.3-22 pve-kernel-4.2.6-1-pve: 4.2.6-36 pve-kernel-4.4.13-1-pve: 4.4.13-56 pve-kernel-4.2.2-1-pve...
  19. I

    default gui session timeout

    Hi folks, Where do I find the default session timeout. I do have some clients which logout after less than 5 mins which is to short for them. Immo
  20. I

    [SOLVED] how can i add a serial port config to a vm via conf file

    to have a serial port as telnet if available use only args: -chardev socket,id=serial0,port=[insert your tcp port in here],host=0.0.0.0,server,nowait,telnet -device isa-serial,chardev=serial0 i would like to have the tcp port number automatically created out of the vmid but it doesnt look like...