Hello community,

here is the log from the commit of package python3-ec2imgutils for 
openSUSE:Factory checked in at 2018-12-21 08:21:47
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python3-ec2imgutils (Old)
 and      /work/SRC/openSUSE:Factory/.python3-ec2imgutils.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python3-ec2imgutils"

Fri Dec 21 08:21:47 2018 rev:3 rq:660091 version:7.0.4

Changes:
--------
--- /work/SRC/openSUSE:Factory/python3-ec2imgutils/python3-ec2imgutils.changes  
2018-12-04 20:56:20.212718819 +0100
+++ 
/work/SRC/openSUSE:Factory/.python3-ec2imgutils.new.28833/python3-ec2imgutils.changes
       2018-12-21 08:21:50.741546037 +0100
@@ -1,0 +2,8 @@
+Wed Dec 19 15:01:03 UTC 2018 - Robert Schweikert <[email protected]>
+
+- Update to version 7.0.4
+  + Fix traceback in ec2rmimg due to variable name issue
+  + Use proper subnet when no default exists in user account
+  + Properly enforce use of machine argument and support ARM (bsc#1118027)
+
+-------------------------------------------------------------------

Old:
----
  ec2imgutils-7.0.3.tar.bz2

New:
----
  ec2imgutils-7.0.4.tar.bz2

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python3-ec2imgutils.spec ++++++
--- /var/tmp/diff_new_pack.OHZ03h/_old  2018-12-21 08:21:51.077545722 +0100
+++ /var/tmp/diff_new_pack.OHZ03h/_new  2018-12-21 08:21:51.077545722 +0100
@@ -19,7 +19,7 @@
 %define upstream_name ec2imgutils
 
 Name:           python3-ec2imgutils
-Version:        7.0.3
+Version:        7.0.4
 Release:        0
 Summary:        Image management utilities for AWS EC2
 License:        GPL-3.0-or-later

++++++ ec2imgutils-7.0.3.tar.bz2 -> ec2imgutils-7.0.4.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ec2imgutils-7.0.3/ec2uploadimg 
new/ec2imgutils-7.0.4/ec2uploadimg
--- old/ec2imgutils-7.0.3/ec2uploadimg  2018-11-16 17:37:56.531047064 +0100
+++ new/ec2imgutils-7.0.4/ec2uploadimg  2018-12-19 15:46:59.583635530 +0100
@@ -129,7 +129,7 @@
 argparse.add_argument(
     '-m', '--machine',
     dest='arch',
-    help='Machine architecture i386|x86_64 for the uploaded image',
+    help='Machine architecture arm64|i386|x86_64 for the uploaded image',
     metavar='ARCH',
     required=True
 )
@@ -343,6 +343,11 @@
     print('Could not determine account secret access key', file=sys.stderr)
     sys.exit(1)
 
+supported_arch = ['arm64', 'i386', 'x86_64']
+if args.arch not in supported_arch:
+    print('Specified architecture must be one of %s' % str(supported_arch))
+    sys.exit(1)
+
 sriov_type = args.sriov
 if sriov_type:
     sriov_type = 'simple'
@@ -446,6 +451,12 @@
                             file=sys.stderr
                         )
                         sys.exit(1)
+                elif args.arch == 'arm64' and args.virtType != 'hvm':
+                    print(
+                        'Images for arm64 must use hvm virtualization',
+                        file=sys.stderr
+                    )
+                    sys.exit(1)
                 else:
                     print(
                         'Could not reliably determine the ',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ec2imgutils-7.0.3/lib/ec2imgutils/VERSION 
new/ec2imgutils-7.0.4/lib/ec2imgutils/VERSION
--- old/ec2imgutils-7.0.3/lib/ec2imgutils/VERSION       2018-11-16 
17:37:56.519047319 +0100
+++ new/ec2imgutils-7.0.4/lib/ec2imgutils/VERSION       2018-12-19 
15:46:59.467637924 +0100
@@ -1 +1 @@
-7.0.3
+7.0.4
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ec2imgutils-7.0.3/lib/ec2imgutils/ec2uploadimg.py 
new/ec2imgutils-7.0.4/lib/ec2imgutils/ec2uploadimg.py
--- old/ec2imgutils-7.0.3/lib/ec2imgutils/ec2uploadimg.py       2018-11-16 
17:37:56.519047319 +0100
+++ new/ec2imgutils-7.0.4/lib/ec2imgutils/ec2uploadimg.py       2018-12-19 
15:46:59.503637181 +0100
@@ -718,8 +718,14 @@
                 KeyName=self.ssh_key_pair_name,
                 InstanceType=self.launch_ins_type,
                 Placement={'AvailabilityZone': self.zone},
-                SubnetId=self.vpc_subnet_id,
-                SecurityGroupIds=self.security_group_ids.split(',')
+                NetworkInterfaces=[
+                    {
+                        'DeviceIndex': 0,
+                        'AssociatePublicIpAddress': not self.use_private_ip,
+                        'SubnetId': self.vpc_subnet_id,
+                        'Groups': self.security_group_ids.split(',')
+                    }
+                ]
             )['Instances'][0]
         else:
             instance = self._connect().run_instances(
@@ -729,7 +735,13 @@
                 KeyName=self.ssh_key_pair_name,
                 InstanceType=self.launch_ins_type,
                 Placement={'AvailabilityZone': self.zone},
-                SubnetId=self.vpc_subnet_id,
+                NetworkInterfaces=[
+                    {
+                        'DeviceIndex': 0,
+                        'AssociatePublicIpAddress': not self.use_private_ip,
+                        'SubnetId': self.vpc_subnet_id
+                    }
+                ]
             )['Instances'][0]
 
         self.instance_ids.append(instance['InstanceId'])
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ec2imgutils-7.0.3/requirements-dev.txt 
new/ec2imgutils-7.0.4/requirements-dev.txt
--- old/ec2imgutils-7.0.3/requirements-dev.txt  2018-11-16 17:37:56.531047064 
+0100
+++ new/ec2imgutils-7.0.4/requirements-dev.txt  2018-12-19 15:46:59.599635199 
+0100
@@ -1,4 +1,4 @@
--r requirements-test.txt
+-r requirements.txt
 
 pytest
 flake8


Reply via email to