hyper-v: IP Injection failing on trusty

Bug #1295401 reported by Abhishek Gupta
16
This bug affects 1 person
Affects Status Importance Assigned to Milestone
hv-kvp-daemon-init (Ubuntu)
Invalid
High
Unassigned
linux (Ubuntu)
Fix Released
High
Unassigned

Bug Description

Hi folks,

It appears that the hyper-v specific script hv_set_ifconfig.sh in the hv-kvp-daemon-init package is failing because of the following:

The occurrence of “IF_NAME” in hv_set_ifconfig.sh needs to be changed to “DEVICE” because the resulting KVP generated file /var/lib/hyperv/ifcf-eth0 has “DEVICE” and not “IF_NAME” eventually.

These are the current code snippets in hv_set_ifconfig.sh using "IF_NAME" and they need to be changed to "DEVICE" instead:

if not "IF_NAME" in kvp :
        exit(1)

output=[]
basename=kvp["IF_NAME"]

Please let us know if you need more information. Also please ensure that the script is updated for all server, client and azure ISOs and installers.

Thanks,
Abhishek

CVE References

Revision history for this message
Brad Figg (brad-figg) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:

apport-collect 1295401

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
tags: added: trusty
Revision history for this message
Abhishek Gupta (abgupta) wrote :

Logs not essential.

Changed in linux (Ubuntu):
importance: Undecided → High
status: Incomplete → Confirmed
tags: added: kernel-hyperv
tags: added: kernel-hyper-v
removed: kernel-hyperv
Andy Whitcroft (apw)
Changed in hv-kvp-daemon-init (Ubuntu):
status: New → Confirmed
importance: Undecided → High
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (8.4 KiB)

This bug was fixed in the package linux - 3.13.0-20.42

---------------
linux (3.13.0-20.42) trusty; urgency=low

  [ Adam Conrad ]

  * [Packaging] Set bootloader and loader on ppc64el to grub

  [ Andy Whitcroft ]

  * rebase to v3.13.7
  * [Config] updateconfigs following rebase to v3.13.7
  * cloud-tools -- pull in init scripts for Hyper-V daemons
  * cloud-tools -- detect Hyper-V VM to avoid starting
  * cloud-tools -- update IF_NAME to DEVICE in hv_* scripts
    - LP: #1295401
  * [Config] cloud-tools -- ensure we force older hv-kvp-daemon-init off
  * [Config] fix up Breaks/Replaces on linux-cloud-tools-common to fix upgrades

  [ Emmanuel Grumbach ]

  * SAUCE: (no-up) iwlwifi: mvm: disable uAPSD due to bugs in the firmware

  [ James Bottomley ]

  * SAUCE: (no-up) fix our current target reap infrastructure
    - LP: #1283604
  * SAUCE: (no-up) dual scan thread bug fix
    - LP: #1283604

  [ K. Y. Srinivasan ]

  * SAUCE: (no-up) Tools: hv: vssdaemon: Ignore VFAT mounts during the
    Freeze operation
    - LP: #1298192

  [ Paolo Pisati ]

  * [Config] disable HW_RANDOM_EXYNOS, USB_DWC3_EXYNOS,
    PHY_EXYNOS_MIPI_VIDEO
    - LP: #1294353
  * [Config] armhf: generic: AHCI_IMX=y, SERIAL_FSL_LPUART=m
    - LP: #1294951
  * [Config] armhf: generic: MFD_TI_AM335X_TSCADC and USB_DWC3_OMAP = m
    - LP: #1294962

  [ Tim Gardner ]

  * Release Tracking Bug
    - LP: #1298585
  * [Config] ignore.modules
  * SAUCE: i2c-cpm: Add missing includes for powerpc
  * [Config] CONFIG_ABX500_CORE=y for ppc64el
  * [Config] CONFIG_ALX=m for powerpc
  * [Config] CONFIG_ACENIC_OMIT_TIGON_I=n for ppc64el
  * [Config] CONFIG_ACORN_PARTITION_*=n for ppc64el
  * [Config] CONFIG_ANDROID=n for powerpc
  * [Config] CONFIG_ASYNC_RAID6_TEST=m for ppc64el
  * [Config] CONFIG_BIG_KEYS=y for ppc64el
  * [Config] CONFIG_BLK_DEV_INTEGRITY=y for ppc64el
  * [Config] CONFIG_BSD_PROCESS_ACCT=y for ppc64el
  * [Config] CONFIG_BLK_DEV_SR_VENDOR=n for ppc64el
  * [Config] CONFIG_CFG80211=m for ppc64el
  * [Config] CONFIG_CHARGER_BQ24190=m for powerpc
  * [Config] CONFIG_CHARGER_BQ24735=m for powerpc
  * [Config] CONFIG_EXPERT=y for ppc64el
  * [Config] CONFIG_ATA_SFF=y on ppc64el
  * [Config] CONFIG_ATA_GENERIC=y for ppc64el, powerpc
  * [Config] CONFIG_CHR_DEV_ST=m for ppc64el
  * [Config] CONFIG_CHECKPOINT_RESTORE=y for ppc64el
  * [Config] CONFIG_CHELSIO_T1_1G=y for ppc64el
  * [Config] CONFIG_CHR_DEV_OSST=m for ppc64el
  * [Config] CONFIG_CHR_DEV_SCH=m for ppc64el
  * [Config] CONFIG_CPU_FREQ_STAT=y for powerpc
  * [Config] CONFIG_DDR=y for ppc64el
  * [Config] CONFIG_DEBUG_BUGVERBOSE=y for powerpc
  * [Config] CONFIG_EXT4_USE_FOR_EXT23=y for powerpc, ppc64el
  * [Config] CONFIG_E100=m, CONFIG_E1000=m, CONFIG_E1000E=m for ppc64el
  * [Config] CONFIG_EZX_PCAP=n for all arches
  * [Config] CONFIG_DYNAMIC_DEBUG=y for powerpc
  * [Config] CONFIG_ENABLE_MUST_CHECK=n for ppc64el
  * [Config] CONFIG_ENABLE_WARN_DEPRECATED=n for ppc64el
  * [Config] CONFIG_FB_3DFX=m for all arches
  * [Config] CONFIG_FB_MATROX=m for ppc64el
  * [Config] CONFIG_FB_RADEON=m for ppc64el
  * [Config] CONFIG_FB_SAVAGE_I2C=y for all arches
  * [Config] CONFIG_FIREWIRE=m for ppc64el
  * [Config] CO...

Read more...

Changed in linux (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
Andy Whitcroft (apw) wrote :

Moves these bits to linux-cloud-tools and therefore the task against hv-kvp-daemon-init is no longer appropriate.

Changed in hv-kvp-daemon-init (Ubuntu):
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.