TECHZEN Zenoss User Community ARCHIVE  

Zenoss Core 6.0.0 deploy error

Subject: Zenoss Core 6.0.0 deploy error
Author: Janusz Kujawa
Posted: 2017-11-08 16:12

Dear All,
I tried to deploy latest core version 6.0.0. I've successfully installed docker-ce and all rest required packages.

Application template: zenoss-core-service-6.0.0-1.noarch
CCenter serviced: serviced-1.5.0-1.x86_64

I'm using Centos 64 bit 7.4
OS version: CentOS Linux release 7.4.1708 (Core)

with kernel:
Kernel version: 3.10.0-693.5.2.el7.x86_64

I'm using following DM thin LVM pool:

LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert Devices
docker-pool VGDockerDt twi-aotz-- 50,00g 3,28 0,37 docker-pool_tdata(0)
serviced-pool VGZenossDt twi-a-tz-- 190,00g 0,89 0,09 serviced-pool_tdata(0)

I encountered below error:

lis 08 21:39:31 zenoss.example.com serviced[7219]: I1108 20:39:31.010750 07219 download.go:130] Image zenoss/core_6.0:6.0.0_1 not found locally, pulling
lis 08 21:39:38 zenoss.example.com serviced[7219]: E1108 20:39:38.873255 07219 download.go:132] Could not pull image zenoss/core_6.0:6.0.0_1: API error (404): {"message":"pull access denied for zenoss/core_6.0, repository does not exist or may require 'docker login'"}
lis 08 21:39:38 zenoss.example.com serviced[7219]: time="2017-11-08T20:39:38Z" level=error msg="Could not download image" deploymentid=Test error="API error (404): {\"message\":\"pull access denied for zenoss/core_6.0, repository does not exist or may require 'docker login'\"}\n" image="zenoss/core_6.0:6.0.0_1" location="servicetemplate.go:454" logger=facade overwrite=false parentid= poolid=ZenossLab6 service=Zenoss.core tenant=
lis 08 21:39:38 zenoss.example.com serviced[7219]: time="2017-11-08T20:39:38Z" level=error msg="Could not deploy application" deploymentid=Test error="API error (404): {\"message\":\"pull access denied for zenoss/core_6.0, repository does not exist or may require 'docker login'\"}\n" location="servicetemplate.go:349" logger=facade poolid=ZenossLab6 template=Zenoss.core templateid=b8ba87b4fc420e49ebba2f6a68d665bf
lis 08 21:39:38 zenoss.example.com serviced[7219]: time="2017-11-08T20:39:38Z" level=warning msg="Deploying Service Template" action=deploy deploymentid=Test id=b8ba87b4fc420e49ebba2f6a68d665bf poolid=ZenossLab6 success=false type=servicetemplatewrapper user=root
lis 08 21:39:38 zenoss.example.com serviced[7219]: E1108 20:39:38.873515 07219 servicetemplateresource.go:93] Could not deploy template: API error (404): {"message":"pull access denied for zenoss/core_6.0, repository does not exist or may require 'docker login'"}

The following entry is very strange:

lis 08 21:39:51 zenoss.example.com serviced[7219]: W1108 20:39:51.298666 07219 devicemapper.go:1393] Device: VGZenossDt-serviced--pool was not returned from iostat

Maybe I mad some typo. However I checked /etc/default/serviced and can't see wrong entries. Will be grateful for help!

Thank you.


------------------------------
Janusz Kujawa
------------------------------


Subject: RE: Zenoss Core 6.0.0 deploy error
Author: John Boyle
Posted: 2017-11-08 17:28

@Janusz 6.0 went GA today and I just uploaded the Core 6 OVA and ISO artifacts to the community home page today. They direct download links and are for members who are logged in​ to the community. Just scroll down and they are on the right side below the square graphic. I have other files I am still moving over and will post back when they are linked. These are for the offline install method for Core.

Cheers!

JB

​​

------------------------------
John Boyle
Technology Partnerships & Community Manager
Zenoss
Austin TX
jboyle@zenoss.com
http://www.zenoss.com
------------------------------


Subject: RE: Zenoss Core 6.0.0 deploy error
Author: Janusz Kujawa
Posted: 2017-11-09 06:43

@John I tried to do it different way. I just added extra repositories to my server and I made installation through rpm.

Zenoss REPO:

[zenoss-stable]
name = Zenoss Stable Repository
baseurl = http://get.zenoss.io/yum/zenoss/stable/centos/el7/os/x86_64
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-ZENOSS

------------------------------------------------------------------

DOCKER REPO:

[docker-ce-stable]
name=Docker CE Stable - $basearch
baseurl=https://download.docker.com/linux/centos/7/$basearch/stable
enabled=1
gpgcheck=1
gpgkey=https://download.docker.com/linux/centos/gpg

[docker-ce-stable-debuginfo]
name=Docker CE Stable - Debuginfo $basearch
baseurl=https://download.docker.com/linux/centos/7/debug-$basearch/stable
enabled=0
gpgcheck=1
gpgkey=https://download.docker.com/linux/centos/gpg

[docker-ce-stable-source]
name=Docker CE Stable - Sources
baseurl=https://download.docker.com/linux/centos/7/source/stable
enabled=0
gpgcheck=1
gpgkey=https://download.docker.com/linux/centos/gpg

[docker-ce-edge]
name=Docker CE Edge - $basearch
baseurl=https://download.docker.com/linux/centos/7/$basearch/edge
enabled=0
gpgcheck=1
gpgkey=https://download.docker.com/linux/centos/gpg

[docker-ce-edge-debuginfo]
name=Docker CE Edge - Debuginfo $basearch
baseurl=https://download.docker.com/linux/centos/7/debug-$basearch/edge
enabled=0
gpgcheck=1
gpgkey=https://download.docker.com/linux/centos/gpg

[docker-ce-edge-source]
name=Docker CE Edge - Sources
baseurl=https://download.docker.com/linux/centos/7/source/edge
enabled=0
gpgcheck=1
gpgkey=https://download.docker.com/linux/centos/gpg

[docker-ce-test]
name=Docker CE Test - $basearch
baseurl=https://download.docker.com/linux/centos/7/$basearch/test
enabled=0
gpgcheck=1
gpgkey=https://download.docker.com/linux/centos/gpg

[docker-ce-test-debuginfo]
name=Docker CE Test - Debuginfo $basearch
baseurl=https://download.docker.com/linux/centos/7/debug-$basearch/test
enabled=0
gpgcheck=1
gpgkey=https://download.docker.com/linux/centos/gpg

[docker-ce-test-source]
name=Docker CE Test - Sources
baseurl=https://download.docker.com/linux/centos/7/source/test
enabled=0
gpgcheck=1
gpgkey=https://download.docker.com/linux/centos/gpg


docker version:
docker-ce-17.09.0.ce-1.el7.centos.x86_64

serviced json app template:
zenoss-core-service-6.0.0-1.noarch

serviced version:
serviced-1.5.0-1.x86_64

I think I have some typo in /etc/default/serviced.
I will try to install Zenoss from iso and next I will compare configuration.


------------------------------
Janusz Kujawa
------------------------------


Subject: RE: Zenoss Core 6.0.0 deploy error
Author: Sulabh Chaturvedi
Posted: 2017-11-21 01:01

First of all, I am new to zenoss. Doing it for the first time and encountering same issue. i.e. "App deploy failed Internal Server Error: API error (404): {"message":"pull access denied for zenoss/core_6.0, repository does not exist or may require 'docker login'"} "




System Information - 

While searching for this issue, I found people listed this as an error when there is a time zone difference. But, isn't in my case though.

Can you help me get this resolved ?

------------------------------
Thanks and Regards
Sulabh Chaturvedi
------------------------------

Subject: RE: Zenoss Core 6.0.0 deploy error
Author: Sushanth Shetty
Posted: 2018-03-18 15:42

I do have the exact same error. Where you able to fix it? This is my first time installing Zenoss so really appreciate any help I can get. Thanks




Subject: RE: Zenoss Core 6.0.0 deploy error
Author: Jane Curry
Posted: 2018-03-19 04:43

Are you really trying to deploy 6.0.0?  It looks like 6.1.1 should be available.
Cheers,
Jane

------------------------------
Jane Curry
Skills 1st United Kingdom
jane.curry@skills-1st.co.uk
------------------------------

Subject: RE: Zenoss Core 6.0.0 deploy error
Author: Chris Smouse
Posted: 2018-03-19 10:15

As of Core version 6.0, we started publishing self-extracting Docker images, instead of opening up the Docker repositories for public access. The Core installation guide, starting at around chapter 5, walks through importing those Docker images so that Control Center shouldn't attempt to do the Docker image pull.

Hope this helps.

Chris

------------------------------
Chris Smouse
Senior Manager, Software Engineering
Zenoss
------------------------------


Subject: RE: Zenoss Core 6.0.0 deploy error
Author: Peter Dragon
Posted: 2018-03-19 14:34

Adding Zenoss Core to a standard deployment As per the Chapter 5 instructions

[root@jaxdvzen01 ~]# chmod +x /root/install-zenoss-*.run
[root@jaxdvzen01 ~]# for image in install-zenoss-*.run
> do
> /bin/echo -en "\nLoading $image..."
> yes | ./$image
> done

Loading install-zenoss-core_6.1_6.1.0_1.run...
Docker image imported locally
[root@jaxdvzen01 ~]# docker images
REPOSITORY TAG IMAGE ID CREATED VIRTUAL SIZE
zenoss/core_6.1 6.1.0_1 0d75b2aab3a0 3 months ago 1.522 GB
zenoss/serviced-isvcs v40 88cd6c24cc82 2 years ago 828.1 MB
zenoss/isvcs-zookeeper v3 46fa0a2fc4bf 2 years ago 443.6 MB

[root@jaxdvzen01 ~]# serviced template add /opt/serviced/templates/zenoss*.json
e462901e09ea519948e47e7926d0a9a9
[root@jaxdvzen01 ~]# serviced template list
TemplateID Name Description
e462901e09ea519948e47e7926d0a9a9 Zenoss.core Zenoss Core
[root@jaxdvzen01 ~]# serviced template deploy e462901e09ea519948e47e7926d0a9a9 default zenoss6-d
Deploying template - please wait...
Error: image zenoss/core_6.1:6.1.2_1 not found

Still no joy...



------------------------------
[Peter] [Dragon]
------------------------------


Subject: RE: Zenoss Core 6.0.0 deploy error
Author: Peter Dragon
Posted: 2018-03-19 14:58

I see part of the issue, when doing the "yum --enablerepo=zenoss-stable install -y zenoss-core-service" it installed "zenoss-core-6.1.2_1.json" and the issue I am getting is like the OP's issue. But the work around to import the .run file off the download link only offers the .run version 6.1.1, and not the 6.1.2...

Is there a link to that version I am just not seeing?

------------------------------
[Peter] [Dragon] IT Engineer
------------------------------


Subject: RE: Zenoss Core 6.0.0 deploy error
Author: Peter Dragon
Posted: 2018-03-19 15:28

I was able to correct my issue, by removing the rpm for 6.1.2, which came from the stable repository. and manual downloaded the 6.1.0 rpm and then did a manual install of it. Then I was able to import the image template as there was no version mismatch.

So it looks like a issue with the .rpm for 6.1.2 when using the stable repo. Manually rolling back to 6.1.0 works fine.

------------------------------
[Peter] [Dragon] IT Engineer
------------------------------


Subject: RE: Zenoss Core 6.0.0 deploy error
Author: Mark Nettmann
Posted: 2018-05-30 07:53

I am getting a similar issue, with 6.1. 

I am following the official guide here: Core Installation Guide 6.1.2 | Zenoss 

I am getting this:


[root@zenoss5 ~]# serviced template deploy d1a6b0cfebe4302c42282b4109dbd97c default Production
Deploying template - please wait...
API error (404): {"message":"pull access denied for zenoss/core_6.1, repository does not exist or may require 'docker login'"}

[root@zenoss5 ~]#


I have created a docker hub account, and tried 'docker login' and have the same error. 

I would really appreciate some help. I dont know which RPM to remove as I understood this to be a docker container, not a stand alone package.

Same issue here: Installation/Getting Started.

Any help or pointers appreciated. 




------------------------------
Mark Nettmann
Mech Warrior
LSD
------------------------------


< Previous
Zenoss 6.0.0.1 master OVA - no rawevents queue
  Next
Zenoss 5.2.3 appliance and Kerberos auth for winrm monitoring.
>