[openstack-dev] [Ironic] Getting reply back from external DHCP server.
Hi all, I have been using external DHCP server with my Ironic setup. I have successfully deployed a physical server using that setup. I set up dhcp_provider=none in ironic.conf. I restarted conductor process. Now, the problem is that external DHCP is not able to send confirmation of deployment to Ironic server, which results in timeout for the instance. I want to know how Ironic is handling external DHCP, do I need to make changes other than putting dhcp_provider=none? Thanks, -- Peeyush Gupta gpeey...@linux.vnet.ibm.com __ 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] [Ironic] How to get past pxelinux.0 bootloader?
So, basically if I am using pxe driver, I would have to provide pxelinux.0? On 12/09/2014 03:24 PM, Fox, Kevin M wrote: You probably want to use the agent driver, not the pxe one. It lets you use bootloaders from the image. From: Peeyush Gupta Sent: Monday, December 08, 2014 10:55:39 PM To: OpenStack Development Mailing List (not for usage questions) Subject: [openstack-dev] [Ironic] How to get past pxelinux.0 bootloader? Hi all, So, I have set up a devstack ironic setup for baremetal deployment. I have been able to deploy a baremetal node successfully using pxe_ipmitool driver. Now, I am trying to boot a server where I already have a bootloader i.e. I don't need pxelinux to go and fetch kernel and initrd images for me. I want to transfer them directly. I checked out the code and figured out that there are dhcp opts available, that are modified using pxe_utils.py, changing it didn't help. Then I moved to ironic.conf, but here also I only see an option to add pxe_bootfile_name, which is exactly what I want to avoid. Can anyone please help me with this situation? I don't want to go through pxelinux.0 bootloader, I just directly want to transfer kernel and initrd images. Thanks. -- Peeyush Gupta gpeey...@linux.vnet.ibm.com ___ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev ___ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev -- Peeyush Gupta gpeey...@linux.vnet.ibm.com ___ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
[openstack-dev] [Ironic] How to get past pxelinux.0 bootloader?
Hi all, So, I have set up a devstack ironic setup for baremetal deployment. I have been able to deploy a baremetal node successfully using pxe_ipmitool driver. Now, I am trying to boot a server where I already have a bootloader i.e. I don't need pxelinux to go and fetch kernel and initrd images for me. I want to transfer them directly. I checked out the code and figured out that there are dhcp opts available, that are modified using pxe_utils.py, changing it didn't help. Then I moved to ironic.conf, but here also I only see an option to add pxe_bootfile_name, which is exactly what I want to avoid. Can anyone please help me with this situation? I don't want to go through pxelinux.0 bootloader, I just directly want to transfer kernel and initrd images. Thanks. -- Peeyush Gupta gpeey...@linux.vnet.ibm.com ___ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
[Openstack] [Ironic] Not able to deploy images using Ironic devstack setup
Hi all, I have been trying to deploy a physical node using Ironic devstack setup. The Ironic server is running on a VM, that has two interfaces, one public and one private. Now Ironic is running on private network and my physical node is also connected to private network. I am able to add the node and validate it. The node successfully connects to the Ironic and DHCP server, I am able to get the ip and pings are going all the way. When I am trying to boot the image, I get the following error: [ 59.231810] sd 5:2:1:0: [sdf] Attached SCSI disk [ 59.261786] sd 5:2:2:0: [sdg] Attached SCSI disk [ 59.301778] sd 5:2:3:0: [sdh] Attached SCSI disk Error getting IP address for eth0 with MAC Troubleshooting required, press t to launch shell... route: fscanf obtained the following from dhcp: ip address = netmask = gateway = network ready start iSCSI target on /dev/sda waiting for tgtd socket...not found waiting for tgtd socket...found BusyBox v1.19.4 (2014-07-23 21:28:14 UTC) multi-call binary. Usage: tftp [OPTIONS] HOST [PORT] Transfer a file from/to tftp server -l FILELocal FILE -r FILERemote FILE -gGet file -pPut file -b SIZETransfer blocks of SIZE octets tftp: invalid option -- 'c' BusyBox v1.19.4 (2014-07-23 21:28:14 UTC) multi-call binary. Usage: tftp [OPTIONS] HOST [PORT] Transfer a file from/to tftp server -l FILELocal FILE -r FILERemote FILE -gGet file -pPut file -b SIZETransfer blocks of SIZE octets request Ironic API to deploy image curl: (7) Failed to connect to 10.0.1.248: Network is unreachable waiting for notice of complete Now, my physical node has 15 ethernet ports and my private n/w cable is connected on eth15 and that's the port that has been provided to Ironic server. So, before the booting if I check the shell, eth15 is up and gets the 10.0.1.xxx ip, but at the booting time that's not happening. I am not able to understand why is it trying to get info about eth0 while it is not even connected. Please help me out to resolve this. Thanks, -- Peeyush Gupta gpeey...@linux.vnet.ibm.com ___ Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack Post to : openstack@lists.openstack.org Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Re: [openstack-dev] [Ironic] Proposing new meeting times
Hi devananda, I would be comfortable with both the timings, though I like the second option better. I am from India, so current timing is a little inconvenient for us! On 11/18/2014 06:30 AM, Devananda van der Veen wrote: Hi all, As discussed in Paris and at today's IRC meeting [1] we are going to be alternating the time of the weekly IRC meetings to accommodate our contributors in EMEA better. No time will be perfect for everyone, but as it stands, we rarely (if ever) see our Indian, Chinese, and Japanese contributors -- and it's quite hard for any of the AU / NZ folks to attend. I'm proposing two sets of times below. Please respond with a -1 vote to an option if that option would cause you to miss ALL meetings, or a +1 vote if you can magically attend ALL the meetings. If you can attend, without significant disruption, at least one of the time slots in a proposal, please do not vote either for or against it. This way we can identify a proposal which allows everyone to attend at a minimum 50% of the meetings, and preferentially weight towards one that allows more contributors to attend two meetings. This link shows the local times in some major coutries / timezones around the world (and you can customize it to add your own). http://www.timeanddate.com/worldclock/meetingtime.html?iso=20141125p1=224p2=179p3=78p4=367p5=44p6=33p7=248p8=5 For reference, the current meeting time is 1900 UTC. Option #1: alternate between Monday 1900 UTC Tuesday 0900 UTC. I like this because 1900 UTC spans all of US and western EU, while 0900 combines EU and EMEA. Folks in western EU are in the middle and can attend all meetings. http://www.timeanddate.com/worldclock/meetingdetails.html?year=2014month=11day=24hour=19min=0sec=0p1=224p2=179p3=78p4=367p5=44p6=33p7=248p8=5 http://www.timeanddate.com/worldclock/meetingdetails.html?year=2014month=11day=25hour=9min=0sec=0p1=224p2=179p3=78p4=367p5=44p6=33p7=248p8=5 Option #2: alternate between Monday 1700 UTC Tuesday 0500 UTC. I like this because it shifts the current slot two hours earlier, making it easier for eastern EU to attend without excluding the western US, and while 0500 UTC is not so late that US west coast contributors can't attend (it's 9PM for us), it is harder for western EU folks to attend. There's really no one in the middle here, but there is at least a chance for US west coast and EMEA to overlap, which we don't have at any other time. http://www.timeanddate.com/worldclock/meetingdetails.html?year=2014month=11day=24hour=17min=0sec=0p1=224p2=179p3=78p4=367p5=44p6=33p7=248p8=5 I'll collate all the responses to this thread during the week, ahead of next week's regularly-scheduled meeting. -Devananda [1] http://eavesdrop.openstack.org/meetings/ironic/2014/ironic.2014-11-17-19.00.log.html ___ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev -- Peeyush Gupta gpeey...@linux.vnet.ibm.com ___ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] [Ironic] A mascot for Ironic
It's awesome. How about IRONicBEAR? On 11/16/2014 06:44 PM, Lucas Alvares Gomes wrote: Hi Ironickers, I was thinking this weekend: All the cool projects does have a mascot so I thought that we could have one for Ironic too. The idea about what the mascot would be was easy because the RAX guys put bear metal their presentation[1] and that totally rocks! So I drew a bear. It also needed an instrument, at first I thought about a guitar, but drums is actually my favorite instrument so I drew a pair of drumsticks instead. The drawing thing wasn't that hard, the problem was to digitalize it. So I scanned the thing and went to youtube to watch some tutorials about gimp and inkspace to learn how to vectorize it. Magic, it worked! Attached in the email there's the original draw, the vectorized version without colors and the final version of it (with colors). Of course, I know some people does have better skills than I do, so I also attached the inkspace file of the final version in case people want to tweak it :) So, what you guys think about making this little drummer bear the mascot of the Ironic project? Ahh he also needs a name. So please send some suggestions and we can vote on the best name for him. [1] http://www.youtube.com/watch?v=2Oi2T2pSGDU#t=90 Lucas ___ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev -- Peeyush Gupta gpeey...@linux.vnet.ibm.com ___ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] [Ironic] Changing our weekly meeting format
+1 I agree with Lucas. Sounds like a good idea. I guess if we could spare more time for discussing new features and requirements rather than asking for status, that would be helpful for everyone. On 11/13/2014 05:45 PM, Lucas Alvares Gomes wrote: This was discussed in the Contributor Meetup on Friday at the Summit but I think it's important to share on the mail list too so we can get more opnions/suggestions/comments about it. In the Ironic weekly meeting we dedicate a good time of the meeting to do some announcements, reporting bug status, CI status, oslo status, specific drivers status, etc... It's all good information, but I believe that the mail list would be a better place to report it and then we can free some time from our meeting to actually discuss things. Are you guys in favor of it? If so I'd like to propose a new format based on the discussions we had in Paris. For the people doing the status report on the meeting, they would start adding the status to an etherpad and then we would have a responsible person to get this information and send it to the mail list once a week. For the meeting itself we have a wiki page with an agenda[1] which everyone can edit to put the topic they want to discuss in the meeting there, I think that's fine and works. The only change about it would be that we may want freeze the agenda 2 days before the meeting so people can take a look at the topics that will be discussed and prepare for it; With that we can move forward quicker with the discussions because people will be familiar with the topics already. Let me know what you guys think. [1] https://wiki.openstack.org/wiki/Meetings/Ironic Lucas ___ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev -- Peeyush Gupta gpeey...@linux.vnet.ibm.com ___ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [Openstack] Fwd: Ironic configuration for Baremetal
Hi, The devstack guide is not targeted for physical development. It's developed for test environments and doesn't support physical bare metal installation out of the box, though that doesn't mean you can't tweak it for your use! I would recommend using devstack guide only for testing purposes and follow this guide http://docs.openstack.org/developer/ironic/deploy/install-guide.html for baremetal installation. Good luck! On 11/13/2014 12:34 PM, aayush.asawa wrote: hello all, We are a team of IIIT,Hyderabad trying to configure openstack with Ironic and provision a bare node. as you can see in the snapshot Ironic is enabled. we followed this document of openstack. http://docs.openstack.org/develop.../.../dev/dev-quickstart.html Now we are not getting how to create a BareMetal instance on a physical node.How openastack Ironic will detect that bare machine and how to create it through Horizon. Our target is to provision a Bare node and launch a coreos instance with docker. ___ Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack Post to : openstack@lists.openstack.org Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack -- Peeyush Gupta gpeey...@linux.vnet.ibm.com ___ Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack Post to : openstack@lists.openstack.org Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Re: [Openstack] Fwd: Ironic configuration for Baremetal
That guide is self-sufficient to follow, just installation and configuration. However, I do agree that installing openstack service by service can be a little clumsy. If you have decided to go with devstack, I would say, start with neutron setup. Devstack guide is targeted to work only with VMs. In the baremetal installation guide there is a section named Configuring neutron IIRC, go through that, set up your neutron and DHCP so that you can talk to physical server. After that check if your node supports pxe and tftp. Should be a smooth road ahead of that! On 11/13/2014 01:39 PM, aayush.asawa wrote: thank you peeyush, but as that guide says it need nova,horizon,neutron,keystone and other openstack components as pre-requesite so we thought of doing it with devstack. Can you give some more details on how and what exactly to follow. Also we are less in resources.we had a compute node for openstack installation and only one more machine which we is for physical installation. On 2014-11-13 13:27, Peeyush Gupta wrote: Hi, The devstack guide is not targeted for physical development. It's developed for test environments and doesn't support physical bare metal installation out of the box, though that doesn't mean you can't tweak it for your use! I would recommend using devstack guide only for testing purposes and follow this guide http://docs.openstack.org/developer/ironic/deploy/install-guide.html [3] for baremetal installation. Good luck! On 11/13/2014 12:34 PM, aayush.asawa wrote: hello all, We are a team of IIIT,Hyderabad trying to configure openstack with Ironic and provision a bare node. as you can see in the snapshot Ironic is enabled. we followed this document of openstack. http://docs.openstack.org/develop…/…/dev/dev-quickstart.html [2] Now we are not getting how to create a BareMetal instance on a physical node.How openastack Ironic will detect that bare machine and how to create it through Horizon. Our target is to provision a Bare node and launch a coreos instance with docker. ___ Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack [1] Post to : openstack@lists.openstack.org Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack [1] -- Peeyush Gupta gpeey...@linux.vnet.ibm.com Links: -- [1] http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack [2] http://docs.openstack.org/develop#8230;/#8230;/dev/dev-quickstart.html [3] http://docs.openstack.org/developer/ironic/deploy/install-guide.html -- Peeyush Gupta gpeey...@linux.vnet.ibm.com ___ Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack Post to : openstack@lists.openstack.org Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
[Openstack] [Ironic] Trouble in setting up Ironic in private network
Hi all, So, I have been trying to add a new baremetal node to devstack ironic setup. I am running devstack on a VM. The host has two networks, one private and one public. My VM also has two interfaces, connected to private and public networks respectively. Public network is used to manage IPMI to control power cycles. That is happening perfectly. I can power on and off the server using ironic cli. Now, when I try to deploy, my baremetal node is not able to connect to DHCP. I can see from the console, that during the power cycle, my node boots up normally. Now, the interface on which the private network is connected is up and configured to use DHCP. But my best guess is, it is not able to talk to the DHCP server. So, I did a little more digging and found out that DHCP is running on virbr0 interface which has a 192.168.122.1 ip, which is a private network and it's not connected to any interface. stack@peeyush-Standard-PC-i440FX-PIIX-1996:~/devstack$ brctl show bridge namebridge idSTP enabledinterfaces docker08000.56847afe9799no virbr08000.yes My nova-compute keeps saying: 2014-11-12 11:57:40.774 DEBUG nova.virt.ironic.driver [-] [instance: de919d3e-2090-47e5-8495-fbb7902b3caf] Still waiting for ironic node de6fcb1d-26a8-4aa1-809c-5a05b752e829 to become ACTIVE: power_state=power on, target_power_state=None, provision_state=wait call-back, target_provision_state=deploy complete from (pid=30197) _log_ironic_polling /opt/stack/nova/nova/virt/ironic/driver.py:150 and eventually times out! Node-validation shows this: stack@peeyush-Standard-PC-i440FX-PIIX-1996:~/devstack$ ironic node-validate de6fcb1d-26a8-4aa1-809c-5a05b752e829 +++-+ | Interface | Result | Reason | +++-+ | console| False | IPMI terminal port not supplied to IPMI driver. | | deploy | True | | | management | True | | | power | True | | +++-+ The server tries to put ip in 10.1.0.xx range and stucks there. So, it makes senses that my baremetal node can't connect to my DHCP server. I may be wrong though! I copied the localrc file from here: http://docs.openstack.org/developer/ironic/dev/dev-quickstart.html#deploying-ironic-with-devstack Did anyone face the same problem? Do I need to make changes to localrc file/DHCP config file to run DHCP on a reachable ip? Could you please tell me how to resolve this issue? -- Peeyush Gupta gpeey...@linux.vnet.ibm.com ___ Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack Post to : openstack@lists.openstack.org Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
[Openstack] [Ironic] Error: Can't connect to MySql server at 127.0.0.1
Hi all, I have ironic devstack setup running on a VM with public IP. Now, I want to try out the same setup on a private network. So, I copied the VM image and port it to a host in the private network. Now, this private network doesn't have an internet connection. So, I put OFFLINE=True in localrc and ran ./stack.sh script. Here is the error I am getting: 2014-11-10 08:26:56.210 | Syncing /opt/stack/tempest-lib/test-requirements.txt 2014-11-10 08:26:56.210 | Syncing setup.py 2014-11-10 08:26:56.805 | HEAD is now at 26323eb Merge Remove unused method and variable in base.py 2014-11-10 08:26:56.811 | Running in offline mode, clones already exist 2014-11-10 08:26:56.830 | 6a81d4a Merge Log AttributeError as 'info' instead of 'exception' 2014-11-10 08:26:57.003 | Changing password for user guest ... 2014-11-10 08:26:57.038 | ...done. 2014-11-10 08:26:57.059 | ERROR 2003 (HY000): Can't connect to MySQL server on '127.0.0.1' (111) 2014-11-10 08:26:57.062 | Error on exit 2014-11-10 08:26:57.091 | df: '/run/user/1000/gvfs': Permission denied Googled a lot and tried out at least a hundred ways to fix including removing and re-installing mysql server! Nothing is working. Did anyone face the same error? How did you get around it? Thanks, -- Peeyush Gupta gpeey...@linux.vnet.ibm.com ___ Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack Post to : openstack@lists.openstack.org Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
[Openstack] [ironic] Error: Can't connect to MySql server on 127.0.0.1
Hi all, I have ironic devstack setup running on a VM with public IP. Now, I want to try out the same setup on a private network. So, I copied the VM image and port it to a host in the private network. Now, this private network doesn't have an internet connection. So, I put OFFLINE=True in localrc and ran ./stack.sh script. Here is the error I am getting: 2014-11-10 08:26:56.210 | Syncing /opt/stack/tempest-lib/test-requirements.txt 2014-11-10 08:26:56.210 | Syncing setup.py 2014-11-10 08:26:56.805 | HEAD is now at 26323eb Merge Remove unused method and variable in base.py 2014-11-10 08:26:56.811 | Running in offline mode, clones already exist 2014-11-10 08:26:56.830 | 6a81d4a Merge Log AttributeError as 'info' instead of 'exception' 2014-11-10 08:26:57.003 | Changing password for user guest ... 2014-11-10 08:26:57.038 | ...done. 2014-11-10 08:26:57.059 | ERROR 2003 (HY000): Can't connect to MySQL server on '127.0.0.1' (111) 2014-11-10 08:26:57.062 | Error on exit 2014-11-10 08:26:57.091 | df: '/run/user/1000/gvfs': Permission denied Googled a lot and tried out at least a hundred ways to fix including removing and re-installing mysql server! Nothing is working. Did anyone face the same error? How did you get around it? Thanks, -- Peeyush Gupta gpeey...@linux.vnet.ibm.com ___ Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack Post to : openstack@lists.openstack.org Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Re: [Openstack] Getting started with OpenStack
On 09/30/2014 09:42 PM, Saloni Baweja wrote: I am an aspirant for OPW and did find projects like Wikimedia, Evergreen interesting and have bit more inclination towards OpenStack. But I have no idea about cloud storage, their working etc and am just a beginner. It would be great if I get guidance about how to start understanding what exactly OpenStack is. I did read about the components of OpenStack that have different code names. But this further confuses me of where to start from ? Should I be knowing about all the components ? How can I get acquainted with OpenStack and its components ( as a mere beginner ) so that I can start contributing towards this ? Hey, I guess the best way to learn openstack is to start using it. It is a huge ecosystem, so it's very tough to be master of every component. I would recommend deploy it on a single node VM using devstack, see how things work and start playing with the component that interests you the most. HTH. -- Peeyush Gupta gpeey...@linux.vnet.ibm.com ___ Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack Post to : openstack@lists.openstack.org Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
[Openstack] [Ironic] Booting a physical machine using Ironic devstack setup
File /opt/stack/nova/nova/db/sqlalchemy/api.py, line 125, in wrapper 2014-09-29 13:30:26.917 TRACE nova.openstack.common.threadgroup return f(*args, **kwargs) 2014-09-29 13:30:26.917 TRACE nova.openstack.common.threadgroup File /opt/stack/nova/nova/virt/baremetal/db/sqlalchemy/api.py, line 99, in bm_node_get_associated 2014-09-29 13:30:26.917 TRACE nova.openstack.common.threadgroup return query.all() 2014-09-29 13:30:26.917 TRACE nova.openstack.common.threadgroup File /usr/lib/python2.7/dist-packages/sqlalchemy/orm/query.py, line 2241, in all 2014-09-29 13:30:26.917 TRACE nova.openstack.common.threadgroup return list(self) 2014-09-29 13:30:26.917 TRACE nova.openstack.common.threadgroup File /usr/lib/python2.7/dist-packages/sqlalchemy/orm/query.py, line 2353, in __iter__ 2014-09-29 13:30:26.917 TRACE nova.openstack.common.threadgroup return self._execute_and_instances(context) 2014-09-29 13:30:26.917 TRACE nova.openstack.common.threadgroup File /usr/lib/python2.7/dist-packages/sqlalchemy/orm/query.py, line 2368, in _execute_and_instances 2014-09-29 13:30:26.917 TRACE nova.openstack.common.threadgroup result = conn.execute(querycontext.statement, self._params) 2014-09-29 13:30:26.917 TRACE nova.openstack.common.threadgroup File /usr/lib/python2.7/dist-packages/sqlalchemy/engine/base.py, line 662, in execute 2014-09-29 13:30:26.917 TRACE nova.openstack.common.threadgroup params) 2014-09-29 13:30:26.917 TRACE nova.openstack.common.threadgroup File /usr/lib/python2.7/dist-packages/sqlalchemy/engine/base.py, line 761, in _execute_clauseelement 2014-09-29 13:30:26.917 TRACE nova.openstack.common.threadgroup compiled_sql, distilled_params 2014-09-29 13:30:26.917 TRACE nova.openstack.common.threadgroup File /usr/lib/python2.7/dist-packages/sqlalchemy/engine/base.py, line 874, in _execute_context 2014-09-29 13:30:26.917 TRACE nova.openstack.common.threadgroup context) 2014-09-29 13:30:26.917 TRACE nova.openstack.common.threadgroup File /usr/local/lib/python2.7/dist-packages/oslo/db/sqlalchemy/compat/handle_error.py, line 125, in _handle_dbapi_exception 2014-09-29 13:30:26.917 TRACE nova.openstack.common.threadgroup six.reraise(type(newraise), newraise, sys.exc_info()[2]) 2014-09-29 13:30:26.917 TRACE nova.openstack.common.threadgroup File /usr/local/lib/python2.7/dist-packages/oslo/db/sqlalchemy/compat/handle_error.py, line 102, in _handle_dbapi_exception 2014-09-29 13:30:26.917 TRACE nova.openstack.common.threadgroup per_fn = fn(ctx) 2014-09-29 13:30:26.917 TRACE nova.openstack.common.threadgroup File /usr/local/lib/python2.7/dist-packages/oslo/db/sqlalchemy/exc_filters.py, line 323, in handler 2014-09-29 13:30:26.917 TRACE nova.openstack.common.threadgroup context.is_disconnect) 2014-09-29 13:30:26.917 TRACE nova.openstack.common.threadgroup File /usr/local/lib/python2.7/dist-packages/oslo/db/sqlalchemy/exc_filters.py, line 254, in _raise_operational_errors_directly_filter 2014-09-29 13:30:26.917 TRACE nova.openstack.common.threadgroup raise operational_error 2014-09-29 13:30:26.917 TRACE nova.openstack.common.threadgroup OperationalError: (OperationalError) no such table: bm_nodes u'SELECT bm_nodes.deleted_at AS bm_nodes_deleted_at, bm_nodes.created_at AS bm_nodes_created_at, bm_nodes.updated_at AS bm_nodes_updated_at, bm_nodes.id AS bm_nodes_id, bm_nodes.deleted AS bm_nodes_deleted, bm_nodes.uuid AS bm_nodes_uuid, bm_nodes.service_host AS bm_nodes_service_host, bm_nodes.instance_uuid AS bm_nodes_instance_uuid, bm_nodes.instance_name AS bm_nodes_instance_name, bm_nodes.cpus AS bm_nodes_cpus, bm_nodes.memory_mb AS bm_nodes_memory_mb, bm_nodes.local_gb AS bm_nodes_local_gb, bm_nodes.preserve_ephemeral AS bm_nodes_preserve_ephemeral, bm_nodes.pm_address AS bm_nodes_pm_address, bm_nodes.pm_user AS bm_nodes_pm_user, bm_nodes.pm_password AS bm_nodes_pm_password, bm_nodes.task_state AS bm_nodes_task_state, bm_nodes.terminal_port AS bm_nodes_terminal_port, bm_nodes.image_path AS bm_nodes_image_path, bm_nodes.pxe_config_path AS bm_nodes_pxe_config_path, bm_nodes.deploy_key AS bm_nodes_deploy_key, bm_nodes.root_mb AS bm_nodes_root_mb, bm_nodes.swap_mb AS bm_nodes_swap_mb, bm_nodes.ephemeral_mb AS bm_nodes_ephemeral_mb \nFROM bm_nodes \nWHERE bm_nodes.deleted = 0 AND bm_nodes.instance_uuid IS NOT NULL AND bm_nodes.service_host = ?' ('peeyush-Standard-PC-i440FX-PIIX-1996',) 2014-09-29 13:30:26.917 TRACE nova.openstack.common.threadgroup Please help me figure out the issue. Thanks, -- Peeyush Gupta gpeey...@linux.vnet.ibm.com ___ Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack Post to : openstack@lists.openstack.org Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
[openstack-dev] [Devstack][Ironic] Is devstack gate broken?
Hi all, I have been trying to deploy ironic using devstack, but getting this error: 2014-09-27 14:34:07.758 | ++ err_trap 2014-09-27 14:34:07.759 | ++ local r=1 2014-09-27 14:34:07.760 | stack.sh failed: full log in /opt/stack/devstack.log.2014-09-27-193748 2014-09-27 14:34:07.766 | Error on exit 2014-09-27 14:34:11.235 | df: '/run/user/112/gvfs': Permission denied So, it's a fuse issue. I changes the configuration in /etc/fuse.conf to enable user_allow_other, but it's still the same error. I am having this issue since last night only. Before that it was working completely fine. Anyone else having the same issue? Should I try something else to make it work? Thanks, -- Peeyush Gupta gpeey...@linux.vnet.ibm.com ___ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] [Devstack][Ironic] Is devstack gate broken?
On 09/27/2014 08:15 PM, Sean Dague wrote: On 09/27/2014 10:42 AM, Peeyush Gupta wrote: Hi all, I have been trying to deploy ironic using devstack, but getting this error: 2014-09-27 14:34:07.758 | ++ err_trap 2014-09-27 14:34:07.759 | ++ local r=1 2014-09-27 14:34:07.760 | stack.sh failed: full log in /opt/stack/devstack.log.2014-09-27-193748 2014-09-27 14:34:07.766 | Error on exit 2014-09-27 14:34:11.235 | df: '/run/user/112/gvfs': Permission denied So, it's a fuse issue. I changes the configuration in /etc/fuse.conf to enable user_allow_other, but it's still the same error. I am having this issue since last night only. Before that it was working completely fine. Anyone else having the same issue? Should I try something else to make it work? Thanks, Scroll further back up, the actually error will be before err_trap is printed. -Sean Hi Sean, That part keeps changing, sometimes it's about cinder-api and sometimes it's about mysql connection. I just want to make sure it's not because of some changes in devstack environment. -- Peeyush Gupta gpeey...@linux.vnet.ibm.com ___ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [Openstack] [TripleO]Error while running RDO instack
On 09/24/2014 10:20 PM, Steve Gordon wrote: - Original Message - From: Peeyush Gupta gpeey...@linux.vnet.ibm.com To: openstack@lists.openstack.org Hi all, I have been trying to set up TripleO using RDO instack. I tried it in virtual environment and it works fine. Now, I am trying on physical environment. I installed Fedora 20 on a machine and set up the user stack. Now, when I run 'instack-install-undercloud-packages', I am getting the following error: + output 'Running /tmp/tmpzgbZSQ/pre-install.d/00-allow-heat-admin-sudo' ++ date + echo dib-run-parts Tue Sep 23 13:00:52 IST 2014 Running /tmp/tmpzgbZSQ/pre-install.d/00-allow-heat-admin-sudo dib-run-parts Tue Sep 23 13:00:52 IST 2014 Running /tmp/tmpzgbZSQ/pre-install.d/00-allow-heat-admin-sudo + target_tag=00-allow-heat-admin-sudo + date +%s.%N + /tmp/tmpzgbZSQ/pre-install.d/00-allow-heat-admin-sudo /etc/sudoers.d/x2goserver: bad permissions, should be mode 0440 /etc/sudoers: parsed OK /etc/sudoers.d/50_stack_sh: parsed OK /etc/sudoers.d/cinder-rootwrap: parsed OK /etc/sudoers.d/heat-admin-notty: parsed OK /etc/sudoers.d/nova-rootwrap: parsed OK /etc/sudoers.d/stack: parsed OK INFO: 2014-09-23 13:00:52,440 -- ### End stdout/stderr logging ### ERROR: 2014-09-23 13:00:52,441 -- Hook FAILED. ERROR: 2014-09-23 13:00:52,441 -- Failed running command ['dib-run-parts', u'/tmp/tmpzgbZSQ/pre-install.d'] Then I ran ' dib-run-parts /tmp/tmpNMJP7_/pre-install.d' command and here is the error I got: + source /tmp/tmpNMJP7_/pre-install.d/../environment.d/15-manifests ++ set -eu ++ export DIB_MANIFEST_IMAGE_DIR=/etc/dib-manifests ++ DIB_MANIFEST_IMAGE_DIR=/etc/dib-manifests /tmp/tmpNMJP7_/pre-install.d/../environment.d/15-manifests: line 20: IMAGE_NAME: unbound variable So, as I understand there is no IMAGE_NAME set in the system. So, I put fedora-20-undercloud-package as IMAGE_NAME. I am not sure if that is correct or not. Now, I ran the command again (the dib one) and here is the error: + source /tmp/tmpNMJP7_/pre-install.d/../environment.d/15-manifests ++ set -eu ++ export DIB_MANIFEST_IMAGE_DIR=/etc/dib-manifests ++ DIB_MANIFEST_IMAGE_DIR=/etc/dib-manifests ++ export DIB_MANIFEST_SAVE_DIR=fedora-20-undercloud-packages.d/ ++ DIB_MANIFEST_SAVE_DIR=fedora-20-undercloud-packages.d/ + for target in '$targets' + output 'Running /tmp/tmpNMJP7_/pre-install.d/00-allow-heat-admin-sudo' ++ date + echo dib-run-parts Tue Sep 23 13:04:16 IST 2014 Running /tmp/tmpNMJP7_/pre-install.d/00-allow-heat-admin-sudo dib-run-parts Tue Sep 23 13:04:16 IST 2014 Running /tmp/tmpNMJP7_/pre-install.d/00-allow-heat-admin-sudo + target_tag=00-allow-heat-admin-sudo + date +%s.%N + /tmp/tmpNMJP7_/pre-install.d/00-allow-heat-admin-sudo /tmp/tmpNMJP7_/pre-install.d/00-allow-heat-admin-sudo: line 6: /etc/sudoers.d/heat-admin-notty: Permission denied Can you please help me resolve the error? Thanks, -- Peeyush Gupta gpeey...@linux.vnet.ibm.com Hi Peeyush, Did you create the stack user and add them to sudo?: # useradd stack # passwd stack # specify a password # echo stackALL=(ALL) NOPASSWD: ALL /etc/sudoers.d/stack # chmod 0440 /etc/sudoers.d/stack See the bottom of this page: https://openstack.redhat.com/Deploying_RDO_on_a_Baremetal_Environment_using_Instack -Steve Hi Steve, Yes, I did that. And I also logged into new shell for the changes to take effect. Still I am not able to make it work. Should I install Fedora from scratch? As there was an tripleo virtual environment setup on this machine before. Is it possible that that could have messes up the configuration? -- Peeyush Gupta gpeey...@linux.vnet.ibm.com ___ Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack Post to : openstack@lists.openstack.org Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
[Openstack] [Ironic] Deploying a physical node through Ironic
Hi all, I have been trying to deploy a physical node through Ironic. I have set up Ironic using devstack in a Ubuntu virtual environment. Now, I was able to register the node with Ironic and I can shut it down and turn it on using Ironic (meaning ipmi works). The problem is when I try to boot an instance, nova-scheduler doesn't consider the newly added node. It only consider the previously defined three virtual nodes. I tried restarting nova-scheduler process, but it didn't work. How can I let nova-scheduler know that there is one more node with Ironic? Or Do I need to somehow register it with nova too? -- Peeyush Gupta gpeey...@linux.vnet.ibm.com ___ Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack Post to : openstack@lists.openstack.org Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
[Openstack] [TripleO]Error while running RDO instack
Hi all, I have been trying to set up TripleO using RDO instack. I tried it in virtual environment and it works fine. Now, I am trying on physical environment. I installed Fedora 20 on a machine and set up the user stack. Now, when I run 'instack-install-undercloud-packages', I am getting the following error: + output 'Running /tmp/tmpzgbZSQ/pre-install.d/00-allow-heat-admin-sudo' ++ date + echo dib-run-parts Tue Sep 23 13:00:52 IST 2014 Running /tmp/tmpzgbZSQ/pre-install.d/00-allow-heat-admin-sudo dib-run-parts Tue Sep 23 13:00:52 IST 2014 Running /tmp/tmpzgbZSQ/pre-install.d/00-allow-heat-admin-sudo + target_tag=00-allow-heat-admin-sudo + date +%s.%N + /tmp/tmpzgbZSQ/pre-install.d/00-allow-heat-admin-sudo /etc/sudoers.d/x2goserver: bad permissions, should be mode 0440 /etc/sudoers: parsed OK /etc/sudoers.d/50_stack_sh: parsed OK /etc/sudoers.d/cinder-rootwrap: parsed OK /etc/sudoers.d/heat-admin-notty: parsed OK /etc/sudoers.d/nova-rootwrap: parsed OK /etc/sudoers.d/stack: parsed OK INFO: 2014-09-23 13:00:52,440 -- ### End stdout/stderr logging ### ERROR: 2014-09-23 13:00:52,441 -- Hook FAILED. ERROR: 2014-09-23 13:00:52,441 -- Failed running command ['dib-run-parts', u'/tmp/tmpzgbZSQ/pre-install.d'] Then I ran ' dib-run-parts /tmp/tmpNMJP7_/pre-install.d' command and here is the error I got: + source /tmp/tmpNMJP7_/pre-install.d/../environment.d/15-manifests ++ set -eu ++ export DIB_MANIFEST_IMAGE_DIR=/etc/dib-manifests ++ DIB_MANIFEST_IMAGE_DIR=/etc/dib-manifests /tmp/tmpNMJP7_/pre-install.d/../environment.d/15-manifests: line 20: IMAGE_NAME: unbound variable So, as I understand there is no IMAGE_NAME set in the system. So, I put fedora-20-undercloud-package as IMAGE_NAME. I am not sure if that is correct or not. Now, I ran the command again (the dib one) and here is the error: + source /tmp/tmpNMJP7_/pre-install.d/../environment.d/15-manifests ++ set -eu ++ export DIB_MANIFEST_IMAGE_DIR=/etc/dib-manifests ++ DIB_MANIFEST_IMAGE_DIR=/etc/dib-manifests ++ export DIB_MANIFEST_SAVE_DIR=fedora-20-undercloud-packages.d/ ++ DIB_MANIFEST_SAVE_DIR=fedora-20-undercloud-packages.d/ + for target in '$targets' + output 'Running /tmp/tmpNMJP7_/pre-install.d/00-allow-heat-admin-sudo' ++ date + echo dib-run-parts Tue Sep 23 13:04:16 IST 2014 Running /tmp/tmpNMJP7_/pre-install.d/00-allow-heat-admin-sudo dib-run-parts Tue Sep 23 13:04:16 IST 2014 Running /tmp/tmpNMJP7_/pre-install.d/00-allow-heat-admin-sudo + target_tag=00-allow-heat-admin-sudo + date +%s.%N + /tmp/tmpNMJP7_/pre-install.d/00-allow-heat-admin-sudo /tmp/tmpNMJP7_/pre-install.d/00-allow-heat-admin-sudo: line 6: /etc/sudoers.d/heat-admin-notty: Permission denied Can you please help me resolve the error? Thanks, -- Peeyush Gupta gpeey...@linux.vnet.ibm.com ___ Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack Post to : openstack@lists.openstack.org Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Re: [openstack-dev] [Ironic] Error in deploying ironicon Ubuntu 12.04
Hi, I did unstack and ran stack.sh again. Tried that 2-3 times, but I am getting this error always: 2014-09-15 16:34:51.047 | +++ grep tap 2014-09-15 16:34:51.047 | +++ sudo ip netns exec qdhcp-d117dfad-d794-4db1-9e1c-87818ebbba27 ip link list 2014-09-15 16:34:51.048 | +++ cut -d: -f2 2014-09-15 16:34:51.051 | +++ cut -b2- 2014-09-15 16:34:51.061 | Cannot open network namespace: No such file or directory 2014-09-15 16:34:51.064 | ++ local tapdev= 2014-09-15 16:34:51.065 | +++ sudo ovs-vsctl show 2014-09-15 16:34:51.065 | +++ grep -A1 -m1 2014-09-15 16:34:51.067 | +++ cut -d: -f2 2014-09-15 16:34:51.067 | +++ grep tag 2014-09-15 16:34:51.068 | Usage: grep [OPTION]... PATTERN [FILE]... 2014-09-15 16:34:51.068 | Try `grep --help' for more information. 2014-09-15 16:34:51.070 | +++ cut -b2- 2014-09-15 16:34:51.086 | ++ local tag_id= 2014-09-15 16:34:51.086 | ++ sudo ip link show ovs-tap1 2014-09-15 16:34:51.129 | Device ovs-tap1 does not exist. 2014-09-15 16:34:51.131 | ++ sudo ip link show brbm-tap1 2014-09-15 16:34:51.141 | Device brbm-tap1 does not exist. 2014-09-15 16:34:51.143 | ++ sudo ip link add brbm-tap1 type veth peer name ovs-tap1 2014-09-15 16:34:51.193 | ++ sudo ip link set dev brbm-tap1 up 2014-09-15 16:34:51.205 | ++ sudo ip link set dev ovs-tap1 up 2014-09-15 16:34:51.214 | ++ sudo ovs-vsctl -- --if-exists del-port ovs-tap1 -- add-port br-int ovs-tap1 tag= 2014-09-15 16:34:51.228 | ovs-vsctl: tag=: argument does not end in = followed by a value. 2014-09-15 16:34:51.231 | + exit_trap 2014-09-15 16:34:51.257 | + local r=1 2014-09-15 16:34:51.258 | ++ jobs -p 2014-09-15 16:34:51.258 | + jobs= 2014-09-15 16:34:51.259 | + [[ -n '' ]] 2014-09-15 16:34:51.259 | + kill_spinner 2014-09-15 16:34:51.259 | + '[' '!' -z '' ']' 2014-09-15 16:34:51.259 | + [[ 1 -ne 0 ]] 2014-09-15 16:34:51.259 | + echo 'Error on exit' 2014-09-15 16:34:51.259 | Error on exit 2014-09-15 16:34:51.259 | + [[ -z /opt/stack ]] 2014-09-15 16:34:51.259 | + /opt/stack/devstack/tools/worlddump.py -d /opt/stack 2014-09-15 16:34:51.508 | + exit 1 What I am interested to know is if this is a problem with precise or with devstack script? On 09/15/2014 08:44 PM, Peeyush Gupta wrote: Hi, I reran the script after commenting out the docker.io line. Here is the error I am getting: 2014-09-15 13:25:04.977 | + mysql -uroot -ppassword -h127.0.0.1 -e 'DROP DATABASE IF EXISTS nova;' 2014-09-15 13:25:04.981 | + mysql -uroot -ppassword -h127.0.0.1 -e 'CREATE DATABASE nova CHARACTER SET latin1;' 2014-09-15 13:25:04.985 | + /usr/local/bin/nova-manage db sync 2014-09-15 13:25:04.985 | /opt/stack/devstack/lib/nova: line 591: /usr/local/bin/nova-manage: No such file or directory 2014-09-15 13:25:04.986 | + exit_trap 2014-09-15 13:25:04.986 | + local r=1 2014-09-15 13:25:04.986 | ++ jobs -p 2014-09-15 13:25:04.987 | + jobs= 2014-09-15 13:25:04.987 | + [[ -n '' ]] 2014-09-15 13:25:04.987 | + kill_spinner 2014-09-15 13:25:04.987 | + '[' '!' -z '' ']' 2014-09-15 13:25:04.988 | + [[ 1 -ne 0 ]] 2014-09-15 13:25:04.988 | + echo 'Error on exit' 2014-09-15 13:25:04.988 | Error on exit 2014-09-15 13:25:04.988 | + [[ -z /opt/stack ]] 2014-09-15 13:25:04.988 | + /opt/stack/devstack/tools/worlddump.py -d /opt/stack 2014-09-15 13:25:05.060 | + exit 1 I have nova installed on my machine, but not nova-manage. Any idea why is this happening now? On 09/11/2014 06:49 PM, Jim Rollenhagen wrote: On September 11, 2014 3:52:59 AM PDT, Lucas Alvares Gomes lucasago...@gmail.com wrote: Oh, it's because Precise doesn't have the docker.io package[1] (nor docker). AFAIK the -infra team is now using Trusty in gate, so it won't be a problem. But if you think that we should still support Ironic DevStack with Precise please file a bug about it so the Ironic team can take a look on that. [1] http://packages.ubuntu.com/search?suite=trustysection=allarch=anykeywords=docker.iosearchon=names Cheers, Lucas On Thu, Sep 11, 2014 at 11:12 AM, Peeyush gpeey...@linux.vnet.ibm.com wrote: Hi all, I have been trying to deploy Openstack-ironic on a Ubuntu 12.04 VM. I encountered the following error: 2014-09-11 10:08:11.166 | Reading package lists... 2014-09-11 10:08:11.471 | Building dependency tree... 2014-09-11 10:08:11.475 | Reading state information... 2014-09-11 10:08:11.610 | E: Unable to locate package docker.io 2014-09-11 10:08:11.610 | E: Couldn't find any package by regex 'docker.io' 2014-09-11 10:08:11.611 | + exit_trap 2014-09-11 10:08:11.612 | + local r=100 2014-09-11 10:08:11.612 | ++ jobs -p 2014-09-11 10:08:11.612 | + jobs= 2014-09-11 10:08:11.612 | + [[ -n '' ]] 2014-09-11 10:08:11.612 | + kill_spinner 2014-09-11 10:08:11.613 | + '[' '!' -z '' ']' 2014-09-11 10:08:11.613 | + [[ 100 -ne 0 ]] 2014-09-11 10:08:11.613 | + echo 'Error on exit' 2014-09-11 10:08:11.613 | Error on exit 2014-09-11 10:08:11.613 | + [[ -z /opt/stack ]] 2014-09-11 10:08:11.613 | + ./tools/worlddump.py -d /opt/stack 2014-09-11 10:08:11.655 | + exit 100 I tried
Re: [openstack-dev] [Ironic] Error in deploying ironicon Ubuntu 12.04
Hi, I reran the script after commenting out the docker.io line. Here is the error I am getting: 2014-09-15 13:25:04.977 | + mysql -uroot -ppassword -h127.0.0.1 -e 'DROP DATABASE IF EXISTS nova;' 2014-09-15 13:25:04.981 | + mysql -uroot -ppassword -h127.0.0.1 -e 'CREATE DATABASE nova CHARACTER SET latin1;' 2014-09-15 13:25:04.985 | + /usr/local/bin/nova-manage db sync 2014-09-15 13:25:04.985 | /opt/stack/devstack/lib/nova: line 591: /usr/local/bin/nova-manage: No such file or directory 2014-09-15 13:25:04.986 | + exit_trap 2014-09-15 13:25:04.986 | + local r=1 2014-09-15 13:25:04.986 | ++ jobs -p 2014-09-15 13:25:04.987 | + jobs= 2014-09-15 13:25:04.987 | + [[ -n '' ]] 2014-09-15 13:25:04.987 | + kill_spinner 2014-09-15 13:25:04.987 | + '[' '!' -z '' ']' 2014-09-15 13:25:04.988 | + [[ 1 -ne 0 ]] 2014-09-15 13:25:04.988 | + echo 'Error on exit' 2014-09-15 13:25:04.988 | Error on exit 2014-09-15 13:25:04.988 | + [[ -z /opt/stack ]] 2014-09-15 13:25:04.988 | + /opt/stack/devstack/tools/worlddump.py -d /opt/stack 2014-09-15 13:25:05.060 | + exit 1 I have nova installed on my machine, but not nova-manage. Any idea why is this happening now? On 09/11/2014 06:49 PM, Jim Rollenhagen wrote: On September 11, 2014 3:52:59 AM PDT, Lucas Alvares Gomes lucasago...@gmail.com wrote: Oh, it's because Precise doesn't have the docker.io package[1] (nor docker). AFAIK the -infra team is now using Trusty in gate, so it won't be a problem. But if you think that we should still support Ironic DevStack with Precise please file a bug about it so the Ironic team can take a look on that. [1] http://packages.ubuntu.com/search?suite=trustysection=allarch=anykeywords=docker.iosearchon=names Cheers, Lucas On Thu, Sep 11, 2014 at 11:12 AM, Peeyush gpeey...@linux.vnet.ibm.com wrote: Hi all, I have been trying to deploy Openstack-ironic on a Ubuntu 12.04 VM. I encountered the following error: 2014-09-11 10:08:11.166 | Reading package lists... 2014-09-11 10:08:11.471 | Building dependency tree... 2014-09-11 10:08:11.475 | Reading state information... 2014-09-11 10:08:11.610 | E: Unable to locate package docker.io 2014-09-11 10:08:11.610 | E: Couldn't find any package by regex 'docker.io' 2014-09-11 10:08:11.611 | + exit_trap 2014-09-11 10:08:11.612 | + local r=100 2014-09-11 10:08:11.612 | ++ jobs -p 2014-09-11 10:08:11.612 | + jobs= 2014-09-11 10:08:11.612 | + [[ -n '' ]] 2014-09-11 10:08:11.612 | + kill_spinner 2014-09-11 10:08:11.613 | + '[' '!' -z '' ']' 2014-09-11 10:08:11.613 | + [[ 100 -ne 0 ]] 2014-09-11 10:08:11.613 | + echo 'Error on exit' 2014-09-11 10:08:11.613 | Error on exit 2014-09-11 10:08:11.613 | + [[ -z /opt/stack ]] 2014-09-11 10:08:11.613 | + ./tools/worlddump.py -d /opt/stack 2014-09-11 10:08:11.655 | + exit 100 I tried to make it work on a separate machine, but got the same error. I understand that it could be because script is looking for docker.io package, but I guess only docker package is available. I tried to install docker.io, but couldn't find it. Can you please help me out to resolve this? Ouch. I added this as a dependency in devstack for building IPA. As Lucas said, it works fine in 14.04. In 12.04, and if using Ironic with the PXE driver (default), you can likely remove that line from devstack/files/apts/ironic. I won't promise that everything will work after that, but chances are good. // jim Thanks, -- Peeyush Gupta gpeey...@linux.vnet.ibm.com ___ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev ___ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev ___ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev -- Peeyush Gupta gpeey...@linux.vnet.ibm.com ___ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
[openstack-dev] [TripleO] 'qemu-img: error while reading sector xxxxxx: Input/Output error
Hi all, I have done a TripleO setup using RDO instack. Now, I am trying to deploy an overcloud on physical servers. I entered all the required parameters in deploy-baremetal-overcloudrc and when I ran instack-deploy-overcloud, I get the following error in nova-compute logs: 2014-08-20 06:35:43.483 16428 TRACE nova.compute.manager [instance: 774b5107-5504-4e99-bc77-af5abd8367d6] return processutils.execute(*cmd, **kwargs) 2014-08-20 06:35:43.483 16428 TRACE nova.compute.manager [instance: 774b5107-5504-4e99-bc77-af5abd8367d6] File /usr/lib/python2.7/site-packages/nova/openstack/common/processutils.py, line 193, in execute 2014-08-20 06:35:43.483 16428 TRACE nova.compute.manager [instance: 774b5107-5504-4e99-bc77-af5abd8367d6] cmd=' '.join(cmd)) 2014-08-20 06:35:43.483 16428 TRACE nova.compute.manager [instance: 774b5107-5504-4e99-bc77-af5abd8367d6] ProcessExecutionError: Unexpected error while running command. 2014-08-20 06:35:43.483 16428 TRACE nova.compute.manager [instance: 774b5107-5504-4e99-bc77-af5abd8367d6] Command: qemu-img convert -O raw /mnt/state/var/lib/nova/instances/instance-0022/disk.part /mnt/state/var/lib/nova/instances/instance-0022/disk.converted 2014-08-20 06:35:43.483 16428 TRACE nova.compute.manager [instance: 774b5107-5504-4e99-bc77-af5abd8367d6] Exit code: 1 2014-08-20 06:35:43.483 16428 TRACE nova.compute.manager [instance: 774b5107-5504-4e99-bc77-af5abd8367d6] Stdout: '' 2014-08-20 06:35:43.483 16428 TRACE nova.compute.manager [instance: 774b5107-5504-4e99-bc77-af5abd8367d6] Stderr: 'qemu-img: error while reading sector 962560: Input/output error\n' 2014-08-20 06:35:43.483 16428 TRACE nova.compute.manager [instance: 774b5107-5504-4e99-bc77-af5abd8367d6] CAn anyone please help me with why am I getting this error? Regards ~Peeyush Gupta___ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
[openstack-dev] [Heat][TripleO] Heat can't retrieve stack list
Hi all, I have been trying to set up tripleo using instack. When I try to deploy overcloud, I get a heat related error. Here it is: [stack@localhost ~]$ heat stack-list ERROR: Timeout while waiting on RPC response - topic: engine, RPC method: list_stacks info: unknown Now, heat-engine is running: [stack@localhost ~]$ ps ax | grep heat-engine 15765 pts/0 S+ 0:00 grep --color=auto heat-engine 25671 ? Ss 0:27 /usr/bin/python /usr/bin/heat-engine --logfile /var/log/heat/engine.log Here is the heat-engine log: 2014-08-04 07:57:26.321 25671 ERROR heat.engine.resource [-] CREATE : Server SwiftStorage0 [b78e4c74-f446-4941-8402-56cf46401013] Stack overcloud [9bdc71f5-ce31-4a9c-8d72-3adda0a2c66e] 2014-08-04 07:57:26.321 25671 TRACE heat.engine.resource Traceback (most recent call last): 2014-08-04 07:57:26.321 25671 TRACE heat.engine.resource File /usr/lib/python2.7/site-packages/heat/engine/resource.py, line 420, in _do_action 2014-08-04 07:57:26.321 25671 TRACE heat.engine.resource while not check(handle_data): 2014-08-04 07:57:26.321 25671 TRACE heat.engine.resource File /usr/lib/python2.7/site-packages/heat/engine/resources/server.py, line 545, in check_create_complete 2014-08-04 07:57:26.321 25671 TRACE heat.engine.resource return self._check_active(server) 2014-08-04 07:57:26.321 25671 TRACE heat.engine.resource File /usr/lib/python2.7/site-packages/heat/engine/resources/server.py, line 561, in _check_active 2014-08-04 07:57:26.321 25671 TRACE heat.engine.resource raise exc 2014-08-04 07:57:26.321 25671 TRACE heat.engine.resource Error: Creation of server overcloud-SwiftStorage0-fnl43ebtcsom failed. 2014-08-04 07:57:26.321 25671 TRACE heat.engine.resource 2014-08-04 07:57:27.152 25671 WARNING heat.common.keystoneclient [-] stack_user_domain ID not set in heat.conf falling back to using default 2014-08-04 07:57:27.494 25671 WARNING heat.common.keystoneclient [-] stack_user_domain ID not set in heat.conf falling back to using default 2014-08-04 07:57:27.998 25671 WARNING heat.common.keystoneclient [-] stack_user_domain ID not set in heat.conf falling back to using default 2014-08-04 07:57:28.312 25671 WARNING heat.common.keystoneclient [-] stack_user_domain ID not set in heat.conf falling back to using default 2014-08-04 07:57:28.799 25671 WARNING heat.common.keystoneclient [-] stack_user_domain ID not set in heat.conf falling back to using default 2014-08-04 07:57:29.452 25671 WARNING heat.common.keystoneclient [-] stack_user_domain ID not set in heat.conf falling back to using default 2014-08-04 07:57:30.106 25671 WARNING heat.common.keystoneclient [-] stack_user_domain ID not set in heat.conf falling back to using default 2014-08-04 07:57:30.516 25671 WARNING heat.common.keystoneclient [-] stack_user_domain ID not set in heat.conf falling back to using default 2014-08-04 07:57:31.499 25671 WARNING heat.engine.service [-] Stack create failed, status FAILED Any idea how to figure this error out? Thanks, Peeyush Gupta___ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
[openstack-dev] [Tripleo][Heat] Heat is not able to create swift cloud server
Hi all, I have been trying to set up tripleo using instack with RDO. Now, when deploying overcloud, the script is failing consistently with CREATE_FAILED error: + heat stack-create -f overcloud.yaml -P AdminToken=efe958561450ba61d7ef8249d29b0be1ba95dc11 -P AdminPassword=2b919f2ac7790ca1053ac58bc4621ca0967a0cba -P CinderPassword=e7d61883a573a3dffc65a5fb958c94686baac848 -P GlancePassword=cb896d6392e08241d504f3a0a2b489fc6f2612dd -P HeatPassword=7a3138ef58365bb666cb30c8377447b74e75a0ef -P NeutronPassword=4480ec8f2e004be4b06d14e1e228d882e18b3c2c -P NovaPassword=e4a34b6caeeb7dbc497fb1c557a396c422b4d103 -P NeutronPublicInterface=eth0 -P SwiftPassword=ed3761a03959e0d636b8d6fc826103734069f9dc -P SwiftHashSuffix=1a26593813bb7d6b38418db747b4243d4f1b5a56 -P NovaComputeLibvirtType=qemu -P 'GlanceLogFile='\'''\''' -P NeutronDnsmasqOptions=dhcp-option-force=26,1400 overcloud +--+++--+ | id | stack_name | stack_status | creation_time | +--+++--+ | 737ada9f-aa45-45b6-a42b-c0a496d2407e | overcloud | CREATE_IN_PROGRESS | 2014-07-21T06:02:22Z | +--+++--+ + tripleo wait_for_stack_ready 220 10 overcloud Command output matched 'CREATE_FAILED'. Exiting... Here is the heat log: 2014-07-18 06:51:11.884 30750 WARNING heat.common.keystoneclient [-] stack_user_domain ID not set in heat.conf falling back to using default 2014-07-18 06:51:12.921 30750 WARNING heat.common.keystoneclient [-] stack_user_domain ID not set in heat.conf falling back to using default 2014-07-18 06:51:16.058 30750 ERROR heat.engine.resource [-] CREATE : Server SwiftStorage0 [07e42c3d-0f1b-4bb9-b980-ffbb74ac770d] Stack overcloud [0ca028e7-682b-41ef-8af0-b2eb67bee272] 2014-07-18 06:51:16.058 30750 TRACE heat.engine.resource Traceback (most recent call last): 2014-07-18 06:51:16.058 30750 TRACE heat.engine.resource File /usr/lib/python2.7/site-packages/heat/engine/resource.py, line 420, in _do_action 2014-07-18 06:51:16.058 30750 TRACE heat.engine.resource while not check(handle_data): 2014-07-18 06:51:16.058 30750 TRACE heat.engine.resource File /usr/lib/python2.7/site-packages/heat/engine/resources/server.py, line 545, in check_create_complete 2014-07-18 06:51:16.058 30750 TRACE heat.engine.resource return self._check_active(server) 2014-07-18 06:51:16.058 30750 TRACE heat.engine.resource File /usr/lib/python2.7/site-packages/heat/engine/resources/server.py, line 561, in _check_active 2014-07-18 06:51:16.058 30750 TRACE heat.engine.resource raise exc 2014-07-18 06:51:16.058 30750 TRACE heat.engine.resource Error: Creation of server overcloud-SwiftStorage0-qdjqbif6peva failed. 2014-07-18 06:51:16.058 30750 TRACE heat.engine.resource 2014-07-18 06:51:16.255 30750 WARNING heat.common.keystoneclient [-] stack_user_domain ID not set in heat.conf falling back to using default 2014-07-18 06:51:16.939 30750 WARNING heat.common.keystoneclient [-] stack_user_domain ID not set in heat.conf falling back to using default 2014-07-18 06:51:17.368 30750 WARNING heat.common.keystoneclient [-] stack_user_domain ID not set in heat.conf falling back to using default 2014-07-18 06:51:17.638 30750 WARNING heat.common.keystoneclient [-] stack_user_domain ID not set in heat.conf falling back to using default 2014-07-18 06:51:18.158 30750 WARNING heat.common.keystoneclient [-] stack_user_domain ID not set in heat.conf falling back to using default 2014-07-18 06:51:18.613 30750 WARNING heat.common.keystoneclient [-] stack_user_domain ID not set in heat.conf falling back to using default 2014-07-18 06:51:19.113 30750 WARNING heat.common.keystoneclient [-] stack_user_domain ID not set in heat.conf falling back to using default 2014-07-18 06:51:19.765 30750 WARNING heat.common.keystoneclient [-] stack_user_domain ID not set in heat.conf falling back to using default 2014-07-18 06:51:20.247 30750 WARNING heat.engine.service [-] Stack create failed, status FAILED How can I resolve this? Thanks, Peeyush Gupta___ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
[openstack-dev] [TripleO] devtest error in netwrok
Hi all, I have been trying to set up tripleO on a ubuntu 12.04 virtual machine. Now i am following this guide: http://docs.openstack.org/developer/tripleo-incubator/devtest.html Now, when I run devtest_testenv.sh command, I get the following error: error: internal error Network is already in use by interface eth0 Any idea how to resolve this? Thanks, ~Peeyush Gupta___ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
[Openstack] [devstack] Error in running rabbit-mq server
Hi all, I am trying to setup OpenStack on Ubuntu 12.04 using devstack. Here is the error I am getting: Setting up rabbitmq-server (2.7.1-0ubuntu4) ... Starting rabbitmq-server: FAILED - check /var/log/rabbitmq/startup_{log, _err} rabbitmq-server. invoke-rc.d: initscript rabbitmq-server, action start failed. dpkg: error processing rabbitmq-server (--configure): subprocess installed post-installation script returned error exit status 1 No apport report written because MaxReports is reached already Errors were encountered while processing: rabbitmq-server E: Sub-process /usr/bin/dpkg returned an error code (1) ++ err_trap ++ local r=100 ++ set +o xtrace stack.sh failed I am able to run raabit-mq explicitly, but it's not working with script. I checked the file /var/log/rabbitmq/startup_err and it just says the rabbitmq start failed, no other information. Can you please help me resolve the issue? Thanks, ~Peeyush Gupta___ Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack Post to : openstack@lists.openstack.org Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Re: [Openstack] [devstack] Error in running rabbit-mq server
Hi, Yes, I can run it manually. It's just not working with DevStack script! Thanks, ~Peeyush Gupta On Friday, 18 April 2014 2:22 PM, trinath.soman...@freescale.com trinath.soman...@freescale.com wrote: Hi- Can you manually start/stop rabbitmq server. Check that once. -- Trinath Somanchi - B39208 trinath.soman...@freescale.com| extn: 4048 From:Peeyush Gupta [mailto:gpeey...@ymail.com] Sent: Friday, April 18, 2014 1:50 PM To: openstack@lists.openstack.org Subject: [Openstack] [devstack] Error in running rabbit-mq server Hi all, I am trying to setup OpenStack on Ubuntu 12.04 using devstack. Here is the error I am getting: Setting up rabbitmq-server (2.7.1-0ubuntu4) ... Starting rabbitmq-server: FAILED - check /var/log/rabbitmq/startup_{log, _err} rabbitmq-server. invoke-rc.d: initscript rabbitmq-server, action start failed. dpkg: error processing rabbitmq-server (--configure): subprocess installed post-installation script returned error exit status 1 No apport report written because MaxReports is reached already Errors were encountered while processing: rabbitmq-server E: Sub-process /usr/bin/dpkg returned an error code (1) ++ err_trap ++ local r=100 ++ set +o xtrace stack.sh failed I am able to run raabit-mq explicitly, but it's not working with script. I checked the file /var/log/rabbitmq/startup_err and it just says the rabbitmq start failed, no other information. Can you please help me resolve the issue? Thanks, ~Peeyush Gupta___ Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack Post to : openstack@lists.openstack.org Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Re: [Openstack] [devstack] Error in running rabbit-mq server
No, I actually tried unstack.sh only. I am gonna try with clean.sh and will get back to you. Thanks, ~Peeyush Gupta On Friday, 18 April 2014 2:54 PM, trinath.soman...@freescale.com trinath.soman...@freescale.com wrote: Have you run clean.sh in devstack ? It cleans the complete devstack environment and makes it a fresh one. -- Trinath Somanchi - B39208 trinath.soman...@freescale.com| extn: 4048 From:Peeyush Gupta [mailto:gpeey...@ymail.com] Sent: Friday, April 18, 2014 2:50 PM To: Somanchi Trinath-B39208 Subject: Re: [Openstack] [devstack] Error in running rabbit-mq server Tried it already! I even re-cloned the devstack repo. Looks like the only way now is to reinstall Ubuntu! ~Peeyush Gupta On Friday, 18 April 2014 2:35 PM, trinath.soman...@freescale.com trinath.soman...@freescale.com wrote: Can u unstack.sh and clean.sh the devstack env and again run stack.sh. This can solve the issue -- Trinath Somanchi - B39208 trinath.soman...@freescale.com | extn: 4048 From:Peeyush Gupta [mailto:gpeey...@ymail.com] Sent: Friday, April 18, 2014 2:24 PM To: Somanchi Trinath-B39208; openstack@lists.openstack.org Subject: Re: [Openstack] [devstack] Error in running rabbit-mq server Hi, Yes, I can run it manually. It's just not working with DevStack script! Thanks, ~Peeyush Gupta On Friday, 18 April 2014 2:22 PM, trinath.soman...@freescale.com trinath.soman...@freescale.com wrote: Hi- Can you manually start/stop rabbitmq server. Check that once. -- Trinath Somanchi - B39208 trinath.soman...@freescale.com | extn: 4048 From:Peeyush Gupta [mailto:gpeey...@ymail.com] Sent: Friday, April 18, 2014 1:50 PM To: openstack@lists.openstack.org Subject: [Openstack] [devstack] Error in running rabbit-mq server Hi all, I am trying to setup OpenStack on Ubuntu 12.04 using devstack. Here is the error I am getting: Setting up rabbitmq-server (2.7.1-0ubuntu4) ... Starting rabbitmq-server: FAILED - check /var/log/rabbitmq/startup_{log, _err} rabbitmq-server. invoke-rc.d: initscript rabbitmq-server, action start failed. dpkg: error processing rabbitmq-server (--configure): subprocess installed post-installation script returned error exit status 1 No apport report written because MaxReports is reached already Errors were encountered while processing: rabbitmq-server E: Sub-process /usr/bin/dpkg returned an error code (1) ++ err_trap ++ local r=100 ++ set +o xtrace stack.sh failed I am able to run raabit-mq explicitly, but it's not working with script. I checked the file /var/log/rabbitmq/startup_err and it just says the rabbitmq start failed, no other information. Can you please help me resolve the issue? Thanks, ~Peeyush Gupta___ Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack Post to : openstack@lists.openstack.org Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
[openstack-dev] [devstack] Error in running rabbit-mq server
Hi all, I am trying to setup OpenStack on Ubuntu 12.04 using devstack. Here is the error I am getting: Setting up rabbitmq-server (2.7.1-0ubuntu4) ... Starting rabbitmq-server: FAILED - check /var/log/rabbitmq/startup_{log, _err} rabbitmq-server. invoke-rc.d: initscript rabbitmq-server, action start failed. dpkg: error processing rabbitmq-server (--configure): subprocess installed post-installation script returned error exit status 1 No apport report written because MaxReports is reached already Errors were encountered while processing: rabbitmq-server E: Sub-process /usr/bin/dpkg returned an error code (1) ++ err_trap ++ local r=100 ++ set +o xtrace stack.sh failed I checked the file /var/log/rabbitmq/startup_err and it just says the rabbitmq start failed, no other information. Can you please help me resolve the issue? Thanks, ~Peeyush Gupta___ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
[openstack-dev] [Heat] heat is not present in keystone service-list
Hi all, I have been trying to install heat with devstack. As shown here http://docs.openstack.org/developer/heat/getting_started/on_devstack.html I added the IMAGE_URLS to the locarc file. Then I ran unstack.sh and then stack.sh. Now, when I run heat stack-list, I get the following error: $ heat stack-list publicURL endpoint for orchestration not found I found that some people got this error because of wrong endpoint in keystone service-list, but in my output there is no heat! $ keystone service-list +--+--+---+---+ | id | name | type | description | +--+--+---+---+ | 808b93d2008c48f69d42ae7555c27b6f | cinder | volume | Cinder Volume Service | | f57c596db43443d7975d890d9f0f4941 | cinderv2 | volumev2 | Cinder Volume Service V2 | | d8567205287a4072a489a89959801629 | ec2 | ec2 | EC2 Compatibility Layer | | 9064dc9d626045179887186d0b3647d0 | glance | image | Glance Image Service | | 70cf29f8ceed48d0a39ba7e29481636d | keystone | identity | Keystone Identity Service | | b6cca1393f814637bbb8f95f658ff70a | nova | compute | Nova Compute Service | | 0af6de1208a14d259006f86000d33f0d | novav3 | computev3 | Nova Compute Service V3 | | b170b6b212ae4843b3a6987c546bc640 | s3 | s3 | S3 | +--+--+---+---+ Please help me resolve this error. Thanks, ~Peeyush Gupta___ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
[Openstack] Unable to connect to AMQP server
Hi all, I have installed openstack using RDO on fedora 19. Now, the system was unused for a few days. When i opened it today, the setup is not working. I mean I can access nova, glance, keystone etc. but I cant launch the instance. Whenever I tried to boot a VM, it gets stuck at build stage. So, I decided to restart nova-compute and scheduler processes (Has worked for me in past) and here is the output I am getting: 2014-03-27 14:48:44.355 ERROR nova.openstack.common.rpc.impl_qpid [req-2d415e36-dd79-4971-838d-5f1b4e32e64c None None] Unable to connect to AMQP server: [Errno 111] ECONNREFUSED. Sleeping 1 seconds 2014-03-27 14:48:45.372 ERROR nova.openstack.common.rpc.impl_qpid [req-2d415e36-dd79-4971-838d-5f1b4e32e64c None None] Unable to connect to AMQP server: [Errno 111] ECONNREFUSED. Sleeping 2 seconds 2014-03-27 14:48:47.376 ERROR nova.openstack.common.rpc.impl_qpid [req-2d415e36-dd79-4971-838d-5f1b4e32e64c None None] Unable to connect to AMQP server: [Errno 111] ECONNREFUSED. Sleeping 4 seconds Both the processes are giving the same error. Can you please help me solve the error? Plus, the machine might have been rebooted, if that info is useful. Thanks, ~Peeyush Gupta___ Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack Post to : openstack@lists.openstack.org Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
[openstack-dev] Working with Vagrant and packstack
Hi all, I have been trying to set up an openstack environment using vagrant and packstack. I provisioned a Fedora-19 VM through vagrant and used a shell script to take care of installation and other things. The first thing that shell script does is yum install -y openstack-packstack and then packstack --allinone. Now, the issue is that the second command requires me to enter the root's password explicitly. I mean it doesn't matter if I am running this as root or using sudo, I have to enter the password explicitly everytime. I tried to pass the password to the VM through pipes and other methods, but nothing works. Did anyone face the same problem? Is there any way around this? Or does it mean that I can't use puppet/packstack with vagrant? Thanks, ~Peeyush Gupta___ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
[openstack-dev] Error during puppet run
Hi all, I have been trying to install openstack using packstack on Fedora 19. Now, when I run packstack --allinone, I get the following error: ERROR : Error during puppet run : Error: mysqladmin -u root password 'b6ca73d0f2ce' returned 1 instead of one of [0] Can anyone help me to figure out why am I facing this issue? Thanks, ~Peeyush Gupta___ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] Error during puppet run
Hi Craig, Thanks for your answer. I removed everything and it eventually (after removing several errors!) worked. But I am stuck at one point. Now, the error says: ERROR : Error during puppet run : Error: Could not start Service[httpd]: Execution of '/sbin/service httpd start' returned 1: Any idea about this? Thanks, ~Peeyush Gupta From: Craig E. Ward cw...@isi.edu To: Peeyush Gupta gpeey...@ymail.com; OpenStack Development Mailing List openstack-dev@lists.openstack.org Sent: Thursday, 19 September 2013 9:18 PM Subject: Re: [openstack-dev] Error during puppet run The mysqladmin command returned an error status. It could be that your mysql root password is different from the one used by packstack, which passes it down to puppet. You could run the command in an interactive shell and see what error message gets produced. If the system already had mysql installed, the root account password likely was already set. If you don't need that installation, uninstall mysql, remove its directories, and let packstack install it again. The command that failed probably was issued because packstack/puppet assumed a fresh install and tried to set the root password to something other than null. (A good thing to do with a fresh install of mysql.) If you need any of the databases already in mysql, then you'll need to find a way to tell packstack to not have puppet do the install. I've only performed some simple experimental installations using packstack; I don't know how to tell it not to install mysql. Craig On 9/18/13 11:44 PM, Peeyush Gupta wrote: Hi all, I have been trying to install openstack using packstack on Fedora 19. Now, when I run packstack --allinone, I get the following error: ERROR : Error during puppet run : Error: mysqladmin -u root password 'b6ca73d0f2ce' returned 1 instead of one of [0] Can anyone help me to figure out why am I facing this issue? Thanks, ~Peeyush Gupta ___ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev -- Craig E. Ward University of Southern California Information Sciences Institute cw...@isi.edu___ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
[openstack-dev] Doubt regarding Resource Tracker
Hi, I have been trying to understand the working of resource tracker. I understand that it is responsible to retrieve the data from the host and save it to the database. What I am not able to figure out is how exactly the compute node table is populated for the first time? Because after that resource tracker compare the data and update the changes. Again, does resource tracker work periodically? or is it triggered when an instance is spawned or deleted? Thanks. ~Peeyush Gupta___ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
[openstack-dev] Conductor API has no attribute xxxxxx
Hi all, I have been trying to add a new table to the database. Now, I have created the table and I am going through conductor API to populate/update it. I have defined some function to achieve the task. There function are defined in conductor and db api, along with in conductor.manage and db.sqlalchemy.api. When I try to run the system it says AttributeError: 'ConductorAPI' object has no attribute 'xx' while the function is properly defined in Conductor API as well as manager and db.API. I back traced the flow of the code and it looks like the code reaches till conductor.api. The function at the conductor API is defined as: #In class LocalAPI def xx(self, context, node_id, values): return self._manager.xx(context, node_id, values) Now, after this it gives the error. Though the function is present in conductor.manager. Please help me find out why am I getting this error. Thanks ~Peeyush Gupta___ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] Conductor API has no attribute xxxxxx
Hi Dan, Yeah, I figured that out. I was already using objects, but I didn't add the interface to the conductor.rpcapi. It's working fine now. Thanks. ~Peeyush Gupta From: Dan Smith d...@danplanet.com To: Peeyush Gupta gpeey...@ymail.com; OpenStack Development Mailing List openstack-dev@lists.openstack.org Sent: Tuesday, 10 September 2013 5:29 PM Subject: Re: [openstack-dev] Conductor API has no attribute xx I have been trying to add a new table to the database. Just FYI, new database interfaces should be added using objects, which are automatically remotable. New conductor interfaces should not be added to make database queries. #In class LocalAPI def xx(self, context, node_id, values): return self._manager.xx(context, node_id, values) Is this on top of master? Adding to api - rpcapi - manager should do the trick. It would be helpful to know what you're trying to build this on top of, as well as a little more detail about what you've added. --Dan___ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
[openstack-dev] Host capabilities are not getting updated
Hi, I have been trying to use some additional capabilities in host. As shown in the following link: http://russellbryantnet.wordpress.com/2013/05/21/availability-zones-and-host-aggregates-in-openstack-compute-nova/ I created a flavor and an aggregate. But when I try to boot the instance using the flavor, it results in error because ComputeCapabilitiesFilter returns 0 hosts. I investigated further and found that the host's capabilities werent being updated. How can I rectify this? ~Peeyush Gupta___ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
[Openstack] Host capabilities are not getting updated.
Hi, I have been trying to use some additional capabilities in host. As shown in the following link: http://russellbryantnet.wordpress.com/2013/05/21/availability-zones-and-host-aggregates-in-openstack-compute-nova/ I created a flavor and an aggregate. But when I try to boot the instance using the flavor, it results in error because ComputeCapabilitiesFilter returns 0 hosts. I investigated further and found that the host's capabilities werent being updated. How can I rectify this? ~Peeyush Gupta___ Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack Post to : openstack@lists.openstack.org Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
[Openstack] Doubt regarding json filter
Hi, I have been trying to use json filter. In the documentation, it says that I can make my filter using json hints. JSON filter has its own pre-defined variables like $free_ram_mb, $free_disk_mb etc. I was wondering if it is possible to define other variables, so that I can define a filter suiting my needs? If yes, then where should the new variables be defined? Thanks ~Peeyush Gupta___ Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack Post to : openstack@lists.openstack.org Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
[Openstack] How do I access filter properties from libvirt driver?
Hi, I have been trying to access an instance's filter properties through libvirt driver. I understand that the instance info received by libvirt doesn't contain filter properties. Is there any API for this? How can libvirt driver access the filter properties? Thanks. ~Peeyush Gupta___ Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack Post to : openstack@lists.openstack.org Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
[Openstack] DB access not allowed for libvirt driver?
Hi all, I am trying to access nova.db from nova.virt.libvirt.driver for some experiment purposes. When I tried that, I got an error saying DB not allowed: nova compute. Why am I getting this? Is libvirt driver not allowed to talk to db? Thanks. ~Peeyush Gupta___ Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack Post to : openstack@lists.openstack.org Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
[Openstack] How to use AggregateCoreFilter?
Hi, I am trying to use AggregateCoreFilter. I understand that first I have to add it to the nova.conf file. After adding it is functioning. But what I am not able to understand is that how to use it with aggregates. The description says: AggregateCoreFilter supports per-aggregate cpu_allocation_ratio. Now, I have created an aggregate and I want to use cpu_allocatio_ratio =some_value on the hosts of this aggregates. How can I do that? How do I make it work on the hosts of a particular aggregate? Thanks. ~Peeyush Gupta___ Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack Post to : openstack@lists.openstack.org Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
[Openstack] Can a aggregate have more than one availability zone?
Hi all, I have been trying to create an aggregate. Now, I understand I can do this using nova create-aggregate and I can provide availability zone with this command. There is an aggregate-update command that changes the availability zone. I want to have more than one availability zone for my aggregate. Is it possible? Thanks. ~Peeyush Gupta___ Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack Post to : openstack@lists.openstack.org Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack