Page MenuHomeDevCentral
Feed All Stories

Nov 6 2017

dereckson updated the diff for D1184: Optimize ZFS kernel settings.

Fix syntax: = assignment operator shouldn't be enclosed by spaces

Nov 6 2017, 22:54
dereckson accepted D1184: Optimize ZFS kernel settings.
Nov 6 2017, 22:51
dereckson updated the summary of D1184: Optimize ZFS kernel settings.
Nov 6 2017, 22:50
dereckson created D1184: Optimize ZFS kernel settings.
Nov 6 2017, 22:49
dereckson added a parent task for T1311: Set sysctl for FreeBSD servers: T1268: Reprovision Ysul.
Nov 6 2017, 21:40 · Operations sprints (The Dreadnought will produce new officers), security, Salt
dereckson added a subtask for T1268: Reprovision Ysul: T1311: Set sysctl for FreeBSD servers.
Nov 6 2017, 21:40 · Operations sprints (The Dreadnought will produce new officers), Salt, Servers
dereckson committed rOPSe98b274c14b3: Kernel state configuration (authored by dereckson).
Kernel state configuration
Nov 6 2017, 21:40
dereckson closed T1311: Set sysctl for FreeBSD servers as Resolved by committing rOPSe98b274c14b3: Kernel state configuration.
Nov 6 2017, 21:39 · Operations sprints (The Dreadnought will produce new officers), security, Salt
dereckson closed D1183: Kernel state configuration.
Nov 6 2017, 21:39
dereckson accepted D1183: Kernel state configuration.
Nov 6 2017, 21:36
dereckson added a comment to D1183: Kernel state configuration.
Ysul
$ salt-call --local state.apply roles/core/sysctl
local:
----------
          ID: /etc/sysctl.conf
    Function: file.managed
      Result: True
     Comment: File /etc/sysctl.conf updated
     Started: 21:34:14.883600
    Duration: 105.326 ms
     Changes:   
              ----------
              diff:
                  --- 
                  +++ 
                  @@ -1,11 +1,22 @@
                  -# $FreeBSD: releng/11.1/etc/sysctl.conf 112200 2003-03-13 18:43:50Z mux $
                  +#   -------------------------------------------------------------
                  +#   Kernel state configuration
                  +#   - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                  +#   Project:        Nasqueron
                  +#   Created:        2017-11-06
                  +#   License:        Trivial work, not eligible to copyright
                  +#   Source file:    roles/core/sysctl/files/sysctl.conf
                  +#   -------------------------------------------------------------
                   #
                  -#  This file is read when going to multi-user and its contents piped thru
                  -#  ``sysctl'' to adjust kernel values.  ``man 5 sysctl.conf'' for details.
                  +#   <auto-generated>
                  +#       This file is managed by our rOPS SaltStack repository.
                   #
                  +#       Changes to this file may cause incorrect behavior
                  +#       and will be lost if the state is redeployed.
                  +#   </auto-generated>
Nov 6 2017, 21:35
dereckson created D1183: Kernel state configuration.
Nov 6 2017, 21:35
dereckson added a revision to T1311: Set sysctl for FreeBSD servers: D1183: Kernel state configuration.
Nov 6 2017, 21:35 · Operations sprints (The Dreadnought will produce new officers), security, Salt
dereckson added a project to T1311: Set sysctl for FreeBSD servers: Operations sprints (The Dreadnought will produce new officers).
Nov 6 2017, 20:05 · Operations sprints (The Dreadnought will produce new officers), security, Salt
dereckson added a project to T1311: Set sysctl for FreeBSD servers: security.
Nov 6 2017, 20:05 · Operations sprints (The Dreadnought will produce new officers), security, Salt
dereckson updated the task description for T1311: Set sysctl for FreeBSD servers.
Nov 6 2017, 20:01 · Operations sprints (The Dreadnought will produce new officers), security, Salt
dereckson updated the task description for T1310: Merge deploy and deployment groups.
Nov 6 2017, 19:51 · Operations sprints (Consolidate them all), Technical debt, Eglide, Salt
dereckson claimed T1311: Set sysctl for FreeBSD servers.
Nov 6 2017, 19:12 · Operations sprints (The Dreadnought will produce new officers), security, Salt
dereckson committed rOPS9b5708c8a0d7: Install PEFS on FreeBSD devserver role (authored by dereckson).
Install PEFS on FreeBSD devserver role
Nov 6 2017, 19:02
dereckson closed D1182: Install PEFS on FreeBSD devserver role.
Nov 6 2017, 19:02
dereckson updated the diff for D1182: Install PEFS on FreeBSD devserver role.

Document known issue, split module.run from pkg.installed

Nov 6 2017, 19:01
dereckson added a comment to D1182: Install PEFS on FreeBSD devserver role.

Known issue

Nov 6 2017, 18:24
dereckson accepted D1182: Install PEFS on FreeBSD devserver role.
Nov 6 2017, 17:34
dereckson updated the summary of D1182: Install PEFS on FreeBSD devserver role.
Nov 6 2017, 17:27
dereckson created D1182: Install PEFS on FreeBSD devserver role.
Nov 6 2017, 17:26
dereckson planned changes to D1181: Install eggdrop on viperserv role.

Blocked by a change to come provisionning the builder account on Ysul (but see T1310)

Nov 6 2017, 02:02
dereckson updated the task description for T1310: Merge deploy and deployment groups.
Nov 6 2017, 01:42 · Operations sprints (Consolidate them all), Technical debt, Eglide, Salt
dereckson created T1310: Merge deploy and deployment groups.
Nov 6 2017, 01:42 · Operations sprints (Consolidate them all), Technical debt, Eglide, Salt
dereckson added a revision to T1309: Deploy Dæghrefn, Wearg and TC2 through Salt: D1178: Bump eggdrop version to 1.8.2rc2.
Nov 6 2017, 01:37 · Operations sprints (The Dreadnought will produce new officers), Salt, Dæghrefn
dereckson added a task to D1178: Bump eggdrop version to 1.8.2rc2: T1309: Deploy Dæghrefn, Wearg and TC2 through Salt.
Nov 6 2017, 01:37
dereckson updated the diff for D1181: Install eggdrop on viperserv role.

Fix typo. Drop D1180 stuff.

Nov 6 2017, 01:28
dereckson added a comment to D1181: Install eggdrop on viperserv role.

Requires the builder account somewhere (Salt? devserver? here?)

Nov 6 2017, 01:27
dereckson updated the summary of D1181: Install eggdrop on viperserv role.
Nov 6 2017, 01:26
dereckson added a revision to T1309: Deploy Dæghrefn, Wearg and TC2 through Salt: D1181: Install eggdrop on viperserv role.
Nov 6 2017, 01:26 · Operations sprints (The Dreadnought will produce new officers), Salt, Dæghrefn
dereckson created D1181: Install eggdrop on viperserv role.
Nov 6 2017, 01:24
dereckson accepted D1180: Install Wikidata access layer for Dæghrefn on viperserv role.
Nov 6 2017, 01:23
dereckson created D1180: Install Wikidata access layer for Dæghrefn on viperserv role.
Nov 6 2017, 01:16
dereckson added a revision to T1309: Deploy Dæghrefn, Wearg and TC2 through Salt: D1180: Install Wikidata access layer for Dæghrefn on viperserv role.
Nov 6 2017, 01:16 · Operations sprints (The Dreadnought will produce new officers), Salt, Dæghrefn
dereckson added a subtask for T1268: Reprovision Ysul: T1309: Deploy Dæghrefn, Wearg and TC2 through Salt.
Nov 6 2017, 01:15 · Operations sprints (The Dreadnought will produce new officers), Salt, Servers
dereckson added a parent task for T1309: Deploy Dæghrefn, Wearg and TC2 through Salt: T1268: Reprovision Ysul.
Nov 6 2017, 01:15 · Operations sprints (The Dreadnought will produce new officers), Salt, Dæghrefn
dereckson added a project to T1309: Deploy Dæghrefn, Wearg and TC2 through Salt: Operations sprints (The Dreadnought will produce new officers).
Nov 6 2017, 01:14 · Operations sprints (The Dreadnought will produce new officers), Salt, Dæghrefn
dereckson created T1309: Deploy Dæghrefn, Wearg and TC2 through Salt.
Nov 6 2017, 01:14 · Operations sprints (The Dreadnought will produce new officers), Salt, Dæghrefn

Nov 5 2017

dereckson committed rOPS09ff0b8f2122: Improve eggdrop installer robustness (authored by dereckson).
Improve eggdrop installer robustness
Nov 5 2017, 23:03
dereckson closed D1179: Improve eggdrop installer robustness.
Nov 5 2017, 23:03
dereckson accepted D1179: Improve eggdrop installer robustness.
Nov 5 2017, 23:02
dereckson updated the test plan for D1179: Improve eggdrop installer robustness.
Nov 5 2017, 23:02
dereckson updated the test plan for D1179: Improve eggdrop installer robustness.
Nov 5 2017, 23:02
dereckson created D1179: Improve eggdrop installer robustness.
Nov 5 2017, 23:01
dereckson committed rOPS3381a0cbc715: Bump eggdrop version to 1.8.2rc2 (authored by dereckson).
Bump eggdrop version to 1.8.2rc2
Nov 5 2017, 22:28
dereckson closed D1178: Bump eggdrop version to 1.8.2rc2.
Nov 5 2017, 22:28
dereckson accepted D1178: Bump eggdrop version to 1.8.2rc2.
Ysul
$ /path/to/install-eggdrop.sh
--2017-11-05 22:12:11--  ftp://ftp.eggheads.org/pub/eggdrop/source/1.8/eggdrop-1.8.2rc2.tar.gz                                                                 
           => ‘eggdrop-1.8.2rc2.tar.gz.1’                                                                                                                     
Resolving ftp.eggheads.org (ftp.eggheads.org)... 38.109.218.218, 2605:6f00:877::3817:f5d7                                                                      
Connecting to ftp.eggheads.org (ftp.eggheads.org)|38.109.218.218|:21... connected.
...
Operating System: FreeBSD 11.1-RELEASE-p1
IPv6 Support: yes                                                                                                                                              
Tcl version: 8.6.7                                                                                                                                             
SSL/TLS Support: yes (OpenSSL 1.0.2k-freebsd  26 Jan 2017)
...
Test run of ./eggdrop -v:              
Eggdrop v1.8.2+RC2 (C) 1997 Robey Pointer (C) 1999-2017 Eggheads               
Configure flags: '--with-tclinc=/usr/local/include/tcl8.6/tcl.h' '-with-tcllib=/usr/local/lib/libtcl86.so'                                                     
Compiled with: IPv6, TLS, handlen=32   
Nov 5 2017, 22:26
dereckson created D1178: Bump eggdrop version to 1.8.2rc2.
Nov 5 2017, 22:24
dereckson committed rOPS64787caf1df3: Provide autocomplete for zsh pm (authored by dereckson).
Provide autocomplete for zsh pm
Nov 5 2017, 21:46
dereckson closed D1177: Provide autocomplete for zsh pm.
Nov 5 2017, 21:46
dereckson accepted D1177: Provide autocomplete for zsh pm.
Nov 5 2017, 21:45
dereckson created D1177: Provide autocomplete for zsh pm.
Nov 5 2017, 21:45
dereckson committed rOPS3fac93de1ecd: Provision MySQL (authored by dereckson).
Provision MySQL
Nov 5 2017, 21:37
dereckson closed T1306: Create a MySQL configuration optimized for ZFS on Ysul as Resolved by committing rOPS3fac93de1ecd: Provision MySQL.
Nov 5 2017, 21:37 · Operations sprints (The Dreadnought will produce new officers)
dereckson closed D1122: Provision MySQL.
Nov 5 2017, 21:37
dereckson closed T1306: Create a MySQL configuration optimized for ZFS on Ysul, a subtask of T1268: Reprovision Ysul, as Resolved.
Nov 5 2017, 21:37 · Operations sprints (The Dreadnought will produce new officers), Salt, Servers
dereckson accepted D1122: Provision MySQL.
Nov 5 2017, 21:36
dereckson updated the diff for D1122: Provision MySQL.

+rc. Fix idsa/id typo

Nov 5 2017, 20:55
dereckson updated the diff for D1122: Provision MySQL.

Define log_basename

Nov 5 2017, 19:33
dereckson updated the diff for D1122: Provision MySQL.

Create empty directories after the parent volume exists

Nov 5 2017, 19:19
dereckson updated the diff for D1122: Provision MySQL.

Use K for recordsize unit (see upstream task), simplify node.get per D1176

Nov 5 2017, 18:07
dereckson committed rOPS7925d2fc1309: Introduce node.get <setting> (authored by dereckson).
Introduce node.get <setting>
Nov 5 2017, 18:04
dereckson closed D1176: Introduce node.get <setting>.
Nov 5 2017, 18:04
dereckson updated the task description for T1308: Evaluate a SmartOS hypervisor/container OS.
Nov 5 2017, 16:27 · Operations sprints (The Dreadnought will produce new officers)
dereckson created T1308: Evaluate a SmartOS hypervisor/container OS.
Nov 5 2017, 16:27 · Operations sprints (The Dreadnought will produce new officers)
dereckson updated the summary of D1176: Introduce node.get <setting>.
Nov 5 2017, 15:22
dereckson accepted D1176: Introduce node.get <setting>.
Nov 5 2017, 15:08
dereckson updated the diff for D1176: Introduce node.get <setting>.

s/Examples/Example

Nov 5 2017, 15:07
dereckson created D1176: Introduce node.get <setting>.
Nov 5 2017, 15:06
dereckson committed rOPScfeee16247a7: Use node.list (authored by dereckson).
Use node.list
Nov 5 2017, 15:01
dereckson closed D1175: Use node.list.
Nov 5 2017, 15:01
dereckson committed rOPS9c5aa617ae16: Proofread module description (authored by dereckson).
Proofread module description
Nov 5 2017, 15:01
dereckson closed D1174: Proofread module description.
Nov 5 2017, 15:01
dereckson accepted D1175: Use node.list.
Nov 5 2017, 15:01
dereckson updated the summary of D1175: Use node.list.
Nov 5 2017, 15:00
dereckson created D1175: Use node.list.
Nov 5 2017, 14:59
dereckson accepted D1174: Proofread module description.
Nov 5 2017, 14:58
dereckson created D1174: Proofread module description.
Nov 5 2017, 14:57
dereckson updated the diff for D1122: Provision MySQL.

Allow InnoDB engine to write in their directories

Nov 5 2017, 14:09
dereckson planned changes to D1122: Provision MySQL.
$ /usr/local/etc/rc.d/mysql-server start
Installing MariaDB/MySQL system tables in '/var/db/mysql' ...
2017-11-05 13:57:44 34429034496 [Warning] No argument was provided to --log-bin and neither --log-basename or --log-bin-index where used;  This may cause repli
ction to break when this server acts as a master and has its hostname changed! Please use '--log-basename=ysul.nasqueron.org' or '--log-bin=mysqld-bin' to avoi
d this problem.
2017-11-05 13:57:45 34429034496 [ERROR] InnoDB: Operating system error number 13 in a file operation.
2017-11-05 13:57:45 34429034496 [ERROR] InnoDB: The error means mysqld does not have the access rights to the directory.
2017-11-05 13:57:45 34429034496 [ERROR] InnoDB: Operating system error number 13 in a file operation.
2017-11-05 13:57:45 34429034496 [ERROR] InnoDB: The error means mysqld does not have the access rights to the directory.
2017-11-05 13:57:45 34429034496 [ERROR] InnoDB: Cannot open datafile '/var/db/mysql/mysql-innodb-data/ibdata1'
2017-11-05 13:57:45 34429034496 [ERROR] InnoDB: Could not open or create the system tablespace. If you tried to add new data files to the system tablespace, an
d it failed here, you should now edit innodb_data_file_path in my.cnf back to what it was, and remove the new ibdata files InnoDB created in this failed attemp
t. InnoDB only wrote those files full of zeros, but did not yet use them in any way. But be careful: do not remove old data files which contain your precious d
ata!
2017-11-05 13:57:45 34429034496 [ERROR] InnoDB: Database creation was aborted with error Cannot open a file. You may need to delete the ibdata1 file before try
ing to start up again.
2017-11-05 13:57:45 34429034496 [ERROR] Plugin 'InnoDB' init function returned error.
2017-11-05 13:57:45 34429034496 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
2017-11-05 13:57:45 34429034496 [ERROR] /usr/local/libexec/mysqld: unknown variable 'bin_log_format=MIXED'
2017-11-05 13:57:45 34429034496 [ERROR] Aborting
Nov 5 2017, 13:59
dereckson updated the diff for D1122: Provision MySQL.

Proofread and improve configuration file: stop words, performance schema

Nov 5 2017, 13:56
dereckson created T1307: Switch gadgets/generators from a React page to a traditional JS page.
Nov 5 2017, 13:31 · Operations sprints (Consolidate them all), Docker images, Nasqueron Tools
dereckson planned changes to D1122: Provision MySQL.
Nov 5 2017, 02:00
dereckson added a comment to P268 /usr/local/etc/my.cnf.

File created by D1122.

Nov 5 2017, 01:56
dereckson edited P268 /usr/local/etc/my.cnf.
Nov 5 2017, 01:55
dereckson added a comment to D1122: Provision MySQL.
$ salt-call --local state.apply roles/dbserver-mysql
local:                                 
----------                             
          ID: mysql_server_software    
    Function: pkg.installed            
      Result: True                     
     Comment: All specified packages are already installed                     
     Started: 01:45:51.880169          
    Duration: 246.099 ms               
     Changes:                          
----------                             
          ID: arcology/mysql-innodb-data                                       
    Function: zfs.filesystem_present                                           
      Result: True                     
     Comment: filesystem arcology/mysql-innodb-data was updated                
     Started: 01:45:52.131408          
    Duration: 563.66 ms                
     Changes:                          
              ----------               
              arcology/mysql-innodb-data:                                      
                  ----------           
                  mountpoint:          
                      /var/db/mysql/mysql-innodb-data                          
                  recordsize:                                                  
                      16k              
----------                             
          ID: arcology/mysql-innodb-logs                                       
    Function: zfs.filesystem_present   
      Result: True                     
     Comment: filesystem arcology/mysql-innodb-logs was updated                
     Started: 01:45:52.695790          
    Duration: 557.842 ms               
     Changes:                          
              ----------               
              arcology/mysql-innodb-logs:                                      
                  ----------           
                  mountpoint:          
                      /var/db/mysql/mysql-innodb-logs                          
                  recordsize:          
                      128k             
----------                                                                                                                                                     
          ID: arcology/mysql-root                                              
    Function: zfs.filesystem_present                                           
      Result: True                                                             
     Comment: filesystem arcology/mysql-root was updated                       
     Started: 01:45:53.254366                                                  
    Duration: 574.172 ms                                                       
     Changes:                                                                  
              ----------                                                       
              arcology/mysql-root:                                                                                                                             
                  ----------                                                                                                                                   
                  mountpoint:                                                                                                                                  
                      /var/db/mysql/mysql-root                                                                                                                 
                  recordsize:                                                                                                                                  
                      8k
----------
          ID: /usr/local/etc/my.cnf
    Function: file.managed
      Result: True
     Comment: File /usr/local/etc/my.cnf updated
     Started: 01:45:53.838402
    Duration: 95.623 ms
    Duration: 95.623 ms                
     Changes:                          
              ----------               
              diff:                    
                  New file             
              mode:                    
                  0644                 
----------                             
          ID: /var/run/mysqld          
    Function: file.directory           
      Result: True                     
     Comment: Directory /var/run/mysqld updated                                
     Started: 01:45:53.934487          
    Duration: 7.571 ms                 
     Changes:                          
              ----------               
              /var/run/mysqld:         
                  New Dir              
----------                             
          ID: /var/db/mysql            
    Function: file.directory           
      Result: True                     
     Comment: Directory /var/db/mysql updated                                  
     Started: 01:45:53.942532          
    Duration: 5.229 ms                 
     Changes:                          
              ----------               
              group:                   
                  mysql                
              user:                    
                  mysql                
Nov 5 2017, 01:55
dereckson updated the diff for D1122: Provision MySQL.

Tweak commit range

Nov 5 2017, 01:47
dereckson updated the diff for D1122: Provision MySQL.

In ZFS we trust.

Nov 5 2017, 01:46

Nov 4 2017

dereckson added a comment to D1122: Provision MySQL.

I reported upstream an issue for recordsize, falsely reporting to be updated in test mode: https://github.com/saltstack/salt/issues/44404

Nov 4 2017, 23:51
dereckson added a task to D1119: Update SSH key for tomjerr: Unknown Object (Maniphest Task).
Nov 4 2017, 23:34
dereckson merged task T1285: Update tomjerr SSH key into Restricted Maniphest Task.
Nov 4 2017, 23:32 · security, Servers
dereckson added a comment to T1304: Split of scripting packages of weechat.

Currently, we have all the 14 plugins packages, as we well use weechat-plugins (installed by weechat):

Nov 4 2017, 23:29 · Eglide
dereckson updated the diff for D1122: Provision MySQL.

Fix commit range to select only MySQL

Nov 4 2017, 22:53
dereckson added a revision to T1306: Create a MySQL configuration optimized for ZFS on Ysul: D1122: Provision MySQL.
Nov 4 2017, 22:52 · Operations sprints (The Dreadnought will produce new officers)
dereckson retitled D1122: Provision MySQL from WIP: Provision MySQL to Provision MySQL.
Nov 4 2017, 22:52
dereckson updated the diff for D1122: Provision MySQL.

Don't use tabs for alignment. Create /var/run/mysqld.

Nov 4 2017, 22:52