[caasp-beta] Issue with repo when bootstrapping master with skuba

Vincent Moutoussamy vmoutoussamy at suse.com
Wed Aug 21 02:26:56 MDT 2019


Hi,

I think this issue might be due to the SCC channels updates we did to release RC1.
Please redo your testing it might works now.

Regards,
--
Vincent Moutoussamy
SUSE Beta Program, JeOS and SDK Project Manager

On 20 Aug 2019, at 18:00, Simon Briggs <Simon.Briggs at suse.com<mailto:Simon.Briggs at suse.com>> wrote:

Hi,

I have used standard terraforms to build a small 3 node environment with CPI.

This seems to work fine when registering against the SCC.

But when I use command:
skuba node bootstrap --user sles --sudo --target 151.155.15.166 caasp-master-sibriggs-caasp-cluster-0 -v 5

I get the error:

** This is a BETA release and NOT intended for production usage. **
I0820 16:55:49.549897    7183 config.go:38] loading configuration from "kubeadm-init.conf"
I0820 16:55:49.551182    7183 states.go:35] === applying state kubernetes.install-node-pattern ===
I0820 16:55:51.703516    7183 ssh.go:167] running command: "sudo sh -c 'zypper --non-interactive install --force patterns-caasp-Node-1.15'"
I0820 16:55:53.549139    7183 ssh.go:190] stdout | Refreshing service 'Basesystem_Module_15_SP1_x86_64'.
I0820 16:55:53.549300    7183 ssh.go:190] stdout | Refreshing service 'Containers_Module_15_SP1_x86_64'.
I0820 16:55:53.549340    7183 ssh.go:190] stdout | Refreshing service 'SUSE_CaaS_Platform_4.0_x86_64'.
I0820 16:55:53.549588    7183 ssh.go:190] stdout | Refreshing service 'SUSE_Linux_Enterprise_Server_15_SP1_x86_64'.
I0820 16:55:53.549990    7183 ssh.go:190] stdout | Refreshing service 'Server_Applications_Module_15_SP1_x86_64'.
I0820 16:55:55.390479    7183 ssh.go:190] stdout | Loading repository data...
I0820 16:55:55.405980    7183 ssh.go:190] stdout | Reading installed packages...
I0820 16:55:55.508669    7183 ssh.go:190] stderr | Package 'patterns-caasp-Node-1.15' not found.
F0820 16:55:55.515453    7183 bootstrap.go:48] error bootstraping node: failed to apply state kubernetes.install-node-pattern: Process exited with status 104

But on the master node I can only see:

sles at caasp-master-sibriggs-caasp-cluster-0:~> zypper se patterns-caasp-Nod
Loading repository data...
Reading installed packages...

S  | Name                | Summary                 | Type
---+---------------------+-------------------------+--------
i+ | patterns-caasp-Node | SUSE CaaS Platform Node | package

Which I installed myself.

sles at caasp-master-sibriggs-caasp-cluster-0:~> SUSEConnect -l
Root privileges are required to register products and change software repositories
sles at caasp-master-sibriggs-caasp-cluster-0:~> sudo SUSEConnect -l
AVAILABLE EXTENSIONS AND MODULES

   Basesystem Module 15 SP1 x86_64 (Activated)
   Deactivate with: SUSEConnect -d -p sle-module-basesystem/15.1/x86_64

       Containers Module 15 SP1 x86_64 (Activated)
       Deactivate with: SUSEConnect -d -p sle-module-containers/15.1/x86_64

           SUSE CaaS Platform 4.0 x86_64 (BETA) (Activated)
           Deactivate with: SUSEConnect -d -p caasp/4.0/x86_64

       Desktop Applications Module 15 SP1 x86_64
       Activate with: SUSEConnect -p sle-module-desktop-applications/15.1/x86_64

           Development Tools Module 15 SP1 x86_64
           Activate with: SUSEConnect -p sle-module-development-tools/15.1/x86_64

           SUSE Linux Enterprise Workstation Extension 15 SP1 x86_64
           Activate with: SUSEConnect -p sle-we/15.1/x86_64 -r ADDITIONAL REGCODE

       Python 2 Module 15 SP1 x86_64
       Activate with: SUSEConnect -p sle-module-python2/15.1/x86_64

       SUSE Cloud Application Platform Tools Module 15 SP1 x86_64
       Activate with: SUSEConnect -p sle-module-cap-tools/15.1/x86_64

       SUSE Linux Enterprise Live Patching 15 SP1 x86_64
       Activate with: SUSEConnect -p sle-module-live-patching/15.1/x86_64 -r ADDITIONAL REGCODE

       SUSE Package Hub 15 SP1 x86_64
       Activate with: SUSEConnect -p PackageHub/15.1/x86_64

       Server Applications Module 15 SP1 x86_64 (Activated)
       Deactivate with: SUSEConnect -d -p sle-module-server-applications/15.1/x86_64

           Legacy Module 15 SP1 x86_64
           Activate with: SUSEConnect -p sle-module-legacy/15.1/x86_64

           Public Cloud Module 15 SP1 x86_64
           Activate with: SUSEConnect -p sle-module-public-cloud/15.1/x86_64

           SUSE Enterprise Storage 6 x86_64
           Activate with: SUSEConnect -p ses/6/x86_64 -r ADDITIONAL REGCODE

           SUSE Linux Enterprise High Availability Extension 15 SP1 x86_64
           Activate with: SUSEConnect -p sle-ha/15.1/x86_64 -r ADDITIONAL REGCODE

           Web and Scripting Module 15 SP1 x86_64
           Activate with: SUSEConnect -p sle-module-web-scripting/15.1/x86_64

       Transactional Server Module 15 SP1 x86_64
       Activate with: SUSEConnect -p sle-module-transactional-server/15.1/x86_64

My manager/deployer was built Friday 20th Aug 2019.

I can provide access to the nodes if this helps, but I couldn't find any variables were I could change this package name to the correct.

Kind regards
Simon Briggs
EMEA Cloud Technical Strategist at SUSE
simon.briggs at suse.com<mailto:simon.briggs at suse.com>
+44 (0) 1635 937619
+44 (0) 7881 808969




_______________________________________________
caasp-beta mailing list
caasp-beta at lists.suse.com
Check the mailing list archives or Unsubscribe at http://lists.suse.com/mailman/listinfo/caasp-beta

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.suse.com/pipermail/caasp-beta/attachments/20190821/b9cdfdd9/attachment.html>


More information about the caasp-beta mailing list