Re: [Openstack] some issues about devstack
Eric, On 22 Jul 2013, at 04:25, 姚牧阳 yaomuyang1...@gmail.com wrote: (1) nova logs: In a productive deployment, as I did before, I can freely read the logs from /var/log/nova. However, it seems that in devstack, I can only use the SYSLOG configuration to gather the logs. However, the logs of 8 machine is too large to handle and I want to read specificly the nova-scheduler logs. How can I make it log to /var/log/nova as before? Have you tried SCREEN_LOGDIR=/var/nova/log in localrc? Make sure permissions are correct. ~parthi ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp
Re: [Openstack] some issues about devstack
Hi, devstack is not for production environments... But answering your questions, you can change nova.conf as you like and then unstack and rejoin-stack Belmiro On 22 Jul 2013, at 04:25, 姚牧阳 yaomuyang1...@gmail.com wrote: Hi, all I have been using openstack for quite a long time and recently I want to deploy an experimental environment on 8 machines using devstack. Everything seems to work fine but there is still some issues that disturbs me (1) nova logs: In a productive deployment, as I did before, I can freely read the logs from /var/log/nova. However, it seems that in devstack, I can only use the SYSLOG configuration to gather the logs. However, the logs of 8 machine is too large to handle and I want to read specificly the nova-scheduler logs. How can I make it log to /var/log/nova as before? (2) compute-scheduler choices What I really want to do in nova is to add some new features by modifying the compute-scheduler. So I need to modify compute_scheduler_driver in /etc/nova/nova.conf and use a new scheduler class. But how can I do this via devstack? I tried to add SCHEDULER=~~ in devstack/localrc but it didn't work. Anyone have any idea on that? (3) use the modified /etc/nova/nova.conf After I changes some configurations in nova.conf, the services need to be restarted to use the configs. But the only way to do so (as far as I'm concerned) is to ./unstack.sh + ./stack.sh, which will overwrite all the previous changes in nova.conf. Is there any way that I can stop a certain service and then start it over to use the new configurations. thanks Eric Yao ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp
Re: [Openstack] some issues about devstack
On 22 July 2013 14:25, 姚牧阳 yaomuyang1...@gmail.com wrote: Hi, all I have been using openstack for quite a long time and recently I want to deploy an experimental environment on 8 machines using devstack. Everything seems to work fine but there is still some issues that disturbs me (1) nova logs: In a productive deployment, as I did before, I can freely read the logs from /var/log/nova. However, it seems that in devstack, I can only use the SYSLOG configuration to gather the logs. However, the logs of 8 machine is too large to handle and I want to read specificly the nova-scheduler logs. How can I make it log to /var/log/nova as before? (2) compute-scheduler choices What I really want to do in nova is to add some new features by modifying the compute-scheduler. So I need to modify compute_scheduler_driver in /etc/nova/nova.conf and use a new scheduler class. But how can I do this via devstack? I tried to add SCHEDULER=~~ in devstack/localrc but it didn't work. Anyone have any idea on that? (3) use the modified /etc/nova/nova.conf After I changes some configurations in nova.conf, the services need to be restarted to use the configs. But the only way to do so (as far as I'm concerned) is to ./unstack.sh + ./stack.sh, which will overwrite all the previous changes in nova.conf. Is there any way that I can stop a certain service and then start it over to use the new configurations. devstack isn't aimed at production use : it's aimed to be super convenient for testing and developing OpenStack. I think you'd be better off with e.g. packstack/crowbar/tripleo etc. Cheers, Rob -- Robert Collins rbtcoll...@hp.com Distinguished Technologist HP Cloud Services ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp