PDA

View Full Version : Azure SLES12 SP3 cloudregister Access Forbidden



vgaga84
04-Apr-2018, 07:10
Hi,

I deployed SLES 12 SP3 server in Azure. I am unable to use command "/usr/sbin/registercloudguest --force-new" as per in the log all servers responds with Error 403 (Access Denied). Any idea how can I use this?
Here I attached the log file content:

2018-04-04 06:07:06,151 INFO:Forced new registration
2018-04-04 06:07:06,151 INFO:Using proxy settings from execution environment
2018-04-04 06:07:06,151 INFO: http_proxy: http://<proxy_server_address>:8080/
2018-04-04 06:07:06,151 INFO: https_proxy: http://<proxy_server_address>:8080/
2018-04-04 06:07:06,152 INFO:Using API: regionInfo
2018-04-04 06:07:06,152 INFO:Using region server: 104.45.31.195
2018-04-04 06:07:06,156 INFO:Starting new HTTPS connection (1): 104.45.31.195
2018-04-04 06:07:06,536 ERROR:====================
2018-04-04 06:07:06,536 ERROR:Server returned: 403
2018-04-04 06:07:06,536 ERROR:<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<title>Access forbidden!</title>
<link rev="made" href="mailto:%5bno%20address%20given%5d" />
<style type="text/css"><!--/*--><![CDATA[/*><!--*/
body { color: #000000; background-color: #FFFFFF; }
a:link { color: #0000CC; }
p, address {margin-left: 3em;}
span {font-size: smaller;}
/*]]>*/--></style>
</head>

<body>
<h1>Access forbidden!</h1>
<p>




You don't have permission to access the requested object.
It is either read-protected or not readable by the server.



</p>
<p>
If you think this is a server error, please contact
the <a href="mailto:%5bno%20address%20given%5d">webmaster</a>.

</p>

<h2>Error 403</h2>
<address>
<a href="/">104.45.31.195</a><br />
<span>Apache</span>
</address>
</body>
</html>


2018-04-04 06:07:06,536 ERROR:====================
2018-04-04 06:07:06,537 INFO:Using region server: 23.100.36.229
2018-04-04 06:07:06,538 INFO:Starting new HTTPS connection (1): 23.100.36.229
2018-04-04 06:07:07,473 ERROR:====================
2018-04-04 06:07:07,474 ERROR:Server returned: 403
2018-04-04 06:07:07,474 ERROR:<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<title>Access forbidden!</title>
<link rev="made" href="mailto:%5bno%20address%20given%5d" />
<style type="text/css"><!--/*--><![CDATA[/*><!--*/
body { color: #000000; background-color: #FFFFFF; }
a:link { color: #0000CC; }
p, address {margin-left: 3em;}
span {font-size: smaller;}
/*]]>*/--></style>
</head>

<body>
<h1>Access forbidden!</h1>
<p>




You don't have permission to access the requested object.
It is either read-protected or not readable by the server.



</p>
<p>
If you think this is a server error, please contact
the <a href="mailto:%5bno%20address%20given%5d">webmaster</a>.

</p>

<h2>Error 403</h2>
<address>
<a href="/">23.100.36.229</a><br />
<span>Apache</span>
</address>
</body>
</html>


2018-04-04 06:07:07,474 ERROR:====================
2018-04-04 06:07:07,474 INFO:Using region server: 191.237.254.253
2018-04-04 06:07:07,475 INFO:Starting new HTTPS connection (1): 191.237.254.253
2018-04-04 06:07:08,588 ERROR:====================
2018-04-04 06:07:08,588 ERROR:Server returned: 403
2018-04-04 06:07:08,588 ERROR:<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<title>Access forbidden!</title>
<link rev="made" href="mailto:%5bno%20address%20given%5d" />
<style type="text/css"><!--/*--><![CDATA[/*><!--*/
body { color: #000000; background-color: #FFFFFF; }
a:link { color: #0000CC; }
p, address {margin-left: 3em;}
span {font-size: smaller;}
/*]]>*/--></style>
</head>

<body>
<h1>Access forbidden!</h1>
<p>




You don't have permission to access the requested object.
It is either read-protected or not readable by the server.



</p>
<p>
If you think this is a server error, please contact
the <a href="mailto:%5bno%20address%20given%5d">webmaster</a>.

</p>

<h2>Error 403</h2>
<address>
<a href="/">191.237.254.253</a><br />
<span>Apache</span>
</address>
</body>
</html>


2018-04-04 06:07:08,588 ERROR:====================
2018-04-04 06:07:08,588 INFO:Using region server: 104.45.154.114
2018-04-04 06:07:08,590 INFO:Starting new HTTPS connection (1): 104.45.154.114
2018-04-04 06:07:09,260 ERROR:====================
2018-04-04 06:07:09,261 ERROR:Server returned: 403
2018-04-04 06:07:09,261 ERROR:<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<title>Access forbidden!</title>
<link rev="made" href="mailto:%5bno%20address%20given%5d" />
<style type="text/css"><!--/*--><![CDATA[/*><!--*/
body { color: #000000; background-color: #FFFFFF; }
a:link { color: #0000CC; }
p, address {margin-left: 3em;}
span {font-size: smaller;}
/*]]>*/--></style>
</head>

<body>
<h1>Access forbidden!</h1>
<p>




You don't have permission to access the requested object.
It is either read-protected or not readable by the server.



</p>
<p>
If you think this is a server error, please contact
the <a href="mailto:%5bno%20address%20given%5d">webmaster</a>.

</p>

<h2>Error 403</h2>
<address>
<a href="/">104.45.154.114</a><br />
<span>Apache</span>
</address>
</body>
</html>


2018-04-04 06:07:09,261 ERROR:====================
2018-04-04 06:07:09,261 INFO:Using region server: 23.101.26.184
2018-04-04 06:07:09,263 INFO:Starting new HTTPS connection (1): 23.101.26.184
2018-04-04 06:07:10,301 ERROR:====================
2018-04-04 06:07:10,301 ERROR:Server returned: 403
2018-04-04 06:07:10,301 ERROR:<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<title>Access forbidden!</title>
<link rev="made" href="mailto:%5bno%20address%20given%5d" />
<style type="text/css"><!--/*--><![CDATA[/*><!--*/
body { color: #000000; background-color: #FFFFFF; }
a:link { color: #0000CC; }
p, address {margin-left: 3em;}
span {font-size: smaller;}
/*]]>*/--></style>
</head>

<body>
<h1>Access forbidden!</h1>
<p>




You don't have permission to access the requested object.
It is either read-protected or not readable by the server.



</p>
<p>
If you think this is a server error, please contact
the <a href="mailto:%5bno%20address%20given%5d">webmaster</a>.

</p>

<h2>Error 403</h2>
<address>
<a href="/">23.101.26.184</a><br />
<span>Apache</span>
</address>
</body>
</html>


2018-04-04 06:07:10,301 ERROR:====================
2018-04-04 06:07:10,301 ERROR:Request not answered by any server, exiting

Any idea how to move forward?
Thanks!
Gabor

vgaga84
04-Apr-2018, 09:00
Hi,

The issue seems solved.
The reason was our special configuration that our servers cannot go internet directly, and through proxy I guess the ip address was no accepted for the registration.
I had to configure a special firewall and route for accessing the repositories.

Now it works fine.

Thanks!
Gabor