This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Hi all, | |
after our latest kernel-update from 4.6. to 4.14.14 we are having trouble getting data out of our LSI-raid-controllers | |
using the megacli-binary. | |
For every execution of the megacli-binary a line shows up in the kern.log | |
### | |
[547216.425556] megaraid_sas 0000:03:00.0: Failed to alloc kernel SGL buffer for IOCTL | |
### |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Hi all, | |
after our latest kernel-update from 4.6. to 4.14.14 we are having trouble getting data out of our LSI-raid-controllers using the megacli-binary. | |
For every execution of the megacli-binary a line shows up in the kern.log | |
### | |
[547216.425556] megaraid_sas 0000:03:00.0: Failed to alloc kernel SGL buffer for IOCTL | |
### |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ mount | |
/dev/xvda4 on /data type xfs (rw,nosuid,nodev,noatime,attr2,inode64,sunit=512,swidth=5120,prjquota) | |
$ xfs_quota -x -c "enable -p" /data/ | |
XFS_QUOTAON: File exists | |
$ cat /etc/projects | |
13005008:/data/cust13005008 | |
$ xfs_quota -x -c 'project -s 13005008' /data |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
XEN-Kernel options | |
### | |
$ zcat /proc/config.gz | grep XEN | |
CONFIG_XEN=y | |
CONFIG_XEN_PV=y | |
CONFIG_XEN_PV_SMP=y | |
CONFIG_XEN_DOM0=y | |
CONFIG_XEN_PVHVM=y | |
CONFIG_XEN_PVHVM_SMP=y | |
CONFIG_XEN_512GB=y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
master01:~# kubectl get pods | |
NAME READY STATUS RESTARTS AGE | |
busybox 1/1 Running 0 8m | |
master01:~# kubectl exec -ti busybox busybox ls | |
Error from server: error dialing backend: x509: certificate is valid for w02, not worker02 | |
worker02:~# docker exec -ti 519947dc3f44 busybox ls | |
bin dev etc home proc root sys tmp usr var |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% if not 'proftpd.regen_all' in __salt__ %} | |
sync_modules: | |
module.run: | |
- name: saltutil.sync_modules | |
{% endif %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://user:password@foreman.domain.com/api/v2/hosts?utf8=%E2%9C%93&search=name+~+xserver*+and+%28not+has+last_report+or+last_report+%3C+%226+hours+ago%22%29&per_page=30000 | |
{ | |
"error": {"message":"Unable to authenticate user "} | |
} | |
Once i login to foreman with the user from above, the API starts working again. | |
{ | |
"total": 15387, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 URL = 'https://foreman02.domain.de/api/hosts/host.domain.de | |
... | |
19 data = requests.put(URL, | |
20 auth=HTTPBasicAuth(USER, PASSWORD), | |
21 cert=(CERT, KEY), | |
22 headers=headers, | |
23 json={"host": {"host_parameters_attributes": {"name":"state", "value":"inactive" }}} | |
24 ) | |
result: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
file_client: local | |
environment: base | |
file_roots: | |
base: | |
- /vagrant/git/saltmaster_srv_salt | |
- /vagrant/git/saltmaster_srv_salt/formulas | |
- /vagrant/git/saltmaster_configs | |
- /vagrant/git/saltmaster_configs_generated |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Master Minion | |
======= ====== | |
pubkey-Master pubkey-Minion | |
privkey-Master privkey-Minion | |
AES-key Master | |
SETUP PHASE |
NewerOlder