发起问题

jing 的档案 - activity

2020-01-10 07:10:50 -0500 获得奖牌  受欢迎的问题 (source)
2020-01-10 07:10:50 -0500 获得奖牌  著名问题 (source)
2020-01-10 07:10:50 -0500 获得奖牌  热门的问题 (source)
2018-10-21 04:41:21 -0500 获得奖牌  受欢迎的问题 (source)
2018-10-21 04:41:21 -0500 获得奖牌  热门的问题 (source)
2018-10-21 04:41:21 -0500 获得奖牌  著名问题 (source)
2012-12-02 12:36:05 -0500 回答问题 readlink cause the cpu 100% usage

sometimes libvirt-lxc will cause 100% cpu usage,i guess this problem will related with nbd....i will do futher test

2012-12-02 12:26:31 -0500 回答问题 nova lxc cgroup /dev/kvm

i think i have solved this problem,when the host boot i changed /sys/fs/cgroup/devices/libvirt/lxc/device.allow with /etc/rc.local

cat /etc/rc.lcoal ...... echo "c 10:232 rwm" >> /sys/fs/cgroup/devices/libvirt/lxc/device.allow ......

2012-11-30 00:46:28 -0500 回答问题 readlink cause the cpu 100% usage

i use nova-compute-lxc and the libvirt-type is lxc , i have hard reboot the host, and i will try reappear the problem. how to confirm if i use the VFS? when the lxc instance start it will use nbd(network block devices) Thanks!

2012-11-29 07:36:32 -0500 问了问题 readlink cause the cpu 100% usage

i have a single node with openstack installed. about few days ago, when i boot a vm with "nova boot", the vm hangs in Spawning state, well, i restart the nova,but it does not work. OK,then i want to reboot the host,but i can not restart the host, finally , i found the readlink process cause the cpu 100% usage. ################################################################# root@openstack:/dev# top ...... 24796 root 20 0 7172 356 280 R 99 0.0 23:37.68 readlink
27665 root 20 0 7172 356 280 R 98 0.0 18:07.41 readlink ......

root@superstack:~# ps -ef | grep readlink root 4298 16710 0 15:36 pts/15 00:00:00 grep --color=auto readlink root 24796 1 99 15:09 ? 00:26:34 /bin/readlink -nm /tmp/openstack-disk-mount-tmp8txMP6/root/.ssh root 27665 1 99 15:14 ? 00:21:04 /bin/readlink -nm /tmp/openstack-disk-mount-tmpEVwj5h/root/.ssh #################################################################

when i hard reboot the host,everything goes well,but today the same damn thing appear in the single node.

any help will appriciate!!! Thanks in advance!!!

2012-11-21 04:33:34 -0500 问了问题 nova lxc cgroup /dev/kvm

well, i install openstack with lxc(nova-compute-lxc),when i launch a lxc vm,i can not mknod /dev/kvm in the lxc instance. Then, i check the cgroup in /sys/fs/cgroup root@superstack:/sys/fs/cgroup/devices/libvirt/lxc/instance-00000035# cat devices.list c 1:3 rwm c 1:5 rwm c 1:7 rwm c 1:8 rwm c 1:9 rwm c 5:0 rwm c 5:2 rwm c 136:* rwm

as we can see,there is no "c 10:232 rwm" record, and i can execute this command echo "c 10:232 rwm" >> devices.allow then i can "mknod -m 666 /dev/kvm c 10 232" in the lxc instance but when i reboot the lxc, the record "c 10:232 rwm" disappeared.

i want to know where to conifg the default cgroup for lxc

#######i know how to config cgroup for kvm/qemu######## vi /etc/libvirt/qemu.conf ...... cgroup_device_acl = [ "/dev/null", "/dev/full", "/dev/zero", "/dev/random", "/dev/urandom", "/dev/ptmx", "/dev/kvm", "/dev/kqemu", "/dev/rtc", "/dev/hpet","/dev/net/tun", ] ......

service libvirt-bin restart

################################## but when i configed the /etc/libvirt/lxc.conf like qemu.conf, it did't do the good job like qemu.conf

i guess when i "nova boot lxc", it did't read this configuration,so i do following jobs ######################### mv /etc/libvirt/lxc.conf{,.bak} service libvirt-bin restart nova boot .....

and i can boot the lxc instance and see the same cgroup

2012-09-18 09:10:17 -0500 回答问题 Getting error in /var/log/quantum/agent-dhcp.log

hi Srikanth i have the same problem, the problem is about the configuration “/etc/init/quantum-dhcp-agent.conf” cat /etc/init/quantum-dhcp-agent.conf description "Quantum l3 agent" author "Chuck Short zulcss@ubuntu.com"

start on runlevel [2345] stop on runlevel [016]

chdir /var/run

pre-start script mkdir -p /var/run/quantum chown quantum:root /var/run/quantum end script

#####################here###################### exec start-stop-daemon --start --chuid quantum --exec /usr/bin/quantum-dhcp-agent -- \ --config-file=/etc/quantum/quantum.conf \ --config-file=/etc/quantum/dhcp_agent.ini \ --log-file=/var/log/quantum/dhcp-agent.log

i hope this could help you!!!