[Bug 1000710] Re: Attaching volume during instance boot doesn't work

2013-03-18 Thread Davanum Srinivas (DIMS)
** Changed in: nova
   Status: Incomplete => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to nova in Ubuntu.
https://bugs.launchpad.net/bugs/1000710

Title:
  Attaching volume during instance boot doesn't work

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1000710/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1000710] Re: Attaching volume during instance boot doesn't work

2013-03-17 Thread Davanum Srinivas (DIMS)
This bug lacks the necessary information to effectively reproduce and
fix it, therefore it has been closed. Feel free to reopen the bug by
providing the requested information and set the bug status back to
''New''.

** Changed in: nova (Ubuntu)
   Status: Triaged => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to nova in Ubuntu.
https://bugs.launchpad.net/bugs/1000710

Title:
  Attaching volume during instance boot doesn't work

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1000710/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1000710] Re: Attaching volume during instance boot doesn't work

2012-12-13 Thread Thierry Carrez
We cannot solve the issue you reported without more information. Could
you please provide the requested information ?

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to nova in Ubuntu.
https://bugs.launchpad.net/bugs/1000710

Title:
  Attaching volume during instance boot doesn't work

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1000710/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1000710] Re: Attaching volume during instance boot doesn't work

2012-11-15 Thread Michael Still
What release was this canonistack region running at the time the problem
was seen?

** Changed in: nova
   Status: New => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to nova in Ubuntu.
https://bugs.launchpad.net/bugs/1000710

Title:
  Attaching volume during instance boot doesn't work

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1000710/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1000710] Re: Attaching volume during instance boot doesn't work

2012-11-15 Thread Chuck Short
** Also affects: nova
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to nova in Ubuntu.
https://bugs.launchpad.net/bugs/1000710

Title:
  Attaching volume during instance boot doesn't work

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1000710/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1000710] Re: Attaching volume during instance boot doesn't work

2012-08-08 Thread Chuck Short
So you tried to attacht the volume while its being created?

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to nova in Ubuntu.
https://bugs.launchpad.net/bugs/1000710

Title:
  Attaching volume during instance boot doesn't work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nova/+bug/1000710/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1000710] Re: Attaching volume during instance boot doesn't work

2012-05-18 Thread Nick Moffitt
Our current hypothesis for how this situation happened in the first
place is that because nova-api returns success early, it's possible to
run the attach before the volume has actually been successfully created.

It looks like the attach needs to block internally to wait for the
volume creation to succeed before it can proceed with action.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to nova in Ubuntu.
https://bugs.launchpad.net/bugs/1000710

Title:
  Attaching volume during instance boot doesn't work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nova/+bug/1000710/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1000710] Re: Attaching volume during instance boot doesn't work

2012-05-17 Thread Scott Moser
OK.
so, re-reading the above, and conversing with Martin.
things of note:
 * after first boot, the volume showed as 'in-use', but the disk was not 
attached to the instance.
 * after re-boot, the volume showed as 'available' again.  Basically, the 
volume got stuck in 'in-use' when it really wasnt.

I suspect that what happened was this:
 * initial attach failed badly, leaving 'in-use'
 * the reboot (or possibly a timeout) kicked nova to re-evaluate the situation, 
and it recognized that the volume was not in-use.

So, i think the real issue is likely that the volume just got marked as
in use, even though the libvirt (or something else) actually failed, and
then it took something (timeout or reboot) to get back to sane state.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to nova in Ubuntu.
https://bugs.launchpad.net/bugs/1000710

Title:
  Attaching volume during instance boot doesn't work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nova/+bug/1000710/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1000710] Re: Attaching volume during instance boot doesn't work

2012-05-17 Thread Scott Moser
I'm currently not able to reproduce this, with something like the
following:

ami=ami-00bf
zone=nova
size=2
instsize=m1.medium
key=mykey

isready() { local s=$(euca-describe-instances "$1" | awk '$2 == i {
print $6 }' "i=$1" ); echo $s 1>&2; [ "$s" = "running" ]; }

out=$(euca-create-volume -z $zone -s $size)
vol=$(echo "$out" | awk '$1 = "VOLUME" { print $2 }')
sleep 5; # to let it get to available

out=$(euca-run-instances "--key=$key" "--instance-type=$instsize" $ami)
inst=$(echo "$out" | awk '-F\t' '$1 == "INSTANCE" { print $2 }')
while ! isready $inst; do echo -n .; sleep 1; done; euca-attach-volume $vol 
--instance=$inst --device=/dev/vdz

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to nova in Ubuntu.
https://bugs.launchpad.net/bugs/1000710

Title:
  Attaching volume during instance boot doesn't work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nova/+bug/1000710/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1000710] Re: Attaching volume during instance boot doesn't work

2012-05-17 Thread Scott Moser
I've attached dmesg output from first boot and second boot that Martin provided 
me with.
Some things to note:
 * instance was 12.04 ubuntu-precise-12.04-amd64-server-20120424
 * both first boot and reboot took 90 seconds to get to the acpi messages. 
These messages come as a result of 'module-init-tools.conf' upstart job reading 
/etc/modules which includes 'acpiphp'.  In my boot just now (and even 
subsequent reboot) that occurs more around 3 seconds of uptime.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to nova in Ubuntu.
https://bugs.launchpad.net/bugs/1000710

Title:
  Attaching volume during instance boot doesn't work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nova/+bug/1000710/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1000710] Re: Attaching volume during instance boot doesn't work

2012-05-17 Thread Scott Moser
** Attachment added: "reboot dmesg"
   
https://bugs.launchpad.net/ubuntu/+source/nova/+bug/1000710/+attachment/3150603/+files/nova-medium-dmesg-reboot.log

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to nova in Ubuntu.
https://bugs.launchpad.net/bugs/1000710

Title:
  Attaching volume during instance boot doesn't work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nova/+bug/1000710/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1000710] Re: Attaching volume during instance boot doesn't work

2012-05-17 Thread Scott Moser
** Attachment added: "first boot dmesg"
   
https://bugs.launchpad.net/ubuntu/+source/nova/+bug/1000710/+attachment/3150591/+files/nova-medium-dmesg.log

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to nova in Ubuntu.
https://bugs.launchpad.net/bugs/1000710

Title:
  Attaching volume during instance boot doesn't work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nova/+bug/1000710/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1000710] Re: Attaching volume during instance boot doesn't work

2012-05-17 Thread Martin Packman
** Description changed:

  Using the newly enabled volume support on canonistack, it arrived at a
  state where the volume believed it was in-use by the instance, but the
  instance had not registered it. The volume then refused to be detached
  from the instance, the command succeeded but no change occurred.
  
  The sequence of events was:
- * Start instance
+ * Start instance (using ubuntu-precise-12.04-i386-server-20120424 image)
  * Create volume
- * Wait till instance was listed as ACTIVE
+ * Wait till instance was listed as ACTIVE (volume was also available at this 
point)
  * Attach volume
  * SSH to instance... fails, instance not yet booted enough
- * Wait more
+ * Wait more (took quite a long time)
  * SSH to instance
  * dmesg contains nothing about volume
  
  The suggestion is the attach happened to soon in the boot process.
  
  To recover, did:
  * Reboot instance
  * Wait till instance is listed as ACTIVE and can SSH to it
  * Volume is now back to being available
  * Attach volume
  * dmesg contains information about the new volume

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to nova in Ubuntu.
https://bugs.launchpad.net/bugs/1000710

Title:
  Attaching volume during instance boot doesn't work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nova/+bug/1000710/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1000710] Re: Attaching volume during instance boot doesn't work

2012-05-17 Thread Scott Moser
I'm confused because
a.) dmesg on the first boot did not have anything in it
b.) reboot (without re-attach) showed the drive.

Those two items in the bug report just seem strange.

** Changed in: nova (Ubuntu)
   Importance: Undecided => Medium

** Changed in: nova (Ubuntu)
   Status: New => Triaged

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to nova in Ubuntu.
https://bugs.launchpad.net/bugs/1000710

Title:
  Attaching volume during instance boot doesn't work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nova/+bug/1000710/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs