[openstack-dev] Different OpenStack components
Hi Folks,I have been working with OpenStack from a while now, I know that other than the main componets (nova, neutron, glance, cinder, horizon, tempest, keystone etc) there are many more components in OpenStack (like Sahara, Trove).So, where can I see the list of all existing OpenStack components and is there any documentation for these components so that I can read what all roles these components play.Thanks and RegardsAbhishek Talwar =-=-= Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
[openstack-dev] how to get current memory utilization of an instance
Hi Folks,I have an OpenStack kilo setup and I am trying to get the memory usage of the instances created in it.I researched and found that ceilometer has a meter called "memory.usage" that can give us the memory utilization of an instance. However, on doing ceilometer meter-list it does not list "memory.usage" as a meter. After searching I found that this problem is being faced by many contributors and a possible solution is changing nova configurations that does not help.So can you help me with some other possible solution that can help me in finding an instance's current memory utilization. I am working with something that would require getting the memory and disk utilization.Please provide a solution for this.Thanks and RegardsAbhishek Talwar =-=-= Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] how to get current memory utilization of an instance
Hi Matt,I apologise that I asked a non-development question on the dev list.Thanks a lot for the reply on the operators list.Thanks and RegardsAbhishek Talwar-Matt Riedemann <mrie...@linux.vnet.ibm.com> wrote: -To: openstack-dev@lists.openstack.orgFrom: Matt Riedemann <mrie...@linux.vnet.ibm.com>Date: 09/16/2015 06:49PMSubject: Re: [openstack-dev] how to get current memory utilization of an instanceOn 9/16/2015 5:23 AM, Abhishek Talwar wrote:> Hi Folks,>>>> I have an OpenStack kilo setup and I am trying to get the memory usage> of the instances created in it.>> I researched and found that ceilometer has a meter called "memory.usage"> that can give us the memory utilization of an instance. However, on> doing ceilometer meter-list it does not list "memory.usage" as a meter.> After searching I found that this problem is being faced by many> contributors and a possible solution is changing nova configurations> that does not help.>> So can you help me with some other possible solution that can help me in> finding an instance's current memory utilization. I am working with> something that would require getting the memory and disk utilization.>> Please provide a solution for this.>> Thanks and Regards>> Abhishek Talwar>> =-=-=> Notice: The information contained in this e-mail> message and/or attachments to it may contain> confidential or privileged information. If you are> not the intended recipient, any dissemination, use,> review, distribution, printing or copying of the> information contained in this e-mail message> and/or attachments to it are strictly prohibited. If> you have received this communication in error,> please notify us by reply e-mail or telephone and> immediately and permanently delete the message> and any attachments. Thank you>>>> __> OpenStack Development Mailing List (not for usage questions)> Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev>This is not a development question.I replied to your operators list thread.http://lists.openstack.org/pipermail/openstack-operators/2015-September/008114.html-- Thanks,Matt Riedemann__OpenStack Development Mailing List (not for usage questions)Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribehttp://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
[openstack-dev] [kilo-devstack] [disk-usage]
Hi Folks,I have installed devstack kilo version of OpenStack and created an instance on it with flavor “m1.nano” that gives a disk of 0 to your instance. But while checking disk usage of the instance using “disk.usage” meter it gives the output to be greater than 0 so how is it possible ? stack@abhishek:/opt/stack/ceilometer$ nova show e3fd6b56-25df-4498-aa9d-8d9af3dfb4fa +--++ | Property | Value | +--++ | OS-DCF:diskConfig | AUTO | | OS-EXT-AZ:availability_zone | nova | | OS-EXT-SRV-ATTR:host | tcs-HP-Compaq-Elite-8300-SFF | | OS-EXT-SRV-ATTR:hypervisor_hostname | tcs-HP-Compaq-Elite-8300-SFF | | OS-EXT-SRV-ATTR:instance_name| instance-0002 | | OS-EXT-STS:power_state | 1 | | OS-EXT-STS:task_state| - | | OS-EXT-STS:vm_state | active | | OS-SRV-USG:launched_at | 2015-09-10T05:24:19.00 | | OS-SRV-USG:terminated_at | - | | accessIPv4 | | | accessIPv6 | | | config_drive | True | | created | 2015-09-10T05:24:10Z | | flavor | m1.nano (42) | | hostId | 4a3e03e0a89fbf3790a1b1cd59b1b10acbaad6aa31a4361996d52440 | | id | e3fd6b56-25df-4498-aa9d-8d9af3dfb4fa | | image | cirros-0.3.2-x86_64-uec (221c46b3-9619-485e-8f60-0e1a363fc0e5) | | key_name | - | | metadata | {} | | name | vmssasa | | os-extended-volumes:volumes_attached | [] | | progress | 0 | | public network | 172.24.4.4 | | security_groups | default | | status | ACTIVE | | tenant_id | 5f4f5ee531a441d7bb3830529e611c7d | | updated | 2015-09-10T05:24:19Z | | user_id | d04b218204414a1891646735befd449c | +--++ stack@abhishek:/opt/stack/ceilometer$ nova flavor-show m1.nano ++-+ | Property | Value | ++-+ | OS-FLV-DISABLED:disabled | False | | OS-FLV-EXT-DATA:ephemeral | 0 | | disk | 0 | | extra_specs | {} | | id | 42 | | name | m1.nano | | os-flavor-access:is_public | True| | ram | 64 | | rxtx_factor | 1.0 | | swap | | | vcpus | 1 | ++-+ stack@abhishek:/opt/stack/ceilometer$ ceilometer sample-list -m 'cpu_util' -q "resource_id=e3fd6b56-25df-4498-aa9d-8d9af3dfb4fa" +--++---++--+-+ | Resource ID | Name | Type | Volume | Unit | Timestamp |
[openstack-dev] [Ceilometer] Meters
Hi Folks,I have installed a kilo devstack setup install and I am trying to get the memory and disk usage for my VM's. But on checking the "ceilometer meter-list" I can't find memory.usage or disk.usage meters.I am searched a lot for this and still couldn't find a solution. So how to enable these meters to our meter-list. I want all these meters in the ceilometer meter-list so that I can use them to monitor my instances. Currently the output of ceilometer meter-list is as follows:+--++--+--+--+| Name | Type | Resource ID | User ID | Project ID |+--++--+--+--+| cpu | cumulative | 5314c72b-a2b4-4b2b-bcb1-4057c3d96f77 | 92876a1aad3c477398137b702a8467d3 | 22f22fb60bf8496cb60e8498d93d56e8 || cpu_util | gauge | 5314c72b-a2b4-4b2b-bcb1-4057c3d96f77 | 92876a1aad3c477398137b702a8467d3 | 22f22fb60bf8496cb60e8498d93d56e8 || disk.read.bytes | cumulative | 5314c72b-a2b4-4b2b-bcb1-4057c3d96f77 | 92876a1aad3c477398137b702a8467d3 | 22f22fb60bf8496cb60e8498d93d56e8 || disk.read.requests | cumulative | 5314c72b-a2b4-4b2b-bcb1-4057c3d96f77 | 92876a1aad3c477398137b702a8467d3 | 22f22fb60bf8496cb60e8498d93d56e8 || disk.write.bytes | cumulative | 5314c72b-a2b4-4b2b-bcb1-4057c3d96f77 | 92876a1aad3c477398137b702a8467d3 | 22f22fb60bf8496cb60e8498d93d56e8 || disk.write.requests | cumulative | 5314c72b-a2b4-4b2b-bcb1-4057c3d96f77 | 92876a1aad3c477398137b702a8467d3 | 22f22fb60bf8496cb60e8498d93d56e8 || image | gauge | 55a0a2c2-8cfb-4882-ad05-01d7c821b1de | | 22f22fb60bf8496cb60e8498d93d56e8 || image | gauge | acd6beef-13e6-4d64-a83d-9e96beac26ef | | 22f22fb60bf8496cb60e8498d93d56e8 || image | gauge | ecefcd31-ae47-4079-bd19-efe07f4c33d3 | | 22f22fb60bf8496cb60e8498d93d56e8 || image.download | delta | 55a0a2c2-8cfb-4882-ad05-01d7c821b1de | | 22f22fb60bf8496cb60e8498d93d56e8 || image.serve | delta | 55a0a2c2-8cfb-4882-ad05-01d7c821b1de | | 22f22fb60bf8496cb60e8498d93d56e8 || image.size | gauge | 55a0a2c2-8cfb-4882-ad05-01d7c821b1de | | 22f22fb60bf8496cb60e8498d93d56e8 || image.size | gauge | acd6beef-13e6-4d64-a83d-9e96beac26ef | | 22f22fb60bf8496cb60e8498d93d56e8 || image.size | gauge | ecefcd31-ae47-4079-bd19-efe07f4c33d3 | | 22f22fb60bf8496cb60e8498d93d56e8 || image.update | delta | 55a0a2c2-8cfb-4882-ad05-01d7c821b1de | | 22f22fb60bf8496cb60e8498d93d56e8 || image.upload | delta | 55a0a2c2-8cfb-4882-ad05-01d7c821b1de | | 22f22fb60bf8496cb60e8498d93d56e8 || instance | gauge | 5314c72b-a2b4-4b2b-bcb1-4057c3d96f77 | 92876a1aad3c477398137b702a8467d3 | 22f22fb60bf8496cb60e8498d93d56e8 || instance:m1.small | gauge | 5314c72b-a2b4-4b2b-bcb1-4057c3d96f77 | 92876a1aad3c477398137b702a8467d3 | 22f22fb60bf8496cb60e8498d93d56e8 || network.incoming.bytes | cumulative | nova-instance-instance-0022-fa163e3bd74e | 92876a1aad3c477398137b702a8467d3 | 22f22fb60bf8496cb60e8498d93d56e8 || network.incoming.packets | cumulative | nova-instance-instance-0022-fa163e3bd74e | 92876a1aad3c477398137b702a8467d3 | 22f22fb60bf8496cb60e8498d93d56e8 || network.outgoing.bytes | cumulative | nova-instance-instance-0022-fa163e3bd74e | 92876a1aad3c477398137b702a8467d3 | 22f22fb60bf8496cb60e8498d93d56e8 || network.outgoing.packets | cumulative | nova-instance-instance-0022-fa163e3bd74e | 92876a1aad3c477398137b702a8467d3 | 22f22fb60bf8496cb60e8498d93d56e8 |+--++--+--+--+Thanks and RegardsAbhishek Talwar =-=-= Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited.
[openstack-dev] [kilo-multinode] Live-Migration Error
Hi,I have a multinode OpenStack kilo setup with 2 compute nodes, a controller and a network node. I am trying to migrate a Vm from host to the other, but there is a migration failure and the VM stays on the same host. I can ping between the compute nodes, and I have set libvirt to listen mode. Using the following steps: Modify /etc/libvirt/libvirtd.conf. before : #listen_tls = 0 after : listen_tls = 0 before : #listen_tcp = 1 after : listen_tcp = 1 add: auth_tcp = "none" Modify /etc/init/libvirt-bin.conf. before : exec /usr/sbin/libvirtd -d after : exec /usr/sbin/libvirtd -d -l -l is short for listenModify /etc/default/libvirt-bin. before :libvirtd_opts=" -d" after :libvirtd_opts=" -d -l"Restart libvirt. After executing the command, ensure that libvirt is successfully restarted. $ stop libvirt-bin start libvirt-bin $ ps -ef | grep libvirt Nova compute(Compute) logs: 2015-07-30 10:05:56.928 2101 ERROR nova.virt.libvirt.driver [-] [instance: e8a310e6-3682-44fd-93b2-4e2564de047d] Live Migration failure: operation failed: Failed to connect to remote libvirt URI qemu+tcp://compute1-VirtualBox/system: Unable to resolve address 'compute1-VirtualBox' service '16509': Name or service not known 2015-07-30 10:05:57.029 2101 ERROR nova.virt.libvirt.driver [-] [instance: e8a310e6-3682-44fd-93b2-4e2564de047d] Migration operation has aborted =-=-= Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
[openstack-dev] VM Stuck in Error State
Hi Folks,I know this is not the place to ask usage questions and doubts regarding my deployment but no one is answering my questions on "ask.openstack.org". So I thought of asking the same here.Problem: I have a multi-node set up with 2 compute nodes( Compute1 and Compute2). When I boot VM's on compute 1 they go to ACTIVE status but when I try to boot VM's on Compute2 host they are stuck in BUILD status. I can see both the compute nodes UP in nova service-list and both the host are present in nova hypervisor-list So what could be the reason that VM's are not going to ACTIVE status in Compute2 host.The latest scheduler logs shows:nova.scheduler.host_manager [req-a4debdff-0ad5-4fb8-afd4-e0dc255c3c78 None] Host filter forcing available hosts to compute1There is no error in the logs of scheduler so what could be the possible reason.RegardsAbhishek Talwar =-=-= Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
[openstack-dev] Static Migration Error
Hi Folks,I am facing an issue while migrating a VM from one host to another. I had posted the same issue on ask.openstack.org but couldnt get any help. So kindly provide some information.I am trying to migrate (Static migrate) an instance from one compute host to another by running the command nova migrate but it results in the vm going in error state. Error: Command: ssh 10.10.10.31 mkdir -p /var/lib/nova/instances/9edcde17-38db-4f80-94e7-fb60bf5c55a0 u'ssh: connect to host 10.10.10.31 port 22: Connection refused "message": "Unexpected error while running command. Please provide information on what could be the reason for this as all the services are up and running. Moreover, when i am running comand neutron agent list then i am unable to see new compute host over there. =-=-= Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
[openstack-dev] VM migration between two data centers
Hi Folks, I have created two data centers and I am using OpenStack as the management platform for them. So now my question is it is possible to migrate VM instances from one data center to the other. Can two OpenStack clouds migrate VM to each other ? Thanks and Regards Abhishek Talwar =-=-= Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
[openstack-dev] [nova] How are vcpu's, ram mapped with an instance
Hi Folks, When we boot an instance and assign a flavor to it, how are the vcpu's, ram given to the instance. Actually the question is this while creating an instance we must be assigning it some Vcpu's according to the flavor we gave to the instance. So where are these Vcpu's placed and how are they mapped with an instance. Suppose I want to add some more Vcpu's to my VM at runtime without changing my flavor to a bigger one, can I do it ? -- Thanks and Regards Abhishek Talwar Employee ID : 770072 Assistant System Engineer Tata Consultancy Services,Gurgaon India Contact Details : +918377882003 =-=-= Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
[openstack-dev] OpenStack nova resize command
Hi,I have a question regarding the nova resize command. While resizing a VM in OpenStack, does the VM gets paused internally and then it is resized or the VM is resized at runtime without any downtime and the VM going down. Thanks and RegardsAbhishek Talwar =-=-= Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
[openstack-dev] Interaction between heat and nova
Hi Folks, I am trying if we can have an api call from heat to nova and hit one of the nova clients method. I want to have a check in heat and if that happens it should request nova for a change in the instance through one of nova's command. Any information regarding this. Thanks and Regards Abhishek Talwar =-=-= Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
[openstack-dev] Changing the resources of a running vm instance
Hi All, I am looking if we can change the resources of a running VM instance (i.e. cpu, ram, changing the flavor). On running instances you can just edit security group, attach volumes or associate floating IP's. So what can we do if we want to change the flavor of a running vm or resize it. Thanks and Regards Abhishek Talwar =-=-= Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
[openstack-dev] How to install HealthNMon with OpenStack devstack
Hi, I have a devstack installation of OpenStack Juno and I want to install HealthNMon with that. How can we install it with devstack ? Thanks and Regards Abhishek Talwar =-=-= Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
[openstack-dev] [keystone] Output on stderr
Hi All, While working on a bug for keystoneclient I have replaced sys.exit with return. However, the code reviewers want that the output should be on stderr(as sys.exit does). So how can we get the output on stderr. def do_user_password_update(kc, args): Update user password. user = utils.find_resource(kc.users, args.user) new_passwd = args.passwd or utils.prompt_for_password() if not new_passwd: msg = (_(\nPlease specify password using the --pass option or using the prompt)) print(msg) // I have included print and return here instead of sys.exit return kc.users.update_password(user, new_passwd) -- Thanks and Regards Abhishek Talwar Employee ID : 770072 Assistant System Engineer Tata Consultancy Services,Gurgaon India Contact Details : +918377882003 =-=-= Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
[openstack-dev] [Nova][Flavor] Constraint in creating flavor with the same name and different ID
Hi All, I am writing in reference to a bug ( Bug #1423885) I have been working on, It is regarding the inconsistency shown my nova flavor show command. I have a doubt regarding that why there is a constraint to create two flavors with the same name whereas we can do the same for instances, images, volumes etc. -- Thanks and Regards Abhishek Talwar Employee ID : 770072 Assistant System Engineer Tata Consultancy Services,Gurgaon India Contact Details : +918377882003 =-=-= Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
[openstack-dev] [KEYSTONE] debugging keystone code
Hi All, I am working on bug on keystone (#1392035) and while debugging the code I am having problem. I have inserted pdb at both client side and server side. While it is allowing me to debug the code at client side, on server side it gives me a bdb quit error. So how can we debug the code for keystone server side. Kindly, help me regarding this. -- Thanks and Regards Abhishek Talwar Employee ID : 770072 Assistant System Engineer Tata Consultancy Services,Gurgaon India Contact Details : +918377882003 =-=-= Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
[openstack-dev] How to debug test cases in Openstack
Hi, I have been trying to debug the test cases in OpenStack, but I am not getting successful with it. So if someone can help me with that. The last response from the dev-list was to use $ ./run_tests.sh -d [test module path] but this gives bDb quit error. So kindly help me this. -- Thanks and Regards Abhishek Talwar =-=-= Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
[openstack-dev] [TEMPEST] Doubts regarding testing in OpenStack
Hi, I am bit confused regarding the testing in OpenStack. The run_tests.sh script ( that is at the root of every component may it be nova,keystone etc ) , does it run only the unit tests covered under that component or it runs the test cases it tempest too (for ex scenario tests, api tests etc). Please provide me some information regarding this. -- Thanks and Regards Abhishek Talwar Employee ID : 770072 Assistant System Engineer Tata Consultancy Services,Gurgaon India Contact Details : +918377882003 =-=-= Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] [qa] Doubts regarding testing in OpenStack
Hi, Thanks a lot. I have some more doubts if you can please clear them too. Q1. How can we debug test cases in OpenStack ? (We can debug the code through import pdb but the same doesn't work for test cases and we have a bdb quit error) Q2. Suppose I need to add a test case in the tempest suite how can I do that ? Q3. Whenever we run run_tests.sh script where does it first hit and how does the tests cases start running ?Q4. As it is said that tempest interacts only with the OpenStack Rest Api's , then how are the test cases for the various clients run, by clients here I mean the python-novaclient,keystoneclient etc. - Original Message - From: Salvatore Orlando sorla...@nicira.com To: OpenStack Development Mailing List (not for usage questions) openstack-dev@lists.openstack.org Sent: Fri, 16 Jan 2015 12:42:57 +0530 (IST) Subject: Re: [openstack-dev] [qa] Doubts regarding testing in OpenStack You are right. run_tests.sh simply runs unit tests which cover tempest's code itself. In order to run the tests for the various OpenStack services, use tox.In tox.ini there are several environments defined which run different sets of tests.When all you want to do is run just a specific test module or test case, it is possible to use the 'all' environment. For instance, to run only scenarios I usually do: tox -eall -- tempest.scenario Hope this helps,Salvatore On 16 January 2015 at 05:48, Abhishek Talwar/HYD/TCS abhishek.tal...@tcs.com wrote: Hi, I am bit confused regarding the testing in OpenStack. The run_tests.sh script ( that is at the root of every component may it be nova,keystone etc ) , does it run only the unit tests covered under that component or it runs the test cases it tempest too (for ex scenario tests, api tests etc). Please provide me some information regarding this. -- Thanks and Regards Abhishek Talwar Employee ID : 770072 Assistant System Engineer Tata Consultancy Services,Gurgaon India Contact Details : +918377882003=-=-= Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev -- Thanks and Regards Abhishek Talwar Employee ID : 770072 Assistant System Engineer Tata Consultancy Services,Gurgaon India Contact Details : +918377882003__ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
[openstack-dev] Doubts regarding OpenStack Tempest
Hi, I am going through tempest in OpenStack and have some questions that I would like to get answered. Q1. How can we debug test cases in OpenStack ? (We can debug the code through import pdb but the same doesn't work for test cases and we have a bdb quit error) Q2. The run_tests.sh script or tox -e does it only run the unit test cases for that components or it runs the complete set of tests covered in the Tempest test integration suite ? Q3. Suppose I need to add a test case in the tempest suite how can I do that ? Q4. As it is said that tempest interacts only with the OpenStack Rest Api's , then how are the test cases for the various clients run, by clients here I mean the python-novaclient,keystoneclient etc. Thanks and Regards Abhishek Talwar =-=-= Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
[openstack-dev] Not able to locate tests for glanceclient
Hi All, I am currently working on stable Juno release for a fix on glanceclient, but I am not able to locate tests in glanceclient. So if you can help me locate it as I need to add a unit test. The current path for glanceclient is /usr/local/lib/python2.7/dist-packages/glanceclient. Thanks and Regards Abhishek Talwar =-=-= Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you ___ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
[openstack-dev] Issues regarding Jenkins on Gerrit reviews
Hi All, I am facing some issues with Jenkins on two of my reviews. Jenkins is failing either on gate-tempest-dsvm-neutron-src-python-neutronclient-icehouse or gate-tempest-dsvm-neutron-src-python-neutronclient-icehouse but i do not see any of my code changes making them fail. So if you can look at the reviews and guide me that why are they failing again and again. Links for reviews: 1. https://review.openstack.org/#/c/133151/ 2. https://review.openstack.org/#/c/99929/ Kindly provide some information regarding this. Thanks and Regards Abhishek Talwar =-=-= Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you ___ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
[openstack-dev] Issues regarding Jenkins
Hi All, I am facing some issues regarding Jenkins. Actually Jenkins is failing and it is giving NOT_REGISTERED in some tests. So, kindly let me know what does NOT_REGISTERED mean here. Build failed (check pipeline). For information on how to proceed, see https://wiki.openstack.org/wiki/GerritJenkinsGit#Test_Failures gate-python-novaclient-pep8 SUCCESS in 27s gate-python-novaclient-docs SUCCESS in 56s gate-python-novaclient-python27 SUCCESS in 44s gate-python-novaclient-python33 SUCCESS in 1m 53s gate-tempest-dsvm-src-python-novaclient-icehouse NOT_REGISTERED gate-tempest-dsvm-neutron-src-python-novaclient-icehouse NOT_REGISTERED gate-tempest-dsvm-src-python-novaclient-juno SUCCESS in 58m 32s gate-tempest-dsvm-neutron-src-python-novaclient-juno SUCCESS in 52m 24s gate-python-novaclient-pypy SUCCESS in 1m 04s gate-tempest-dsvm-src-python-novaclient SUCCESS in 56m 20s gate-tempest-dsvm-neutron-src-python-novaclient SUCCESS in 47m 00s gate-python-novaclient-python26 SUCCESS in 46s -- Thanks and Regards Abhishek Talwar =-=-= Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you ___ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev