Linux 无法访问web上的Ovirt系统测试结果视图
本页包含以下说明Linux 无法访问web上的Ovirt系统测试结果视图,linux,curl,ovirt,Linux,Curl,Ovirt,本页包含以下说明 Once you've located the engine VM's IP, add it to /etc/hosts followed by the name engine. NOTE: any other name than engine will not work. Now, log in to the web-UI at: URL: https://engine/ovirt-engine/webadmin/ Username: admin Password: 123
Once you've located the engine VM's IP, add it to /etc/hosts followed by the name engine.
NOTE: any other name than engine will not work.
Now, log in to the web-UI at:
URL: https://engine/ovirt-engine/webadmin/
Username: admin
Password: 123
Profile: internal
这些说明,您是否按要求阅读
A) curl命令的输入
curl --user admin:123 https://engine/ovirt-engine/webadmin/ -v --insecure
或
B) 在浏览器中使用url的步骤
我想是B,但这就不需要更新主机文件,即浏览器如何知道引擎的价值
不管怎样我都看不到,有什么想法吗
来自该记录的curl的错误消息
# curl --user admin:123 http://engine/ovirt-engine/webadmin/ -v --insecure
* About to connect() to proxy 148.87.19.20 port 80 (#0)
* Trying 148.87.19.20...
* Connected to 148.87.19.20 (148.87.19.20) port 80 (#0)
* Server auth using Basic with user 'admin'
> GET http://engine/ovirt-engine/webadmin/ HTTP/1.1
> Authorization: Basic YWRtaW46MTIz
> User-Agent: curl/7.29.0
> Host: engine
> Accept: */*
> Proxy-Connection: Keep-Alive
>
< HTTP/1.1 502 notresolvable
< Content-Type: text/html
< Cache-Control: no-cache
< Content-Length: 2771
< Proxy-Connection: Keep-Alive
<
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<!-- FileName: index.html
Language: [en]
-->
<!--Head-->
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
<meta http-equiv="X-UA-Compatible" content="IE=7" />
<title>McAfee Web Gateway - Notification</title>
<script src="/mwg-internal/de5fs23hu73ds/files/javascript/sw.js" type="text/javascript" ></script>
<link rel="stylesheet" href="/mwg-internal/de5fs23hu73ds/files/default/stylesheet.css" />
</head>
<!--/Head-->
<!--Body-->
<body onload="swOnLoad();">
<table class='bodyTable'>
<tr>
<td class='bodyData' background='/mwg-internal/de5fs23hu73ds/files/default/img/bg_body.gif'>
<!--Logo-->
<table class='logoTable'>
<tr>
<td class='logoData'>
<a href='http://www.mcafee.com'>
<img src='/mwg-internal/de5fs23hu73ds/files/default/img/oralogo-small.gif'></a>
</td>
</tr>
</table>
<!--/Logo-->
<!--Contents-->
<!-- FileName: notresolvable.html
Language: [en]
-->
<!--Title-->
<table class='titleTable' background='/mwg-internal/de5fs23hu73ds/files/default/img/bg_navbar.jpg'>
<tr>
<td class='titleData'>
Host Not Resolvable
</td>
</tr>
</table>
<!--/Title-->
<!--Content-->
<table class="contentTable">
<tr>
<td class="contentData">
The Host is not resolvable. Most commonly this is due to mistyping the URL in the browser bar. Please verify the spelling and that the site exists and hit refresh.
</td>
</tr>
</table>
<!--/Content-->
<!--Info-->
<table class="infoTable">
<tr>
<td class="infoData">
<b>URL: </b><script type="text/javascript">break_line("http://engine/ovirt-engine/webadmin/");</script><br />
</td>
</tr>
</table>
<!--/Info-->
<!--/Contents-->
<!--Policy-->
<table class='policyTable'>
<tr>
<td class='policyHeading'>
<hr>
</td>
</tr>
<tr>
<td class='policyData'>
If you believe you have received this page in error, please submit an <a href="https://myhelp.oracle.com/app/answers/answer_view_GA/a_id/94/loc/en_US/g_id/141">Oracle MyHelp
Ticket</a>. If this is an urgent, service impacting issue, please contact the Global Service Desk via telephone: Dial **600
Or Local in-country numbers can be found at <a href="http://my.oracle.com/site/git/1591/2666/index.html">Global Service Desk - Contact Numbers
</p>
</td>
</tr>
</table>
<!--/Policy-->
<!--Foot-->
<table class='footTable'>
<hr>
<tr>
<td class='footData'>
generated <span id="time">2019-10-10 13:06:25</span> by inet-hqmc07.oracle.com
</td>
</tr>
</table>
<!--/Foot-->
</td>
</tr>
</table>
</body>
<!--/Body-->
<!-- BLOCKBLOCK_ORACLEPROXY_BLOCKBLOCK -->
</html>
* Connection #0 to host 148.87.19.20 left intact
#curl--用户管理员:123http://engine/ovirt-engine/webadmin/ -v——不安全
*即将连接()到代理148.87.19.20端口80(#0)
*正在尝试148.87.19.20。。。
*连接到148.87.19.20(148.87.19.20)端口80(#0)
*使用用户“admin”的Basic进行服务器身份验证
>得到http://engine/ovirt-engine/webadmin/ HTTP/1.1
>授权:基本YWRtaW46MTIz
>用户代理:curl/7.29.0
>主持人:引擎
>接受:*/*
>代理连接:保持活动状态
>
如果您认为您错误地收到了此页面,请提交一份。如果这是一个影响服务的紧急问题,请通过电话联系全球服务台:拨打**600
或者可以在全球服务台-联系电话中找到本地国内号码
由inet-hqmc07.oracle.com于2019-10-10 13:06:25生成
*0到主机148.87.19.20的连接保持完好
是的,这是工程师写的一些帮助。我相信他们知道需要做什么;-)。但是URLhttps://engine/ovirt-engine/webadmin/
不包含“真实”网址。因此,这意味着要匹配/etc/hosts
文件中的单词引擎
,并使用该IP地址。由于它通过web浏览器清楚地显示某些内容,并且是一个管理功能,因此运行工具以提供web界面是非常常见的。我认为您不需要去处理curl
,但您可能需要搜索ovirt支持站点,看看其他人是如何解决这个问题的,或者提出一个问题的。好运气啊,这很难解释,意识到我误解了你的一些帖子,这一定会让你对我的评论感到困惑。但我仍然认为您的/etc/host
文件中的条目将由您的web浏览器可见/解释。当您在web浏览器中尝试该URL时发生了什么(或者我也错过了吗?);-)祝你好运。是的,这是工程师写的一些帮助。我相信他们知道需要做什么;-)。但是URLhttps://engine/ovirt-engine/webadmin/
不包含“真实”网址。因此,这意味着要匹配/etc/hosts
文件中的单词引擎
,并使用该IP地址。由于它通过web浏览器清楚地显示某些内容,并且是一个管理功能,因此运行工具以提供web界面是非常常见的。我认为您不需要去处理curl
,但您可能需要搜索ovirt支持站点,看看其他人是如何解决这个问题的,或者提出一个问题的。好运气啊,这很难解释,意识到我误解了你的一些帖子,这一定会让你对我的评论感到困惑。但我仍然认为您的/etc/host
文件中的条目将由您的web浏览器可见/解释。当您在web浏览器中尝试该URL时发生了什么(或者我也错过了吗?);-)祝你好运