[openstack-dev] [Ironic] Getting reply back from external DHCP server.

2015-01-13 Thread Peeyush Gupta
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?

2014-12-09 Thread Peeyush Gupta
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?

2014-12-08 Thread Peeyush Gupta
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


Re: [openstack-dev] [Ironic] Proposing new meeting times

2014-11-17 Thread Peeyush Gupta
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

2014-11-16 Thread Peeyush Gupta
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

2014-11-13 Thread Peeyush Gupta
+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


[openstack-dev] [Devstack][Ironic] Is devstack gate broken?

2014-09-27 Thread Peeyush Gupta

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?

2014-09-27 Thread Peeyush Gupta


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-dev] [Ironic] Error in deploying ironicon Ubuntu 12.04

2014-09-16 Thread Peeyush Gupta

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

2014-09-15 Thread Peeyush Gupta

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

2014-08-20 Thread Peeyush Gupta
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

2014-08-04 Thread Peeyush Gupta
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

2014-07-21 Thread Peeyush Gupta
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

2014-07-15 Thread Peeyush Gupta
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-dev] [devstack] Error in running rabbit-mq server

2014-04-17 Thread Peeyush Gupta
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

2014-04-08 Thread Peeyush Gupta
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-dev] Working with Vagrant and packstack

2013-11-29 Thread Peeyush Gupta
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

2013-09-19 Thread Peeyush Gupta
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

2013-09-19 Thread Peeyush Gupta
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

2013-09-11 Thread Peeyush Gupta
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

2013-09-10 Thread Peeyush Gupta
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

2013-09-10 Thread Peeyush Gupta
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

2013-08-21 Thread Peeyush Gupta
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