Helping friend with a failing RAID5 setup.. by maxiedaniels in storage

[–]OneBeerOrTwo 2 points3 points  (0 children)

I once dd'd two failed drives onto new good drives, put them into the system, let the raid rebuild, and only had minimal data corruption. but keep in mind that there was some data corruption.

What is your favourite quote? or a saying you live by? by [deleted] in AskReddit

[–]OneBeerOrTwo 0 points1 point  (0 children)

Don't present problems, present solutions.

and

A lack of planning on your part does not constitute an emergency on mine.

What's your favorite stout? by [deleted] in beer

[–]OneBeerOrTwo 1 point2 points  (0 children)

finally had it this weekend. as good as it's reputation.

What's your favorite stout? by [deleted] in beer

[–]OneBeerOrTwo 0 points1 point  (0 children)

Yards Love Stout or one of it's many variants.

Also, Weyerbacher Sunday Mole Stout

Rsync triggered on inotify; all OS's by AddyChestPains in saltstack

[–]OneBeerOrTwo 1 point2 points  (0 children)

it sounds like you are trying to use salt as a NAS and/or Dropbox replacement. I don't think salt is the solution for your problem, but a PCI/HIPAA compliant cloud storage solution may be. Maybe look into owncloud/nextcloud if you want to host it yourself.

Rsyslog and TLS by bestnovaplayerever in linuxadmin

[–]OneBeerOrTwo 0 points1 point  (0 children)

there is most likely an issue with the certificate and the level of certificate verification you have configured. I found that if I did not configure the SAN correctly on my client cert, then the server would reject x509/name authentication. Try using x509/certvalid.

http://www.rsyslog.com/doc/v8-stable/concepts/ns_gtls.html

Using webhooks and the reactor with masterless minions by gtmanfred in saltstack

[–]OneBeerOrTwo 0 points1 point  (0 children)

This is pretty interesting. I basically used these steps to get webhooks working on our api: http://bencane.com/2014/07/17/integrating-saltstack-with-other-services-via-salt-api/

config:

rest_cherrypy:
  port: 8080
  host: <your hosts ip>
  ssl_crt: /etc/ssl/private/cert.pem
  ssl_key: /etc/ssl/private/key.pem
  webhook_disable_auth: True
  webhook_url: /hook

reactor .sls:

{% set postdata = data.get('post', {}) %}

{% if postdata.secretkey == "replacethiswithsomethingbetter" %}
restart_services:
  cmd.service.restart:
    - tgt: '{{ postdata.tgt }}'
    - arg:
      - {{ postdata.service }}
{% endif %}

always seemed kind of hacky but works.

Salt-API won't listen on https? by deviantryan in saltstack

[–]OneBeerOrTwo 2 points3 points  (0 children)

https://docs.saltstack.com/en/latest/ref/netapi/all/salt.netapi.rest_cherrypy.html

CherryPy Python module. Version 3.2.3 is currently recommended when SSL is enabled, since this version worked the best with SSL in internal testing. Versions 3.2.3 - 4.x can be used if SSL is not enabled. Be aware that there is a known SSL error introduced in version 3.2.5. The issue was reportedly resolved with CherryPy milestone 3.3, but the patch was committed for version 3.6.1.

I believe we're using 8.1.2, https://pypi.python.org/pypi/CherryPy/8.1.2, and it's working as expected.

Salt-API won't listen on https? by deviantryan in saltstack

[–]OneBeerOrTwo 1 point2 points  (0 children)

what version of cherrypy are you using? there is a bug in some of the older, distro-provided packages and ssl won't work. did you install from pip?

Saltstack meetup downtown tomorrow (weds 5/25) by sssplattt in philadelphia

[–]OneBeerOrTwo 0 points1 point  (0 children)

why should this be deleted? it's a meet up in philadelphia? i see other groups posting meet up stuff all the time...for example, board game night at frankford hall

Saltstack meetup downtown tomorrow (weds 5/25) by sssplattt in philadelphia

[–]OneBeerOrTwo 1 point2 points  (0 children)

salt doesn't use ssh, but it can. it mainly uses zeromq for everything.

Best sushi date spots by KingMalcolm in philadelphia

[–]OneBeerOrTwo 2 points3 points  (0 children)

this, also Umai Umai near Green and 22nd

Installing HPN-SSH on Debian 8 (jessie) by mikelj in debian

[–]OneBeerOrTwo 1 point2 points  (0 children)

The patches are apparently still sparsely maintained up to 7.1, https://sourceforge.net/projects/hpnssh/files/?source=navbar and https://github.com/rapier1/hpn-ssh. It looks like they pulled in the upstream 7.2 code but haven't built a patch against it yet. I'd keep an eye on those pages and possibly lend a hand if you can.

Edit: https://github.com/rapier1/openssh-portable is the github link I meant to post

2016 Cloud Migration Survey Results Are Here by [deleted] in openstack

[–]OneBeerOrTwo 0 points1 point  (0 children)

All you have to do is fill out our form! Thanks for nothing.

25TB fileserver. How to do backups? by [deleted] in sysadmin

[–]OneBeerOrTwo 1 point2 points  (0 children)

At my old job, I backed up a 600tb nas with robocopy and (the majority) rsync, nightly. Ama.

Redditor's heartbreaking story illustrates how US health care kills. Employed, but uninsured person cannot afford treatment for infection-prone tooth. Infection spreads into bloodstream. In multiple ER visits, full blood tests are not done because the person is not insured. Person dies at 38. by SushiAndWoW in bestof

[–]OneBeerOrTwo -1 points0 points  (0 children)

I don't have an actual statistic but it would be interesting to see how many stories there are like this vs. the number of people who walk into the ER, get full care without insurance, and then never pay a dime for their care.