1. 27 Dec, 2019 1 commit
  2. 24 Dec, 2019 1 commit
  3. 18 Dec, 2019 1 commit
  4. 17 Dec, 2019 3 commits
    • Łukasz Nowak's avatar
      Release 1.5.5 · 3dee88a5
      Łukasz Nowak authored
    • Łukasz Nowak's avatar
      format: Stabilise partition addresses · affe90a0
      Łukasz Nowak authored
      Depending on the netifaces version the netmask can come with or without
      lenght prefix, so support both cases and consider netmask with prefix
      as equal to without prefix.
      The only result will be update of the netmask in the computer XML file.
    • Łukasz Nowak's avatar
      format: Try hard to keep the same computer address · d3c516ed
      Łukasz Nowak authored
      self.interface.getGlobalScopeAddressList which uses netifaces can have
      different sorting of the addresses depending of the version, so prefer the
      already configured IPv6 address.
  5. 28 Nov, 2019 2 commits
  6. 25 Nov, 2019 4 commits
  7. 21 Nov, 2019 2 commits
    • Nicolas Wavrant's avatar
      cli: minor improvements in commands' help messages · e1a81425
      Nicolas Wavrant authored
      * --token ask in "slapos configure client" is not supported ("ask" is interpreted
           as the argument value, iow the token)
         * node_name : a node name is an unknown concept. On slapos.vifib.com interface, the
           nodes have titles and references
      /reviewed-on !158
    • Nicolas Wavrant's avatar
      format: support newer versions of netifaces · f2798c25
      Nicolas Wavrant authored
      fix the following crash in command ```slapos node boot``` in slapos package version "1.5.2+1.0.125+3-1" :
      # slapos node boot
      [BOOT] Checking if 'lo' has IPv6...
      [BOOT] Invoking ipv6 ping to slap.vifib.com...
      [BOOT] IPv6 network reachable...
      [BOOT] Invoking slapos node format...
      2019-11-20 09:43:52 slapos[5511] WARNING Creating new computer data with id 'COMP-3121'
      2019-11-20 09:43:52 slapos[5511] INFO Adding 10 new partitions
      2019-11-20 09:43:52 slapos[5511] INFO Updating computer
      2019-11-20 09:43:52 slapos[5511] ERROR u'ffff:ffff:ffff:ffff:ffff:ffff::/96' is not a valid IPv6 address string!
      Traceback (most recent call last):
        File "/opt/slapos/eggs/slapos.core-1.5.2-py2.7.egg/slapos/cli/entry.py", line 300, in run_subcommand
          result = cmd.run(parsed_args)
        File "/opt/slapos/eggs/slapos.core-1.5.2-py2.7.egg/slapos/cli/command.py", line 50, in run
          return self.take_action(parsed_args)
        File "/opt/slapos/eggs/slapos.core-1.5.2-py2.7.egg/slapos/cli/format.py", line 128, in take_action
        File "/opt/slapos/eggs/slapos.core-1.5.2-py2.7.egg/slapos/format.py", line 1401, in do_format
        File "/opt/slapos/eggs/slapos.core-1.5.2-py2.7.egg/slapos/format.py", line 665, in format
        File "/opt/slapos/eggs/slapos.core-1.5.2-py2.7.egg/slapos/format.py", line 1227, in addIPv6Address
          if self._addSystemAddress(addr, netmask, tap=tap):
        File "/opt/slapos/eggs/slapos.core-1.5.2-py2.7.egg/slapos/format.py", line 1058, in _addSystemAddress
          address_string = '%s/%s' % (address, netmaskToPrefixIPv6(netmask))
        File "/opt/slapos/eggs/slapos.core-1.5.2-py2.7.egg/slapos/format.py", line 179, in netmaskToPrefixIPv6
        File "/opt/slapos/eggs/netaddr-0.7.19-py2.7.egg/netaddr/strategy/ipv6.py", line 142, in str_to_int
          raise AddrFormatError('%r is not a valid IPv6 address string!' % addr)
      AddrFormatError: u'ffff:ffff:ffff:ffff:ffff:ffff::/96' is not a valid IPv6 address string!
      [BOOT] [ERROR] Fail to format, try again in 15 seconds...
      [BOOT] Invoking slapos node format...
      /reviewed-on !157
  8. 15 Nov, 2019 5 commits
  9. 14 Nov, 2019 2 commits
  10. 13 Nov, 2019 2 commits
  11. 12 Nov, 2019 1 commit
  12. 08 Nov, 2019 1 commit
  13. 06 Nov, 2019 1 commit
  14. 05 Nov, 2019 2 commits
  15. 30 Oct, 2019 4 commits
    • Jérome Perrin's avatar
      Release 1.5.1 · a02013d0
      Jérome Perrin authored
    • Jérome Perrin's avatar
      standalone: Only include 30 lines of error in waitForInstance · 91c35404
      Jérome Perrin authored
      Now that slapos node instance outputs summary of problems, no need to
      pollute the logs so much
    • Jérome Perrin's avatar
      promise: include promise output in PromiseError · 8306282f
      Jérome Perrin authored
      This will improve the summary of problems at the end of slapos node
      /reviewed-on !144
    • Jérome Perrin's avatar
      cli: new "node prune" command · 4270184f
      Jérome Perrin authored
      Used to remove shared parts that are no longer referenced.
      With shared part installed for example in `/opt/slapgrd/shared/name/HASH`
      the heuristic is to assume that if `HASH` is present in a software's
      `.installed.cfg`, then this software is using this shared part.
      Similar, if `HASH` is present in
      `/opt/slapgrid/shared/another/ANOTHER_HASH/.slapos*signature` then share
      part another for hash `ANOTHER_HASH` is using the shared part.
      This also have some support to recursively look in instances and if they
      contain a `slapos.cfg` file, look for software and shared parts to see if
      they use the shared part.
      In other cases, this shared part can be deleted.
      /reviewed-on !139
  16. 28 Oct, 2019 4 commits
  17. 26 Oct, 2019 4 commits