[Bug 1555902] [NEW] Azure: Precise should use the same instance ID detection as Trusty

2016-03-10 Thread Stephen A. Zarkos
Public bug reported:

The Azure datasource on Trusty utilizes the system-uuid from SMBIOS as a
unique VM ID to identify the instance.  Precise still uses the older
method of obtaining the Instance ID via the wire server, which is not
stable in CRP.  Precise should move to use the same instance ID
detection logic as Trusty.

Related Bugs:
https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1506187
https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1551419

** Affects: cloud-init (Ubuntu)
 Importance: Undecided
 Status: New

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

Title:
  Azure: Precise should use the same instance ID detection as Trusty

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1555902/+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 1551419] Re: Fix UUID endianness patch breaks cloud-init on Azure

2016-03-02 Thread Stephen A. Zarkos
It seems the Utopic kernel is impacted as well, I tested
3.16.0-62-generic released on 2/27.  I thought that kernel was EOL.  Can
we revert the fix here as well?

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

Title:
  Fix UUID endianness patch breaks cloud-init on Azure

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1551419/+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 1551419] Re: Fix UUID endianness patch breaks cloud-init on Azure

2016-03-01 Thread Stephen A. Zarkos
Hi Dan,

This issue does not repro with the latest Wily kernel, but it should,
right?  Can you help me understand why?

This is just testing on Hyper-V:

# uname -r
4.2.0-30-generic
# cat /sys/class/dmi/id/product_uuid && dmidecode -s system-uuid
EF6EED16-EAD5-BC4C-AD75-550370C212EE
EF6EED16-EAD5-BC4C-AD75-550370C212EE

# uname -r
3.19.0-51-generic
# cat /sys/class/dmi/id/product_uuid && dmidecode -s system-uuid
16ED6EEF-D5EA-4CBC-AD75-550370C212EE
EF6EED16-EAD5-BC4C-AD75-550370C212EE

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

Title:
  Fix UUID endianness patch breaks cloud-init on Azure

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1551419/+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 1544764] [NEW] ephemeral-disk-warning.conf should run ephemeral-disk-warning.sh

2016-02-11 Thread Stephen A. Zarkos
Public bug reported:

Hi Ben,

On the latest Trusty package it appears that the upstart file
"ephemeral-disk-warning.conf" still contains and older version of this
script that detects the ephemeral disk by grepping for "sdb1".  It
should instead run ephemeral-disk-warning.sh like what the systemd
service does.

Also, I'm not sure there is a strong need to "chattr +i" this file since
it will be recreated at boot time if needed (the Linux agent doesn't
chattr this file).  What's happening now is customers are finding this
"DATALOSS_WARNING_README.txt" file on partitions other than /mnt
(because "sdb1" as the resource disk is not persistent) and then don't
understand why they cannot delete it :)

Thanks!
Steve

** Affects: walinuxagent (Ubuntu)
 Importance: Undecided
 Status: New

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

Title:
  ephemeral-disk-warning.conf should run ephemeral-disk-warning.sh

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/walinuxagent/+bug/1544764/+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 1506187] Re: [SRU] Azure: cloud-init should use VM unique ID

2015-11-23 Thread Stephen A. Zarkos
I tested cloud-init 0.7.5-0ubuntu1.15 from -proposed for Trusty on Azure
and confirmed that the new package resolves the issue.

The upgrade path is also working as expected.  I first created an Ubuntu
14.04 VM using ARM.  After shutting down the VM via the Azure portal
(portal.azure.com) and then restarting it I saw that the Instance ID
changed (you can see this in /var/log/waagent.log).  However, the
symlink in /var/lib/cloud/instances/ that links the old Instance ID to
the VM unique ID had been created, and so cloud-init did not attempt to
reprovision the VM.

Thanks!
Steve

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

Title:
  [SRU] Azure: cloud-init should use VM unique ID

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1506187/+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 1506187] Re: Azure: cloud-init should use VM unique ID

2015-10-15 Thread Stephen A. Zarkos
Yes, this is supported in all prod environments.  You can remove the
dependency on InstanceID.

Thanks!
Steve

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

Title:
  Azure: cloud-init should use VM unique ID

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1506187/+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 1506187] [NEW] Azure: cloud-init should use VM unique ID

2015-10-14 Thread Stephen A. Zarkos
Public bug reported:

The Azure datasource currently uses the InstanceID from the
SharedConfig.xml file.  On our new CRP stack, this ID is not guaranteed
to be stable and could change if the VM is deallocated.  If the
InstanceID changes then cloud-init will attempt to reprovision the VM,
which could result in temporary loss of access to the VM.

Instead cloud-init should switch to use the VM Unique ID, which is
guaranteed to be stable everywhere for the lifetime of the VM.  The VM
unique ID is explained here: https://azure.microsoft.com/en-us/blog
/accessing-and-using-azure-vm-unique-id/

In short, the unique ID is available via DMI, and can be accessed with
the command 'dmidecode | grep UUID' or even easier via sysfs in the file
"/sys/devices/virtual/dmi/id/product_uuid".

Steve

** Affects: cloud-init (Ubuntu)
 Importance: Undecided
 Status: New

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

Title:
  Azure: cloud-init should use VM unique ID

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1506187/+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 1498179] [NEW] Azure: After changing hostname, old hostname is still published to DHCP after reboot

2015-09-21 Thread Stephen A. Zarkos
Public bug reported:

Tested with latest Ubuntu 14.04 image on Azure (20150908).

In Azure, the DHCP client on Ubuntu VMs is configured to push the
current hostname to the DHCP server, which then publishes the hostname
into Azure DNS.  However, after changing the hostname and rebooting, the
old hostname is always pushed to Azure DNS instead of the new one.

Repro steps:

  - Create Ubuntu 14.04 VM on Azure
  - Edit /etc/hostname to change the hostname
  - Reboot the VM
  - After reboot, the hostname will be changed, but commands like 'hostname -f' 
and 'sudo' will complain that the new hostname cannot be found via a DNS lookup.

Next, bounce DHCP to force the DNS update and check that the new
hostname has been published:

  - Run "sudo ifdown eth0 && sudo ifup eth0"
  - After a few seconds run: "host NEWHOSTNAME".

DNS lookup to the new hostname should succeed now indicating that the
new hostname was pushed to the DHCP server and into Azure DNS.  Commands
like 'hostname -f' and 'sudo' will work now.

However, after rebooting the OLD hostname will again be published to
DNS:

  - Run 'sudo reboot'
  - After logging in, run "host OLDHOSTNAME" and see that the old hostname is 
again published to DNS.  Commands like "hostname -f" and "host NEWHOSTNAME" 
will again fail.

** Affects: cloud-init (Ubuntu)
 Importance: Undecided
 Status: New

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

Title:
  Azure: After changing hostname, old hostname is still published to
  DHCP after reboot

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1498179/+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 1490796] Re: [SRU] cloud-init must check/format Azure ephemeral disks each boot

2015-09-03 Thread Stephen A. Zarkos
Tested cloud-init/0.7.5-0ubuntu1.10 and it resolves the issue for me.

** Tags removed: verification-needed
** Tags added: verification-done

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

Title:
  [SRU] cloud-init must check/format Azure ephemeral disks each boot

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1490796/+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 1490796] [NEW] cloud-init must check/format Azure empheral disks each boot

2015-08-31 Thread Stephen A. Zarkos
Public bug reported:

Ubuntu 14.04.3 (20150805) on Azure with cloud-init package
0.7.5-0ubuntu1.8.

On Azure cloud-init prepares the ephemeral device as ext4 for the first
boot.  However, if the VM is ever moved to another Host for any reason,
then a new ephemeral disk might be provided to the VM.  This ephemeral
disk is NTFS formatted, so for subsequent reboots cloud-init must detect
and reformat the new disk as ext4.  However, with cloud-init
0.7.5-0ubuntu1.8 subsequent boots may result in fuse mounted NTFS file
system.

This issue occurred in earlier versions of cloud-init, but was fixed
with bug 1292648 (https://bugs.launchpad.net/ubuntu/+source/cloud-
init/+bug/1292648).  So this appears to be a regression.

Repro:
  - Create an Ubuntu 14.04.3 VM on Azure
  - Resize the VM to a larger size (this typically moves the VM)
  - Log in and run 'blkid' to show an ntfs formatted ephemeral disk:

# blkid
/dev/sdb1: LABEL="Temporary Storage" UUID="A43C43DD3C43A95E" TYPE="ntfs"


Expected results:
  - After resizing the ephemeral disk should be formatted as ext4.

** Affects: cloud-init (Ubuntu)
 Importance: Undecided
 Status: New

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

Title:
  cloud-init must check/format Azure empheral disks each boot

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1490796/+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 1458052] Re: [SRU] Azure Datasource writes user password in plain text

2015-07-20 Thread Stephen A. Zarkos
Ben, is it possible to SRU this fix back to Precise as well?  At least
on Azure we still have plenty of folks that use and love this version.

Thanks,
Steve

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

Title:
  [SRU] Azure Datasource writes user password in plain text

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1458052/+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 1374166] Re: Document how to add swap space on Azure resource disk

2015-01-19 Thread Stephen A. Zarkos
Hi Daniel,

Thanks for doing this, looks great so far!  I do have a couple
recommendations:

In case customers are not familiar with the term Custom Data or how to use 
it, I would recommend linking to our documentation:
http://azure.microsoft.com/en-us/documentation/articles/virtual-machines-how-to-inject-custom-data/
http://azure.microsoft.com/blog/2014/04/21/custom-data-and-cloud-init-on-windows-azure/

While passing a cloud-config via CustomData will work great during the
initial setup and provisioning of the machine, is there a workflow that
could allow a customer to configure a local cloud-config to configure
swap space post-provisioning?  This is feasible for those distributions
that just use the Azure Linux agent, so preferably there is a way to do
this on Ubuntu as well.

Thanks!
Steve

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

Title:
  Document how to add swap space on Azure resource disk

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1374166/+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 1411582] Re: Azure data source should auto-detect ephemeral disk location

2015-01-16 Thread Stephen A. Zarkos
This looks like the correct problem statement - the SCSI layer schedules
these tasks and so subtle timings could cause disk names to change.
This is also we recommend UUIDs or labels or similar to be used in
fstab.

The logic for DeviceForIdePort() is based on the fact that our vmbus
driver at least knows the order of the disks (IDE or SCSI) that are
attached on the Host side.  And on Azure, the first IDE disk is always
the OS disk, and the second is always the ephemeral disk.  That is known
and must be the case for all VMs.

So in the agent, DeviceForIdePort()[0] always returns the OS disk, and
DeviceForIdePort()[1] always returns the ephemeral disk.  Ideally cloud-
init should use a similar method to auto-detect the ephemeral disk and
update fstab if needed.

Thanks!

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

Title:
  Azure data source should auto-detect ephemeral disk location

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1411582/+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 1374115] Re: Allow cloud-config to modify partitioning and mount point of temporary resource disk in Azure

2015-01-16 Thread Stephen A. Zarkos
That's what I meant, on Ubuntu images the ResourceDisk.Format should be
n because cloud-init handles this.  We do not want the Linux agent and
cloud-init fighting over formatting or reformatting, and then mounting
the resource disk.

You're right, perhaps these parameters should not exist in the cloud
images.  That would be a simple patch to the walinuxagent package unless
cloud-init wants to start using those parameters at some point.

Thanks.

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

Title:
  Allow cloud-config to modify partitioning and mount point of temporary
  resource disk in Azure

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1374115/+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 1410835] Re: Azure ephemeral disk and custom mount points

2015-01-14 Thread Stephen A. Zarkos
+1 :)

The [ sdb, mount point ] syntax is a bug as well.  Device names are
not persistent in Linux and could change, so it is not guaranteed that
the ephemeral disk will be called /dev/sdb.  Ideally this should be
auto-detected in cloud-init at runtime (for example, see
DeviceForIdePort() in the Azure Linux agent).

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

Title:
  Azure ephemeral disk and custom mount points

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1410835/+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 1374115] Re: Allow cloud-config to modify partitioning and mount point of temporary resource disk in Azure

2015-01-14 Thread Stephen A. Zarkos
No, the mount location cannot be modified on Ubuntu via the
waagent.conf, that is the issue.  I would like a way to modify the mount
point post-provisioning.

The only way to change the mount point on Azure is to use CustomData
(like user data on other clouds) to send a cloud-config to modify the
mount point at provision time.   This is on par with with other cloud
providers - the ephemeral disk can be repartitioned and/or mounted at a
different location at provisioning time.

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

Title:
  Allow cloud-config to modify partitioning and mount point of temporary
  resource disk in Azure

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1374115/+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 1382257] Re: [SRU] Add readme to Azure's ephemeral (resource) disk

2014-11-12 Thread Stephen A. Zarkos
We tested this package using the [TEST] steps above and can confirm that
the readme is created as expected.  As an additional step I also resized
the VM to ensure that the temporary disk would need to be reformatted,
and saw in this case that the readme was also created as expected.  Well
done!

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

Title:
  [SRU] Add readme to Azure's ephemeral (resource) disk

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/walinuxagent/+bug/1382257/+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 1382257] [NEW] Add readme to Azure's ephemeral (resource) disk

2014-10-16 Thread Stephen A. Zarkos
Public bug reported:

When the Azure Linux agent handles the resource disk it adds a file on
the newly formatted partition called DATALOSS_WARNING_README.txt.  The
purpose of this file is to warn customers that the disk is temporary and
may be wiped if the VM is rebooted or moved to another host.

Since cloud-init handles the resource disk for Ubuntu VMs in Azure, can
we have cloud-init add this file as well when it formats the
resource/ephemeral disk?

In the Linux agent we have to following code to define this file:

-
README_FILENAME=DATALOSS_WARNING_README.txt
README_FILECONTENT=\
WARNING: THIS IS A TEMPORARY DISK.
Any data stored on this drive is SUBJECT TO LOSS and THERE IS NO WAY TO RECOVER 
IT.
Please do not use this disk for storing any personal or application data.
For additional details to please refer to the MSDN documentation at : 
http://msdn.microsoft.com/en-us/library/windowsazure/jj672979.aspx

-

** Affects: cloud-init (Ubuntu)
 Importance: Undecided
 Status: New

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

Title:
  Add readme to Azure's ephemeral (resource) disk

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1382257/+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 1374166] Re: Document how to add swap space on Azure resource disk

2014-10-02 Thread Stephen A. Zarkos
** Summary changed:

- Document ow to add swap space on Azure resource disk
+ Document how to add swap space on Azure resource disk

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

Title:
  Document how to add swap space on Azure resource disk

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1374166/+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 1374115] [NEW] Allow cloud-config to modify partitioning and mount point of temporary resource disk in Azure

2014-09-25 Thread Stephen A. Zarkos
Public bug reported:

Users would like to use a local cloud-config to modify how the
resource/ephemeral disk is partitioned and where it is mounted on Azure
VMs.  Currently it seems this is only customizable via a configuration
sent via CustomData (user data).

If I understand correctly, the Azure data source overrides the local
cloud config for how this disk is set up.  Users would like to be able
to use a local cloud-config to override what's defined in the data
source.

** Affects: cloud-init (Ubuntu)
 Importance: Undecided
 Status: New

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

Title:
  Allow cloud-config to modify partitioning and mount point of temporary
  resource disk in Azure

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1374115/+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 1374166] [NEW] Document ow to add swap space on Azure resource disk

2014-09-25 Thread Stephen A. Zarkos
Public bug reported:

The process for creating a swap partition on Ubuntu VMs on Azure is not
well understood or documented.  Most of the documentation on Azure
generally refers to using the walinuxagent to manage the swap space on
the resource disk (ephemeral disk).  However, Ubuntu VMs use cloud-init
for managing the resource disk.

There may also be two workflows to document as the customer may need to
add swap space during provisioning by using CustomData, or after
provisioning (I presume using a local cloud-config).

** Affects: cloud-init (Ubuntu)
 Importance: Undecided
 Status: New

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

Title:
  Document ow to add swap space on Azure resource disk

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1374166/+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 1360471] Re: update walinuxagent to 2.0.7

2014-08-25 Thread Stephen A. Zarkos
Hello,

Our Linux agent team found a bug while testing a VM extension and has
tagged a new release, v2.0.8.  Please package this version instead.

The relevant change in v2.0.8 is the following and should be applied to all:
https://github.com/Azure/WALinuxAgent/commit/cbcd69b70876dbcc3db2a9b8c041b1bca10cf186

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

Title:
  update walinuxagent to 2.0.7

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/walinuxagent/+bug/1360471/+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 1321427] Re: [SRU] Update walinuxagent package for Precise to v2.0.5

2014-06-11 Thread Stephen A. Zarkos
We have run our network, VNET, BVT and E2E tests using the walinuxagent
2.0.5 package for Ubuntu 12.04 and found no issues.


Cloud Test Update:

* Network Tests : Completed. 
[41 PASS, 1 XFAIL]
Expected Failed Tests : 
1.  NETWORK-IDNS-SINGLEHS-CHANGED-HOSTNAME
Reason : After changing the hostname of another VM in same hosted service, we 
are unable to resolve new hostname with nslookup.  This is expected behavior on 
Ubuntu systems as they set 'Provisioning.MonitorHostName=n' in 
/etc/waagent.conf.


* VNET Tests : Completed
[15 PASS, 0 FAIL]
No issues.


* BVT Tests : Completed 


* E2E Tests : Completed

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

Title:
  [SRU] Update walinuxagent package for Precise to v2.0.5

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/walinuxagent/+bug/1321427/+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 1321427] [NEW] Update walinuxagent package for Precise to v2.0.5

2014-05-20 Thread Stephen A. Zarkos
Public bug reported:

This is a request from Microsoft to please update the walinuxagent
package for Ubuntu 12.04 from v1.3.2 to the latest WALinuxAgent 2.0.5.

The Microsoft team has implemented new features and bugfixes into the
2.0 branch that will not be backported to the 1.x branch.  The most
important of these is the support for extension handlers on Azure, which
will be a widely used and compelling feature for Azure moving forward.

Thanks,
Steve

** Affects: walinuxagent (Ubuntu)
 Importance: Undecided
 Status: New

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

Title:
  Update walinuxagent package for Precise to v2.0.5

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/walinuxagent/+bug/1321427/+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 1321024] [NEW] Update walinuxagent package to v2.0.5

2014-05-19 Thread Stephen A. Zarkos
Public bug reported:

Microsoft has released version 2.0.5 of the Azure Linux agent.  This
agent has many bugfixes, including important fixes for the extension
handler feature.  Please update the current walinuxagent package (based
on v2.0.4) with the latest 2.0.5.

That tag/download for WALinuxAgent v2.0.5 can be found here:
https://github.com/Azure/WALinuxAgent/releases

** Affects: walinuxagent (Ubuntu)
 Importance: Undecided
 Status: New

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

Title:
  Update walinuxagent package to v2.0.5

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/walinuxagent/+bug/1321024/+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 1308974] Re: [SRU] regression: walinuxagent incorrectly sets unsupported dhcp parameter

2014-04-17 Thread Stephen A. Zarkos
Hi Ben,

Is it necessary to revert the patch to /usr/sbin/waagent itself rather
than just the packaging?  The original issue was about users calling
'waagent -deprovision', so my concern is that this issue might pop up
again if we revert that patch.

As far as I can tell the fix to waagent is working as expected.  The
agent currently calls
UpdateAndPublishHostName()-UpdateAndPublishHostNameCommon() only if
Provisioning.MonitorHostName=y in waagent.conf (it is set to 'n' on
12.04), or if we run -deprovision.  If it sees ether send 'hostname'
or 'gethostname()' it will not touch the dhclient.conf file.  The
problem here is that dhclient.conf is misconfigured after even the first
provision.

Thanks,
Steve

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

Title:
  [SRU] regression: walinuxagent incorrectly sets unsupported dhcp
  parameter

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/walinuxagent/+bug/1308974/+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 1305418] [NEW] Broken SSHD configuration on Ubuntu 13.10 with latest walinuxagent update

2014-04-09 Thread Stephen A. Zarkos
Public bug reported:

After installing the latest walinuxagent package on Ubuntu 13.10 I see
that we end up with a broken configuration in /etc/ssh/sshd_config.  The
last line in that file looks like the following:

   UsePAM yesClientAliveInterval 180

This is the result of the agent package re-running waagent -setup,
which wants to append the ClientAliveInterval 180 parameter to
/etc/ssh/sshd_config to avoid timeouts with the Azure load balancer
(which has a 4 minute timeout).  But currently waagent assumes there is
a \n at the end of this file.

We could fix this bug in the agent to always add \n to the front of
this parameter (maybe a good idea) or there may be another way to fix
this.

** Affects: walinuxagent (Ubuntu)
 Importance: Undecided
 Status: New

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

Title:
  Broken SSHD configuration on Ubuntu 13.10 with latest walinuxagent
  update

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/walinuxagent/+bug/1305418/+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 1304023] [NEW] Please update walinuxagent to 2.0.4

2014-04-07 Thread Stephen A. Zarkos
Public bug reported:

This is a formal request to please update the Windows Azure Linux Agent
to version 2.0.4 (tag here:
https://github.com/Azure/WALinuxAgent/releases).  We have added an
important capability in 2.0.4 called 'agent injection' that will allow
customers to install new extensions/handlers into there VMs.  This
functionality is available via the API and will also be built into the
Azure portal, and so it is important that we have the correct agent
version on your images so we can provide a consistent experience for
Ubuntu users.

Thanks!
Steve

** Affects: walinuxagent (Ubuntu)
 Importance: High
 Assignee: Ben Howard (utlemming)
 Status: New

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

Title:
  Please update walinuxagent to 2.0.4

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/walinuxagent/+bug/1304023/+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 1267567] Re: walinuxagent not downloading ssh certificates

2014-01-10 Thread Stephen A. Zarkos
Hi Scott,

I'm not able to repro this using the current dev branch of the CLI tools
and the latest CustomData patches.  Can you take a look at the latest
CustomData patches at the pull requests below.  They are mostly similar
to yours and should port easily into the version of the xplat tools and
SDK you are using:

https://github.com/WindowsAzure/azure-sdk-tools-xplat/pull/1048
https://github.com/WindowsAzure/azure-sdk-for-node/pull/1054


One notable change is that we re-arranged roleschema.json a bit and moved the 
CustomData section for both the Windows and Linux provisioning configuration 
(to make it consistent for both platforms).  I'm not sure yet if the issue you 
are seeing is with the wire server or the agent, possibly the json is confusing 
the API and so we end up not getting the certificates we need.


The --no-ssh-password problem may be related to this issue:
https://github.com/WindowsAzure/azure-sdk-tools-xplat/issues/1003
https://github.com/WindowsAzure/azure-sdk-tools-xplat/pull/1004

That fix may actually be in the most recent release of the CLI tools, it
does not repro in my installation.  What version are you working with
now?

We should see the feature branch happening soon-ish that will include
the CustomData patches.  I can let you know when that happens if you
want to test it.


I hope this helps.

Steve

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

Title:
  walinuxagent not downloading ssh certificates

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/walinuxagent/+bug/1267567/+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 1224684] Re: [SRU] cannot sudo, prompted for password on 12.04 Windows Azure

2013-09-27 Thread Stephen A. Zarkos
It looks like the image dated 20130827 also appears to have this issue.
Should this one be removed as well?

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

Title:
  [SRU] cannot sudo, prompted for password on 12.04 Windows Azure

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1224684/+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 1211918] [NEW] WALinuxAgent Github repo has moved

2013-08-13 Thread Stephen A. Zarkos
Public bug reported:

Hello,

The Github repo for Windows Azure Linux Agent has moved to the official
Windows Azure organization on Github.  Please update your upstream
sources:

Old repo:   https://github.com/Windows-Azure/WALinuxAgent
New repo: https://github.com/WindowsAzure/WALinuxAgent

We used the Github transfer mechanism so all git history, pull requests,
stars/watchers, etc. have been preserved.

Thanks!
Steve

** Affects: walinuxagent (Ubuntu)
 Importance: Undecided
 Status: New

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

Title:
  WALinuxAgent Github repo has moved

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/walinuxagent/+bug/1211918/+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 1195524] Re: race condition / transient failure to provision

2013-06-29 Thread Stephen A. Zarkos
Hello!

Thank you for confirming that.  I think the hostname just looked odd so
just wanted to confirm as we don't have access to this environment.

If the instance is still available we really need more logs to figure
out what went wrong.  This will help determine if there's something
wrong on the VM (disk or network issue) or a timing issue that we may be
able work around.

We know the timeout set on the socket by httplib is the system default
timeout for sockets, so if the following http request from
ReportRoleProperties() was 'blocked' it would throw an exception on a
timeout or other IO error.  However, clearly the EnvMonitor was not able
to complete in this case.  Most likely the ifup call could not complete
for some reason.  If this is not a reliable operation then perhaps
disabling the HostMonitor a good solution, of course the VMs other
services may not be aware of a hostname change.

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

Title:
  race condition / transient failure to provision

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/walinuxagent/+bug/1195524/+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 1195524] Re: race condition / transient failure to provision

2013-06-28 Thread Stephen A. Zarkos
Aside from the kernel logs, please also include /var/log/syslog and any other 
relevant logs.  Long, I believe the contents of /var/lib/waagent were posted 
here:
https://bugs.launchpad.net/ubuntu/+source/walinuxagent/+bug/1195524/+attachment/3717115/+files/waagent-info.tar

There is retry logic in httplib, and there would be logs if we
encountered issues/timeouts from ReportRoleProperties(), so I'm not sure
if the VM even got that far.  I see we also have a defunct 'sh' process,
possibly something suffered earlier when calling ifup.

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

Title:
  race condition / transient failure to provision

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/walinuxagent/+bug/1195524/+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 1193404] Re: -verbose flag causes stack trace

2013-06-21 Thread Stephen A. Zarkos
Hi!

Thank you for looking at this.  This issue was fixed upstream a little
while ago, it just needs to make it into the next Ubuntu package update.

Thanks!
Steve

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

Title:
  -verbose flag causes stack trace

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/walinuxagent/+bug/1193404/+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 1193380] Re: resource disk mounted at /mnt/resource should be /mnt

2013-06-21 Thread Stephen A. Zarkos
Hi Scott,

Thank you for looking at this.  The mount point for the resource disk is
configurable via /etc/waagent.conf (see the ResourceDisk.MountPoint
parameter).  The default is /mnt/resource, but this could be changed to
another location if desired.

Thanks,
Steve

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

Title:
  resource disk mounted at /mnt/resource should be /mnt

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/walinuxagent/+bug/1193380/+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 1188753] Re: deletes udev packaged 75-persistent-net-generator.rules

2013-06-10 Thread Stephen A. Zarkos
Hi Ben,

The MAC prefix for Hyper-V/Azure is 00:15:5D (see also
http://standards.ieee.org/develop/regauth/oui/oui.txt)

Thanks,
Steve

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

Title:
  deletes udev packaged 75-persistent-net-generator.rules

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/walinuxagent/+bug/1188753/+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 1188610] Re: sshd_config is modified/replaced

2013-06-07 Thread Stephen A. Zarkos
Hello!

As Robie speculated, editing the ClientAliveInterval parameter will help
keep the session open through the load balancer which would otherwise
drop the connection.  There has to be some network traffic originating
from either the client or server to keep it open.  Possibly your client
sends these keepalives, but not all clients will.

Odd that comments are stripped, we will need to take a look at that.

Thanks!
Steve

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

Title:
  sshd_config is modified/replaced

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/walinuxagent/+bug/1188610/+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