简体   繁体   English

无法安装与OpenDaylight Carbon版本相关的GUI软件包(odl-dlux-all)

[英]Not able to install the GUI package(odl-dlux-all) related to OpenDaylight Carbon version

I am not able to install the package odl-dlux-all on the Ubuntu 16.04 machine. 我无法在Ubuntu 16.04机器上安装odl-dlux-all软件包。 Following is the error message 以下是错误消息

Error executing command: Can't install feature odl-dlux-all/0.0.0: null 执行命令错误:无法安装功能odl-dlux-all / 0.0.0:空

VM : Ubuntu 16.04 Opendaylight version : Carbon VM:Ubuntu 16.04 Opendaylight版本:Carbon

What is the issue? 有什么问题

Should i install gnome-desktop for this? 我应该为此安装gnome-desktop吗?

Prat, 宝勒巷,

This is what I have found. 这就是我所发现的。 It looks like you and I were in the same boat. 看来您和我在同一条船上。 I ran into this issue, also. 我也遇到了这个问题。 After additional searching, I found that ODL's website has a guide for the DLUX features. 经过更多搜索后,我发现ODL的网站上有DLUX功能的指南。

These are the features I installed and it got me where I needed: 这些是我安装的功能,它使我可以找到所需的位置:

odl-dlux-core
odl-dluxapps-nodes
odl-dluxapps-topology
odl-dluxapps-yangui
odl-dluxapps-yangvisualizer
odl-dluxapps-yangman

Be sure you enter them as separate commands using the feature:install command prior to each of them. 确保在每个命令之前都使用feature:install命令将它们作为单独的命令输入。

I found the guide on ODL's website HERE . 我在ODL网站HERE上找到了该指南。

I hope this helps!! 我希望这有帮助!! :) :)

The way OpenDaylight's DLUX features are structured was changed in Carbon. 在Carbon中更改了OpenDaylight的DLUX功能的结构方式。 Application-specific logic was broken out into odl-dluxapps-* Karaf features for easier maintenance. 特定于应用程序的逻辑被分解为odl-dluxapps-* Karaf功能,以便于维护。

Install and start OpenDaylight: 安装并启动OpenDaylight:

sudo dnf install -y http://cbs.centos.org/repos/nfv7-opendaylight-70-release/x86_64/os/Packages/opendaylight-7.0.0-1.el7.noarch.rpm
sudo systemctl start opendaylight

Connect to the Karaf shell (make take a moment for Karaf's SSH server to come up): 连接到Karaf Shell(花些时间让Karaf的SSH服务器启动):

ssh -p 8101 karaf@localhost
# password: karaf

See the available DLUX features: 查看可用的DLUX功能:

opendaylight-user@root>feature:list | grep dluxapps
odl-dluxapps-yangutils
odl-dluxapps-yangui
odl-dluxapps-topology
odl-dluxapps-yangvisualizer
odl-dluxapps-applications
odl-dluxapps-yangman
odl-dluxapps-nodes
features-dluxapps

Install the ones you're interested in: 安装您感兴趣的:

opendaylight-user@root>feature:install odl-dluxapps-topology

In a browser on the same machine: 在同一台计算机上的浏览器中:

http://localhost:8181/index.html#/yangui/index

Login with admin/admin and things should work. 使用admin / admin登录,一切正常。

Here are the DLUX docs . 这是DLUX文档

Note that DLUX isn't widely used by ODL developers, and isn't packaged as a product by vendors. 请注意,DLUX没有被ODL开发人员广泛使用,并且也不被供应商打包为产品​​。 Most people use the REST API directly to query OpenDaylight. 大多数人直接使用REST API来查询OpenDaylight。 There are REST API examples in the NetVirt Postman Collection , as an example. 作为示例, NetVirt Postman Collection中有REST API示例。

It is true. 是真的。 You have to install all dlux features manually. 您必须手动安装所有dlux功能。

The Change against ODL Boron is, that Carbon removed feature odl-dlux-all. 针对ODL硼的变化是,碳去除功能odl-dlux-all。 And in Carbon odl-dlux-core installs only core and nothing more. 在Carbon中,odl-dlux-core仅安装core,仅此而已。 I had always gray login page in DLUX WEB login, there was nothing, only blank gray page. 我在DLUX WEB登录中始终有灰色登录页面,没有任何东西,只有空白的灰色页面。

I suggest you to use command: feature:list | 我建议您使用命令:feature:list | grep dlux grep dlux

This will create for you complete list of available DLUX features. 这将为您创建可用DLUX功能的完整列表。 And You have to install all of them. 并且您必须安装所有这些。

After you finish installation of DLUX use same command with parameter -i which will show you only succesfully installed features: feature:list -i | 完成DLUX的安装后,请使用带有参数-i的相同命令,该命令仅向您显示成功安装的功能:feature:list -i | grep dlux grep dlux

so you will see the result. 这样您将看到结果。

Don't forget that after instalation Dlux needs a few minutes to be fully ready. 别忘了在安装Dlux之后需要花费几分钟来充分准备。 If you try to login to dlux during this time, you can get ERROR403 but also login page will not accept the credentials even they are correct. 如果您在这段时间内尝试登录dlux,则可能会收到ERROR403,但登录页面将不接受凭据,即使它们正确无误。 So be patient and wait. 因此,请耐心等待。

+----------------------------------------------------------------------+ DOCUMENTATION OF OPENDAYLIGHT IS HORIBBLE AND SOMETIMES PURELY WRONG +----------------------------------------------------------------------+ + ------------------------------------------------- --------------------- + OPENDAYLIGHT的文档令人难以置信,有时确实很不正确+ ------------------ -------------------------------------------------- - +

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM