linux-22yt:~ # SUSEConnect -r XXXXXXXXXXXXXX -e USER@XXX.com --debug
cmd options: '{:token=>"XXXXXXXXXXXXXX", :email=>"USER@XXX.com", :debug=>true}'
Merged options: {:token=>"XXXXXXXXXXXXXX", :email=>"USER@XXX.com", :debug=>true, :language=>"POSIX", :url=>"https://scc.suse.com", :insecure=>false, roduct=>nil}
Reading credentials from /etc/zypp/credentials.d/SCCcredentials
Read credentials: SCC_7801a9cd5e67435696a227513e828d6a : bdaf5fb29e5d40f4
Reading credentials from /etc/zypp/credentials.d/SCCcredentials
Read credentials: SCC_7801a9cd5e67435696a227513e828d6a : bdaf5fb29e5d40f4
Executing: 'uname -i' Quiet: false
Output: 'x86_64'
Executing: 'lscpu' Quiet: false
Output: 'Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 16
On-line CPU(s) list: 0-15
Thread(s) per core: 2
Core(s) per socket: 4
Socket(s): 2
NUMA node(s): 2
Vendor ID: GenuineIntel
CPU family: 6
Model: 26
Model name: Intel(R) Xeon(R) CPU X5560 @ 2.80GHz
Stepping: 5
CPU MHz: 2800.000
CPU max MHz: 2800.0000
CPU min MHz: 1600.0000
BogoMIPS: 5600.06
Virtualization: VT-x
L1d cache: 32K
L1i cache: 32K
L2 cache: 256K
L3 cache: 8192K
NUMA node0 CPU(s): 0,2,4,6,8,10,12,14
NUMA node1 CPU(s): 1,3,5,7,9,11,13,15'
Executing: 'uname -i' Quiet: false
Output: 'x86_64'
Executing: 'dmidecode -s system-uuid' Quiet: false
Output: '32393735-3733-5355-4531-31394E375036'
Executing: 'zypper targetos' Quiet: false
Output: 'sle-12-x86_64'
opening connection to scc.suse.com:443...
opened
starting SSL for scc.suse.com:443...
SSL established
<- "PUT /connect/systems HTTP/1.1\r\nAccept-Encoding: identity\r\nAccept: application/json,application/vnd.scc.suse.com.v4+json\r\nUser-Agent: SUSEConnect/0.2.14\r\nAuthorization: Basic U0NDXzc4MDFhOWNkNWU2NzQzNTY5NmEyMjc1MTNlODI4ZDZhOm JkYWY1ZmIyOWU1ZDQwZjQ=\r\nContent-Type: application/json\r\nAccept-Language: POSIX\r\nConnection: close\r\nHost: scc.suse.com\r\nContent-Length: 194\r\n\r\n"
<- "{\"hostname\":\"linux-22yt\",\"hwinfo\":{\"hostname\":\"linux-22yt\",\"cpus\":16,\"sockets\":2,\"hypervisor\":nu ll,\"arch\":\"x86_64\",\"uuid\":\"32393735-3733-5355-4531-31394E375036\"},\"distro_target\":\"sle-12-x86_64\"}"
-> "HTTP/1.1 204 No Content\r\n"
-> "Server: nginx\r\n"
-> "Date: Tue, 28 Mar 2017 21:00:41 GMT\r\n"
-> "Connection: keep-alive\r\n"
-> "X-Frame-Options: SAMEORIGIN\r\n"
-> "X-XSS-Protection: 1; mode=block\r\n"
-> "X-Content-Type-Options: nosniff\r\n"
-> "scc-api-version: v4\r\n"
-> "Cache-Control: no-cache\r\n"
-> "Set-Cookie: XSRF-TOKEN=DhvP0ER3Y6Rp1EcA7PHnIYEqLwdnoE%2BXIjXRxa9GEV raSxdfFAKZ6Y2GiEEahq3uKoE0dcBCpKo09kVWc9zFVQ%3D%3D ; path=/; secure\r\n"
-> "X-Request-Id: d436ad4f-b443-4c39-9746-c9ac26b847de\r\n"
-> "X-Runtime: 0.120255\r\n"
-> "Strict-Transport-Security: max-age=15552000\r\n"
-> "Strict-Transport-Security:max-age=300\r\n"
-> "Set-Cookie: lb_scc=HPPJEBIJ; Expires=Fri, 26-Mar-2027 21:00:35 GMT; Path=/\r\n"
-> "\r\n"
Conn close
Executing: 'zypper --xmlout --non-interactive products -i' Quiet: false
Output: '<?xml version='1.0'?>
<stream>
<message type="info">Refreshing service &apos;SUSE_Linux_Enterprise_Software_Development_K it_12_x86_64&apos;.</message>
<message type="error">Problem retrieving the repository index file for service &apos;SUSE_Linux_Enterprise_Software_Development_K it_12_x86_64&apos;:
Login failed. (https://scc.suse.com/access/services...it_12_x86_64): The requested URL returned error: 401
Check if the URI is valid and accessible.
</message>
</stream>'
command 'zypper --xmlout --non-interactive products -i' failed
Error: zypper returned (4) with '<?xml version='1.0'?>
<stream>
<message type="info">Refreshing service &apos;SUSE_Linux_Enterprise_Software_Development_K it_12_x86_64&apos;.</message>
<message type="error">Problem retrieving the repository index file for service &apos;SUSE_Linux_Enterprise_Software_Development_K it_12_x86_64&apos;:
Login failed. (https://scc.suse.com/access/services...it_12_x86_64): The requested URL returned error: 401
Check if the URI is valid and accessible.
</message>
</stream>'