* About to connect() to huhe-rhev-m.cisco.com port 443 (#0) * Trying 10.193.221.196... * connected * Connected to huhe-rhev-m.cisco.com (10.193.221.196) port 443 (#0) * Initializing NSS with certpath: sql:/etc/pki/nssdb * CAfile: /home/huhe/workspace/ansible/crt/ca.der * CApath: none * SSL connection using TLS_DHE_RSA_WITH_AES_256_CBC_SHA * Server certificate: * subject: CN=huhe-rhev-m.cisco.com,O=cisco.com,C=US * start date: Jul 13 17:54:55 2016 GMT * expire date: Jun 18 17:54:55 2021 GMT * common name: huhe-rhev-m.cisco.com * issuer: CN=huhe-rhev-m.cisco.com.53086,O=cisco.com,C=US * Server auth using Basic with user 'admin@internal' > GET /ovirt-engine/api HTTP/1.1 > Authorization: Basic YWRtaW5AaW50ZXJuYWw6bmJ2MTIzNDU= > User-Agent: PycURL/7.43.0 libcurl/7.19.7 NSS/3.19.1 Basic ECC zlib/1.2.3 libidn/1.18 libssh2/1.4.2 > Host: huhe-rhev-m.cisco.com > Version: 3 > Content-Type: application/xml > Accept: application/xml > Filter: False > Prefer: persistent-auth > Content-Length: 0 < HTTP/1.1 200 OK < Date: Fri, 05 Aug 2016 17:55:54 GMT < Server: Apache/2.4.6 (Red Hat Enterprise Linux) OpenSSL/1.0.1e-fips * Added cookie JSESSIONID="xZ5qmN4ow6h_cTCth9jSD3IkuKcLWmnXreJluk30.huhe-rhev-m" for domain huhe-rhev-m.cisco.com, path /ovirt-engine/api, expire 0 < Set-Cookie: JSESSIONID=xZ5qmN4ow6h_cTCth9jSD3IkuKcLWmnXreJluk30.huhe-rhev-m; path=/ovirt-engine/api; secure; HttpOnly < Content-Type: application/xml < Content-Length: 4487 < Link: ; rel=capabilities,; rel=clusters,; rel=clusters/search,; rel=datacenters,; rel=datacenters/search,; rel=events,; rel=events/search,; rel=hosts,; rel=hosts/search,; rel=networks,; rel=networks/search,; rel=roles,; rel=storagedomains,; rel=storagedomains/s earch,; rel=tags,; rel=bookmarks,; rel=icons,; rel=templates,; rel=templates/search,; rel=instancetypes,; rel=instancetypes/search,; rel=users,; rel=users/search,; rel=groups,; rel=groups/search,; rel=domains,; rel=vmpools,; rel=vmpools/search,; rel=vms,; rel=vms/search,; rel=disks,; rel=disks/search,; rel=j obs,; rel=storageconnections,; rel=vnicprofiles,; rel=diskprofiles,; rel=cpuprofiles,; rel=schedulingpolicyunits,; rel=schedulingpolicies,; re l=permissions,; rel=macpools,; rel=networkfilters,; rel=operatingsystems,; rel=externalhostproviders,; rel=openstackimageproviders,; rel=openstackvolumeproviders,; rel=openstacknetworkproviders,; rel=katelloerrata < Vary: Accept-Encoding < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < Red Hat Enterprise Virtualization Manager < Red Hat < < 4.0.0.6-0.1.el7ev < < < < 6 < 4 < < < 2 < 2 < < < 1 < 1 < < < 4 < 3 < < < < * Connection #0 to host huhe-rhev-m.cisco.com left intact Red Hat Enterprise Virtualization Manager * Re-using existing connection! (#0) with host huhe-rhev-m.cisco.com * Connected to huhe-rhev-m.cisco.com (10.193.221.196) port 443 (#0) * Server auth using Basic with user 'admin@internal' > GET /ovirt-engine/api/clusters?search=name%3Dmy_cluster HTTP/1.1 > Authorization: Basic YWRtaW5AaW50ZXJuYWw6bmJ2MTIzNDU= > User-Agent: PycURL/7.43.0 libcurl/7.19.7 NSS/3.19.1 Basic ECC zlib/1.2.3 libidn/1.18 libssh2/1.4.2 > Host: huhe-rhev-m.cisco.com > Cookie: JSESSIONID=xZ5qmN4ow6h_cTCth9jSD3IkuKcLWmnXreJluk30.huhe-rhev-m > Version: 3 > Content-Type: application/xml > Accept: application/xml > Filter: False > Prefer: persistent-auth > Content-Length: 0 < HTTP/1.1 200 OK < Date: Fri, 05 Aug 2016 17:55:54 GMT < Server: Apache/2.4.6 (Red Hat Enterprise Linux) OpenSSL/1.0.1e-fips < Content-Type: application/xml < Content-Length: 3055 < Vary: Accept-Encoding < < < < < < < < my_cluster < < < < < < < < x86_64 < < < < < < false < < < < none < < < < migrate < < true < false < false < false < false < false < false < false < false < < false < true < < < < true < < false < < < false < 50 < < < < inherit < inherit < < < * Connection #0 to host huhe-rhev-m.cisco.com left intact * Re-using existing connection! (#0) with host huhe-rhev-m.cisco.com * Connected to huhe-rhev-m.cisco.com (10.193.221.196) port 443 (#0) * Server auth using Basic with user 'admin@internal' > GET /ovirt-engine/api/clusters/c9d6807c-2c8c-4cb5-a6aa-64a132a5d8c9/networks HTTP/1.1 > Authorization: Basic YWRtaW5AaW50ZXJuYWw6bmJ2MTIzNDU= > User-Agent: PycURL/7.43.0 libcurl/7.19.7 NSS/3.19.1 Basic ECC zlib/1.2.3 libidn/1.18 libssh2/1.4.2 > Host: huhe-rhev-m.cisco.com > Cookie: JSESSIONID=xZ5qmN4ow6h_cTCth9jSD3IkuKcLWmnXreJluk30.huhe-rhev-m > Version: 3 > Content-Type: application/xml > Accept: application/xml > Filter: False > Prefer: persistent-auth > Content-Length: 0 < HTTP/1.1 200 OK < Date: Fri, 05 Aug 2016 17:55:54 GMT < Server: Apache/2.4.6 (Red Hat Enterprise Linux) OpenSSL/1.0.1e-fips < Content-Type: application/xml < Content-Length: 1819 < Vary: Accept-Encoding < < < < < my_vm_db < < < < false < < non_operational < < false < 0 < < vm < < true < < < ovirtmgmt < Default Management Network < < < false < < operational < < true < 0 < < vm < display < migration < management < < true < < < * Connection #0 to host huhe-rhev-m.cisco.com left intact * Re-using existing connection! (#0) with host huhe-rhev-m.cisco.com * Connected to huhe-rhev-m.cisco.com (10.193.221.196) port 443 (#0) * Server auth using Basic with user 'admin@internal' > GET /ovirt-engine/api/hosts?search=name%3Dhost-172 HTTP/1.1 > Authorization: Basic YWRtaW5AaW50ZXJuYWw6bmJ2MTIzNDU= > User-Agent: PycURL/7.43.0 libcurl/7.19.7 NSS/3.19.1 Basic ECC zlib/1.2.3 libidn/1.18 libssh2/1.4.2 > Host: huhe-rhev-m.cisco.com > Cookie: JSESSIONID=xZ5qmN4ow6h_cTCth9jSD3IkuKcLWmnXreJluk30.huhe-rhev-m > Version: 3 > Content-Type: application/xml > Accept: application/xml > Filter: False > Prefer: persistent-auth > Content-Length: 0 < HTTP/1.1 200 OK < Date: Fri, 05 Aug 2016 17:55:54 GMT < Server: Apache/2.4.6 (Red Hat Enterprise Linux) OpenSSL/1.0.1e-fips < Content-Type: application/xml < Content-Length: 6505 < Vary: Accept-Encoding < < < < < < < < < < < < < < < < < < < < < host-172 < < < < < < < < < < < < < < <
20.200.10.172
< < cisco.com < O=cisco.com,CN=20.200.10.172 < < < up < < < ok < < < 54321 < rhel < true < < 5 < < spm < < < < < Cisco Systems Inc < . < PS8O3YUKI3R < UCSME-142-M4 68-5200-03 < 00000000-0000-0000-2601-000000010702 < < < random < < < < false < < true < true < < < false < < < true < < < iqn.1994-05.com.redhat:d8f32a6b7b8 < < < 22 < SHA256:m94kSpsNhcvP9NZ6+umpNHslqKPLtkeT4Py0Z/1kuDQ < < < < Intel(R) Xeon(R) CPU E3-1275L v3 @ 2.70GHz < 800 < < 16605249536 < 32805748736 < < 0 < 0 < 0 < < stomp < < < < < disabled < < disabled < < disable < false < true < false < < false < <
<
* Connection #0 to host huhe-rhev-m.cisco.com left intact * Re-using existing connection! (#0) with host huhe-rhev-m.cisco.com * Connected to huhe-rhev-m.cisco.com (10.193.221.196) port 443 (#0) * Server auth using Basic with user 'admin@internal' > POST /ovirt-engine/api/hosts/4d28ef58-535f-44d9-870a-564ecddf5f3e/nics/setupnetworks HTTP/1.1 > Authorization: Basic YWRtaW5AaW50ZXJuYWw6bmJ2MTIzNDU= > User-Agent: PycURL/7.43.0 libcurl/7.19.7 NSS/3.19.1 Basic ECC zlib/1.2.3 libidn/1.18 libssh2/1.4.2 > Host: huhe-rhev-m.cisco.com > Cookie: JSESSIONID=xZ5qmN4ow6h_cTCth9jSD3IkuKcLWmnXreJluk30.huhe-rhev-m > Version: 3 > Content-Type: application/xml > Accept: application/xml > Filter: False > Prefer: persistent-auth > Content-Length: 2011 > Expect: 100-continue * Done waiting for 100-continue > > > > bond0 > > ovirtmgmt > > > > > > > > enp6s0 > > > none > > > enp7s0 > > > none > > > enp8s0 > > > none > > > enp9s0 > > > none > > > > static > 1 > > > bond0.101 > > my_vm_db > > > > 1 > 0 > < HTTP/1.1 404 Not Found < Date: Fri, 05 Aug 2016 17:55:54 GMT < Server: Apache/2.4.6 (Red Hat Enterprise Linux) OpenSSL/1.0.1e-fips < Content-Length: 0 < * Connection #0 to host huhe-rhev-m.cisco.com left intact Traceback (most recent call last): File "/home/huhe/workspace/ansible/src/ovirt_hostnic.py", line 57, in vlanNetwork]))) File "/usr/local/lib/python2.7/site-packages/ovirtsdk/infrastructure/brokers.py", line 16672, in setupnetworks headers={"Correlation-Id":correlation_id} File "/usr/local/lib/python2.7/site-packages/ovirtsdk/infrastructure/proxy.py", line 122, in request persistent_auth=self.__persistent_auth File "/usr/local/lib/python2.7/site-packages/ovirtsdk/infrastructure/connectionspool.py", line 79, in do_request persistent_auth) File "/usr/local/lib/python2.7/site-packages/ovirtsdk/infrastructure/connectionspool.py", line 156, in __do_request raise errors.RequestError(response_code, response_reason, response_body) ovirtsdk.infrastructure.errors.RequestError: status: 404 reason: Not Found detail: [huhe@vic-auto huhe]$