TECHZEN Zenoss User Community ARCHIVE  

Beta 2

Subject: Beta 2
Author: [Not Specified]
Posted: 2014-09-08 07:17

I am having issues during the install of Beta 2, using the .ova file. After installing docker, it requires that you install the Zenoss OpenPGP public key using the following command:

sudo apt-key adv --keyserver keys.gnupg.net --recv-keys AA5A1AD7

This produces the following output and errors:

zenoss@zenosscc:~$ sudo apt-key adv --keyserver keys.gnupg.net --recv-keys AA5A1AD7

Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --homedir /tmp/tmp.s5Ir1qDGSJ --no-auto-check- trustdb --trust-model always --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyring /etc/apt/trusted.gpg.d/debian-archive-squeeze-automatic.gpg --keyring /etc/apt/trusted.gpg.d/debian-archive-squeeze-stable.gpg --keyring /etc/apt/trusted.gpg.d/debian-archive-wheezy-automatic.gpg --keyring /etc/apt/trusted.gpg.d/debian-archive-wheezy-stable.gpg --keyring /etc/apt/trusted.gpg.d/saltstack-salt.gpg --keyserver keys.gnupg.net --recv-keys AA5A1AD7
gpg: requesting key AA5A1AD7 from hkp server keys.gnupg.net
gpg: keyserver timed out
gpg: keyserver receive failed: keyserver error



Subject: The beta 2 ova file is an
Author: [Not Specified]
Posted: 2014-09-08 10:17

The beta 2 ova file is an VMware appliance and should be ready to run. In other words, you shouldn't have to install anything to get it working.

Please refer to the installation and deployment guide ->http://beta.zenoss.io/Core-5-Beta-2/Documentation/Zenoss_Core_Beta_Insta....

Please keep me posted on how you go.



Subject: I was having the same issues
Author: [Not Specified]
Posted: 2014-09-09 06:57

I was having the same issues in the beginning, make sure you have added the Core as a host labled default in the control center under the "Hosts" tab. Also check to ensure that Zensyslog and Zentrap have IP assignments under "Applications". After fixing these few items, my services have been running strong for 17 hours.
I am running 4 CPU's and 16 GB RAM



Subject: I also have 16GB and 4 CPUs
Author: Tim Caiazza
Posted: 2014-09-09 08:27

I also have 16GB and 4 CPUs also for this VM. Here is the requested info http://pastebin.com/cGUb5R5j

My host zenosscc is a member of the default resource pool. My uneducated guess on what maybe going on is somehow the host id is getting screwed up somewhere.

In the serviced log, i keep seeing this error message
W0909 09:08:34.221800 01340 daemon.go:366] masterClient.GetHost 007f0101 failed: hosts_server.go host not found (has this host been added)

But in both the zenoss command center and when i do a serviced host list, the only host I have added has a name/id of 020a10d2 instead of 007f0101.

I am trying to run this in virtualbox instead of vmware, could that also be a issue



Subject: Thanks for sharing the host
Author: [Not Specified]
Posted: 2014-09-09 12:35

Thanks for sharing the host and log info. It looks like there might be an orphaned hostid entry in Elasticsearch. This may have happened since the network config would have been reset with the VMware->VBox migration and the host was already added.

Can you try running the following command and post the output to pastbin for me
http://[hostip]:9200/_search

I think the quickest resolution would be to reinstall serviced:
1. Stop serviced
2. Check no serviced process is running (may take a minute or two)
3. rm -rf /opt/serviced (make sure there is nothing left in the /opt/serviced directory)
4. Reinstall serviced package via apt-get or dpkg commands (sudo apt-get --reinstall install serviced)
5. start serviced
6. serviced add host [hostip]:4979 default beta2

Let me know how you go.



Subject: Multi-host
Author: [Not Specified]
Posted: 2014-09-09 13:25

I am trying to add a resource pool to my master host, I have completed the following:
sudo sed -i -e 's|^# *\(export HOME=/root\)|\1|' \
-e 's|^# *\(export SERVICED_REGISTRY=\).|\11|' \
-e 's|^# *\(export SERVICED_AGENT=\).|\11|' \
-e 's|^# *\(export SERVICED_MASTER=\).|\11|' \
/etc/default/serviced

Is the /etc/default/serviced supposed to look like this now

export HOME=/root



Subject: I can't access that link from
Author: [Not Specified]
Posted: 2014-09-10 09:28

I can't access that link from work, but I did pull it up on my phone. Should the export line be uncommented Also, should all of the host systems be setup this way Thanks.

I would assume that the instructions need updated since the above commands did not properly configure the serviced file.



Subject: Installing Resource Pools
Author: [Not Specified]
Posted: 2014-09-15 10:04

I am trying to understanding the installation of the resource pools. Is the appliance file only for the Master Host Is the resource pool supposed to be installed from a Ubuntu base server install

Also, even with the appliance install out of the box, the /etc/default/serviced file only has "export HOME=/root" in it. It does not contain any of the lines required to be alter by the instructions in the documentation. My experience with manually configuring the file and adding the appropriate lines causes the control center to crash.



Subject: Creating a second host
Author: [Not Specified]
Posted: 2014-09-15 15:16

Adding to the above, when creating a second host (not using the appliance file) and the follow command is ran:

sudo apt-get install -y zenoss-core-service

an error is returned stating "Unable to locate package zenoss-core-service"



Subject: A resource pool is a logical
Author: [Not Specified]
Posted: 2014-09-16 13:59

A resource pool is a logical group that allows for controlled distribution of services over a set of hosts that belong to a given resource pool. Each Control Center host may only belong to one resource pool. When adding a host to Control Center, you have the option of adding it to a specific resource pool.

Each service that is managed by Control Center can be mapped to a target resource pool and is defined in the application template.

It looks like your serviced file has been overwritten, in the case that your serviced file is messed up the standard config should override it which is defined in the /etc/init/serviced.conf file. A sample of the default serviced config can be found here: /etc/default/serviced ->http://pastebin.com/XX1sqM00



Subject: Can you please paste the
Author: [Not Specified]
Posted: 2014-09-22 21:50

Can you please paste the serviced log files for both the master and agent nodes into pastbin and post the links here



< Previous
Issues Getting Beta2 to start in VirtualBox
  Next
auto-deploy script, mirrors missing
>