- 19 Jul, 2022 4 commits
-
-
Thomas Gambier authored
This will be useful for tests. We don't need to do the chown as root because we created the file with root account.
-
Thomas Gambier authored
-
Thomas Gambier authored
Traceback (most recent call last): File "/opt/slapos/eggs/slapos.core-1.7.10-py3.7.egg/slapos/grid/slapgrid.py", line 1435, in processComputerPartitionList self.processComputerPartition(computer_partition) File "/opt/slapos/eggs/slapos.core-1.7.10-py3.7.egg/slapos/grid/slapgrid.py", line 1329, in processComputerPartition raise e File "/opt/slapos/eggs/slapos.core-1.7.10-py3.7.egg/slapos/grid/slapgrid.py", line 1254, in processComputerPartition local_partition._updateCertificate() File "/opt/slapos/eggs/slapos.core-1.7.10-py3.7.egg/slapos/grid/SlapObject.py", line 513, in _updateCertificate fout.write(new_content) TypeError: a bytes-like object is required, not 'str' Also add test for the failure.
-
Thomas Gambier authored
-
- 13 Jul, 2022 3 commits
-
-
Rafael Monnerat authored
See merge request nexedi/slapos.core!402
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
- 12 Jul, 2022 2 commits
-
-
Rafael Monnerat authored
Only get the product image if the user has access to it.
-
Rafael Monnerat authored
This allow the internal API, generate upgrade decisions for non public softwares
-
- 11 Jul, 2022 3 commits
-
-
Thomas Gambier authored
-
Thomas Gambier authored
See merge request nexedi/slapos.core!399
-
Jérome Perrin authored
Fixes the following error: Traceback (most recent call last): File "/opt/slapos/eggs/slapos.core-1.7.9-py3.7.egg/slapos/cli/entry.py", line 305, in run_subcommand result = cmd.run(parsed_args) File "/opt/slapos/eggs/slapos.core-1.7.9-py3.7.egg/slapos/cli/command.py", line 56, in run return self.take_action(parsed_args) File "/opt/slapos/eggs/slapos.core-1.7.9-py3.7.egg/slapos/cli/format.py", line 128, in take_action do_format(conf=conf) File "/opt/slapos/eggs/slapos.core-1.7.9-py3.7.egg/slapos/format.py", line 1396, in do_format create_tap=conf.create_tap) File "/opt/slapos/eggs/slapos.core-1.7.9-py3.7.egg/slapos/format.py", line 655, in format partition.address_list.append(self.interface.addIPv6Address()) File "/opt/slapos/eggs/slapos.core-1.7.9-py3.7.egg/slapos/format.py", line 1223, in addIPv6Address if self._addSystemAddress(addr, netmask, tap=tap): File "/opt/slapos/eggs/slapos.core-1.7.9-py3.7.egg/slapos/format.py", line 1086, in _addSystemAddress for l in result.split('\n'): TypeError: a bytes-like object is required, not 'str'
-
- 08 Jul, 2022 1 commit
-
-
Rafael Monnerat authored
See merge request nexedi/slapos.core!398
-
- 07 Jul, 2022 2 commits
-
-
Rafael Monnerat authored
-
Rafael Monnerat authored
Await for content after a click proceed with a redirect is imprecise, since the spinned (on notifySubmited) can disapear them reapear (when gaget redirect is called).
-
- 06 Jul, 2022 1 commit
-
-
Thomas Gambier authored
-
- 04 Jul, 2022 2 commits
-
-
Rafael Monnerat authored
See merge request nexedi/slapos.core!396
-
Rafael Monnerat authored
-
- 01 Jul, 2022 7 commits
-
-
Rafael Monnerat authored
See merge request nexedi/slapos.core!395
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Rafael Monnerat authored
Also add test for verify if user can close ticket by himself
-
Rafael Monnerat authored
Change to use the proper API from ticket_slap_interface_workflow.
-
Rafael Monnerat authored
Since the ticket could be seen by multiple users, don't force sender be the Ticket owner.
-
Rafael Monnerat authored
Now the activities takes longer to run and configure the site
-
- 29 Jun, 2022 5 commits
-
-
Rafael Monnerat authored
It makes no sense now evaluate this using Grade System, but provide reports with helpful information rather them evaluation.
-
Rafael Monnerat authored
See merge request nexedi/slapos.core!388
-
Rafael Monnerat authored
Re-serialise the object from the dict after hit cache is slow enough to cause problems ounder high load. This change preserve the previous behaviour reaching the final XML from cache keeping performace on SlapTool and allowing new implementation benefit from cache at same time. Fixup test to match xml with xml.
-
Rafael Monnerat authored
This API extends catalog tool to search node and partitions using unrestricted search and accertACI. The mains goal here are: - raise Unauthorized (instead NotFound) when the object exists but you cannot have access - Globaly cache when you find a computer since this is quite intense operation - Be able to search regardless security (which is required for some usecases).
-
Rafael Monnerat authored
The internal API only store dict, rather them store xml. slapos.slap.slap is only used on SlapTool context, releasing the internal API on having it. The approach is deprecate the usage of it as soon clients relies on a different API.
-
- 28 Jun, 2022 1 commit
-
-
Thomas Gambier authored
-
- 27 Jun, 2022 2 commits
-
-
Rafael Monnerat authored
-
Thomas Gambier authored
-
- 24 Jun, 2022 1 commit
-
-
Thomas Gambier authored
$ slapos --version slapos 1.7.7 (Python 3.9.2)
-
- 22 Jun, 2022 1 commit
-
-
Thomas Gambier authored
-
- 10 Jun, 2022 1 commit
-
-
Jérome Perrin authored
-
- 06 Jun, 2022 2 commits
-
-
Rafael Monnerat authored
See merge request nexedi/slapos.core!389
-
Rafael Monnerat authored
-
- 31 May, 2022 1 commit
-
-
Rafael Monnerat authored
-
- 27 May, 2022 1 commit
-
-
Rafael Monnerat authored
-