Loading mirror speeds from cached hostfile
Setting up Install Process
Package python-neutronclient-2.3.4-4.el6.noarch already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package openstack-neutron.noarch 0:2014.1.3-5.el6 will be installed
--> Processing Dependency: python-neutron = 2014.1.3-5.el6 for package: openstack-neutron-2014.1.3-5.el6.noarch
---> Package openstack-neutron-ml2.noarch 0:2014.1.3-5.el6 will be installed
---> Package openstack-neutron-openvswitch.noarch 0:2014.1.3-5.el6 will be installed
--> Processing Dependency: openvswitch for package: openstack-neutron-openvswitch-2014.1.3-5.el6.noarch
--> Running transaction check
---> Package openvswitch.x86_64 0:2.1.2-1.el6 will be installed
---> Package python-neutron.noarch 0:2014.1.3-5.el6 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
============================================================
Package Arch Version Repository
Size
============================================================
Installing:
openstack-neutron noarch 2014.1.3-5.el6 c6-media 47 k
openstack-neutron-ml2 noarch 2014.1.3-5.el6 c6-media 29 k
openstack-neutron-openvswitch
noarch 2014.1.3-5.el6 c6-media 29 k
Installing for dependencies:
openvswitch x86_64 2.1.2-1.el6 c6-media 2.2 M
python-neutron noarch 2014.1.3-5.el6 c6-media 2.3 M
Transaction Summary
============================================================
Install 5 Package(s)
Total download size: 4.6 M
Installed size: 44 M
Downloading Packages:
------------------------------------------------------------
Total 87 MB/s | 4.6 MB 00:00
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : python-neutron-2014.1.3-5.el6.noarch 1/5
Installing : openstack-neutron-2014.1.3-5.el6.noarc 2/5
Installing : openvswitch-2.1.2-1.el6.x86_64 3/5
Installing : openstack-neutron-openvswitch-2014.1.3 4/5
Non-fatal POSTIN scriptlet failure in rpm package openstack-neutron-openvswitch-2014.1.3-5.el6.noarch
在 openstack-openvswitch-agent 服务中读取信息时出错:没有那个文件或目录
warning: %post(openstack-neutron-openvswitch-2014.1.3-5.el6.noarch) scriptlet failed, exit status 1
Installing : openstack-neutron-ml2-2014.1.3-5.el6.n 5/5
Verifying : openvswitch-2.1.2-1.el6.x86_64 1/5
Verifying : openstack-neutron-2014.1.3-5.el6.noarc 2/5
Verifying : python-neutron-2014.1.3-5.el6.noarch 3/5
Verifying : openstack-neutron-ml2-2014.1.3-5.el6.n 4/5
Verifying : openstack-neutron-openvswitch-2014.1.3 5/5
Installed:
openstack-neutron.noarch 0:2014.1.3-5.el6
openstack-neutron-ml2.noarch 0:2014.1.3-5.el6
openstack-neutron-openvswitch.noarch 0:2014.1.3-5.el6
Dependency Installed:
openvswitch.x86_64 0:2.1.2-1.el6
python-neutron.noarch 0:2014.1.3-5.el6
Complete!
3 个解决方案
#1
我也出现这个问题了 能问一下你是怎么解决的吗?
#2
@ez666 你好
看上去neutron-openvswitch-agent的systemd 没有起来
1.请确认一下这个文件是否存在/usr/lib/systemd/system/neutron-openvswitch-agent.service
2.如果没有这个文件的话,请手动创建vim /usr/lib/systemd/system/neutron-openvswitch-agent.service
3.输入一下命令到这个文件中
[Unit]
Description=OpenStack Neutron Open vSwitch Agent
After=syslog.target network.target network.service openvswitch.service
PartOf=network.service
Requires=openvswitch.service
[Service]
Type=simple
User=root
PermissionsStartOnly=true
ExecStart=/usr/bin/neutron-openvswitch-agent --config-file /usr/share/neutron/neutron-dist.conf --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugins/ml2/openvswitch_agent.ini --config-dir /etc/neutron/conf.d/common --config-dir /etc/neutron/conf.d/neutron-openvswitch-agent --log-file /var/log/neutron/openvswitch-agent.log
PrivateTmp=true
KillMode=process
Restart=on-failure
[Install]
WantedBy=multi-user.target
4. enable systemd(开机启动) 在bash下输入 systemctl enable neutron-openvswitch-agent
5. 立刻启动systemctl start neutron-openvswitch-agent
6. you`ll be fine :)
看上去neutron-openvswitch-agent的systemd 没有起来
1.请确认一下这个文件是否存在/usr/lib/systemd/system/neutron-openvswitch-agent.service
2.如果没有这个文件的话,请手动创建vim /usr/lib/systemd/system/neutron-openvswitch-agent.service
3.输入一下命令到这个文件中
[Unit]
Description=OpenStack Neutron Open vSwitch Agent
After=syslog.target network.target network.service openvswitch.service
PartOf=network.service
Requires=openvswitch.service
[Service]
Type=simple
User=root
PermissionsStartOnly=true
ExecStart=/usr/bin/neutron-openvswitch-agent --config-file /usr/share/neutron/neutron-dist.conf --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugins/ml2/openvswitch_agent.ini --config-dir /etc/neutron/conf.d/common --config-dir /etc/neutron/conf.d/neutron-openvswitch-agent --log-file /var/log/neutron/openvswitch-agent.log
PrivateTmp=true
KillMode=process
Restart=on-failure
[Install]
WantedBy=multi-user.target
4. enable systemd(开机启动) 在bash下输入 systemctl enable neutron-openvswitch-agent
5. 立刻启动systemctl start neutron-openvswitch-agent
6. you`ll be fine :)
#3
@qq_33963483 看下
#1
我也出现这个问题了 能问一下你是怎么解决的吗?
#2
@ez666 你好
看上去neutron-openvswitch-agent的systemd 没有起来
1.请确认一下这个文件是否存在/usr/lib/systemd/system/neutron-openvswitch-agent.service
2.如果没有这个文件的话,请手动创建vim /usr/lib/systemd/system/neutron-openvswitch-agent.service
3.输入一下命令到这个文件中
[Unit]
Description=OpenStack Neutron Open vSwitch Agent
After=syslog.target network.target network.service openvswitch.service
PartOf=network.service
Requires=openvswitch.service
[Service]
Type=simple
User=root
PermissionsStartOnly=true
ExecStart=/usr/bin/neutron-openvswitch-agent --config-file /usr/share/neutron/neutron-dist.conf --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugins/ml2/openvswitch_agent.ini --config-dir /etc/neutron/conf.d/common --config-dir /etc/neutron/conf.d/neutron-openvswitch-agent --log-file /var/log/neutron/openvswitch-agent.log
PrivateTmp=true
KillMode=process
Restart=on-failure
[Install]
WantedBy=multi-user.target
4. enable systemd(开机启动) 在bash下输入 systemctl enable neutron-openvswitch-agent
5. 立刻启动systemctl start neutron-openvswitch-agent
6. you`ll be fine :)
看上去neutron-openvswitch-agent的systemd 没有起来
1.请确认一下这个文件是否存在/usr/lib/systemd/system/neutron-openvswitch-agent.service
2.如果没有这个文件的话,请手动创建vim /usr/lib/systemd/system/neutron-openvswitch-agent.service
3.输入一下命令到这个文件中
[Unit]
Description=OpenStack Neutron Open vSwitch Agent
After=syslog.target network.target network.service openvswitch.service
PartOf=network.service
Requires=openvswitch.service
[Service]
Type=simple
User=root
PermissionsStartOnly=true
ExecStart=/usr/bin/neutron-openvswitch-agent --config-file /usr/share/neutron/neutron-dist.conf --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugins/ml2/openvswitch_agent.ini --config-dir /etc/neutron/conf.d/common --config-dir /etc/neutron/conf.d/neutron-openvswitch-agent --log-file /var/log/neutron/openvswitch-agent.log
PrivateTmp=true
KillMode=process
Restart=on-failure
[Install]
WantedBy=multi-user.target
4. enable systemd(开机启动) 在bash下输入 systemctl enable neutron-openvswitch-agent
5. 立刻启动systemctl start neutron-openvswitch-agent
6. you`ll be fine :)
#3
@qq_33963483 看下