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
root@localhost:/tasks# cat /etc/lldpd.conf | |
unconfigure lldp custom-tlv | |
root@localhost:/tasks# systemctl restart lldpd | |
root@localhost:/tasks# lldpctl -f keyvalue | |
lldp.eno1.via=LLDP | |
lldp.eno1.rid=4 | |
lldp.eno1.age=0 day, 00:00:08 | |
lldp.eno1.chassis.mac=54:7f:ee:a5:79:6c | |
lldp.eno1.chassis.name=servers-lab-1.sat6 | |
lldp.eno1.chassis.descr=Cisco Nexus Operating System (NX-OS) Software 6.0(2)U5(1) |
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
root@localhost:~# lldpctl -f keyvalue | |
lldp.eno1.via=LLDP | |
lldp.eno1.rid=2 | |
lldp.eno1.age=0 day, 03:33:53 | |
lldp.eno1.chassis.mac=54:7f:ee:a5:79:6c | |
lldp.eno1.chassis.name=servers-lab-1.sat6 | |
lldp.eno1.chassis.descr=Cisco Nexus Operating System (NX-OS) Software 6.0(2)U5(1) | |
TAC support: http://www.cisco.com/tac | |
Copyright (c) 2002-2015, Cisco Systems, Inc. All rights reserved. | |
lldp.eno1.chassis.mgmt-ip=10.127.5.250 |
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
2017-03-16 21:46:38.620 14716 ERROR craton.api.v1.resources.inventory.hosts [req-a5a52266-1b25-488e-bd47-9ed2d096812b - - - - -] Error during Hosts.get: (_mysql_exceptions.OperationalError) (1305, 'FUNCTION craton.json_contains does not exist') [SQL: 'SELECT variables.key_ AS variables_key_, variables.value_ AS variables_value_, variables.created_at AS variables_created_at, variables.updated_at AS variables_updated_at, variables.association_id AS variables_association_id \nFROM variables \nWHERE variables.key_ = %s AND json_contains(json_extract(variables.value_, %s), %s)'] [parameters: ('macs', '$', '"00:0c:29:72:d9:5a"')] |
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
MariaDB [craton]> select * from variable_association; | |
+---------------------+------------+----+---------------+ | |
| created_at | updated_at | id | discriminator | | |
+---------------------+------------+----+---------------+ | |
| 2017-03-14 22:52:05 | NULL | 1 | project | | |
| 2017-03-14 22:52:05 | NULL | 2 | user | | |
| 2017-03-14 22:52:18 | NULL | 3 | cloud | | |
| 2017-03-14 22:52:26 | NULL | 4 | region | | |
| 2017-03-14 22:52:33 | NULL | 5 | cell | | |
| 2017-03-14 22:53:43 | NULL | 6 | device | |
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
Traceback (most recent call last): | |
File "/usr/lib/python3.5/wsgiref/handlers.py", line 137, in run | |
self.result = application(self.environ, self.start_response) | |
File "/usr/local/lib/python3.5/dist-packages/webob/dec.py", line 131, in __call__ | |
resp = self.call_func(req, *args, **self.kwargs) | |
File "/usr/local/lib/python3.5/dist-packages/webob/dec.py", line 196, in call_func | |
return self.func(req, *args, **kwargs) | |
File "/usr/local/lib/python3.5/dist-packages/oslo_middleware/request_id.py", line 37, in __call__ | |
response = req.get_response(self.application) | |
File "/usr/local/lib/python3.5/dist-packages/webob/request.py", line 1316, in send |
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
server=http://127.0.0.1:8080 | |
headers=(-H "Content-Type: application/json" -H "X-Auth-Token: snip" -H "X-Auth-User: raxdemo1" -H "X-Auth-Project: 717e9a216e2d44e0bc848398563bdada") | |
curl $server/v1/clouds "${headers[@]}" -X POST -d '{"name": "darkcloud"}' | |
curl $server/v1/regions "${headers[@]}" -X POST -d '{"name": "region-1", "cloud_id": 1}' | |
curl $server/v1/cells "${headers[@]}" -X POST -d '{"cloud_id": 1, "region_id": 1, "name": "cell-1"}' | |
curl $server/v1/hosts "${headers[@]}" -X POST -d '{"cloud_id": 1, "region_id": 1, "cell_id": 1, "name": "osa-deploy", "ip_address": "10.127.5.110", "device_type": "server"}' | |
curl $server/v1/hosts/1/variables "${headers[@]}" -X PUT -d '{"os": "debian", "os_status": "installing"}' | |
curl $server/v1/hosts "${headers[@]}" -X POST -d '{"cloud_id": 1, "region_id": 1, "cell_id": 1, "name": "osa-node1", "ip_address": "10.127.5.111", "device_type": "server"}' |
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
Traceback (most recent call last): | |
File "/usr/lib/python3.5/wsgiref/handlers.py", line 137, in run | |
self.result = application(self.environ, self.start_response) | |
File "/usr/local/lib/python3.5/dist-packages/webob/dec.py", line 131, in __call__ | |
resp = self.call_func(req, *args, **self.kwargs) | |
File "/usr/local/lib/python3.5/dist-packages/webob/dec.py", line 196, in call_func | |
return self.func(req, *args, **kwargs) | |
File "/usr/local/lib/python3.5/dist-packages/oslo_middleware/request_id.py", line 37, in __call__ | |
response = req.get_response(self.application) | |
File "/usr/local/lib/python3.5/dist-packages/webob/request.py", line 1316, in send |
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
Stacktrace | |
Traceback (most recent call last): | |
testtools.testresult.real._StringException: Empty attachments: | |
stderr | |
stdout | |
pythonlogging:'': {{{ | |
2017-03-01 08:16:19,886 2538 INFO [tempest.lib.common.rest_client] Request (TestServerBasicOps:setUp): 200 GET http://172.29.236.100:8774/v2.1/6ad65ed9a988439bbabc7ebd9f563c1f/images/5dca0cc5-a8c2-48dd-994f-a42163c75f59 0.103s | |
2017-03-01 08:16:19,886 2538 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': '<omitted>'} |
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
[root@centos7-xen-osa openstack-ansible]# rpm -qa | grep selinux | |
libselinux-python-2.5-6.el7.x86_64 | |
libselinux-utils-2.5-6.el7.x86_64 | |
libselinux-devel-2.5-6.el7.x86_64 | |
selinux-policy-3.13.1-102.el7_3.13.noarch | |
libselinux-2.5-6.el7.x86_64 | |
selinux-policy-devel-3.13.1-102.el7_3.13.noarch |
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
TASK [haproxy_server : Prevent SELinux from preventing haproxy from binding to arbitrary ports] *** | |
task path: /etc/ansible/roles/haproxy_server/tasks/haproxy_service_config.yml:31 | |
Friday 24 February 2017 05:38:09 +0000 (0:00:36.951) 0:01:00.974 ******* | |
container_name: "aio1" | |
physical_hostname: "aio1" | |
Using module file /opt/ansible-runtime/lib/python2.7/site-packages/ansible/modules/core/system/seboolean.py | |
container_name: "aio1" | |
physical_hostname: "aio1" | |
<172.29.236.100> ESTABLISH SSH CONNECTION FOR USER: root | |
<172.29.236.100> SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=5 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o ServerAliveInterval=64 -o ServerAliveCountMax=1024 -o Compression=no -o TCPKeepAlive=yes -o VerifyHostKeyDNS=no -o ForwardX11=no -o ForwardAge |