Details
-
Bug
-
Resolution: Fixed
-
High
-
None
-
HCS 1.4.1
-
None
Description
Summary
The admin of HipChat Server cannot configure the static IP address of the instance using the steps mentioned in the official documentation Configuring a static IP address after deploying the brand new OVA for 1.4.1 - https://hipchat-server-stable.s3.amazonaws.com/HipChat.ova
Environment
- HipChat Server 2.0 Build 1.4.1
- VirtualBox 5.0.2
- Other tested environments include VMplayer and ESXi 6.x
Steps to Reproduce
- Deploy a brand new HipChat Server 1.4.1 OVA on the hypervisor
- Once everything is up and running, proceed to configure the static IP address of the HipChat Server by following the steps in the documentation
hipchat network -m static -i <IP> -s <netmask> -g <gateway> -r <DNS>
- Once done, confirm if the changes are reflected by running the following command:
hipchat network --show
Expected Results
The IP address shows the static IP address that was configured through the command earlier
Actual Results
The old IP address is still in use instead of the new static IP address.
Workaround
If the HipChat Server has Internet Access
Log in to your HipChat Server command line console and run the following commands:
sudo dont-blame-hipchat
wget https://s3.amazonaws.com/uploads.hipchat.com/10804/3712034/ddZc6NMKeQm8orE/ovflan -O /etc/init.d/ovflan
chmod a+x /etc/init.d/ovflan
..then proceed with configuring a static IP address for the HipChat server.
If the HipChat Server is on an isolated network with NO Internet Access
Download the ovflan script from this URL to your workstation:
https://s3.amazonaws.com/uploads.hipchat.com/10804/3712034/ddZc6NMKeQm8orE/ovflan
Copy the ovflan script to the HipChat server using your preferred file transfer tool. For workstations with the ability to scp a file to the server, the command will look like the following:
scp /path/to/ovflan admin@your.hipchat.server:/home/admin
...where "/path/to/ovflan" is the actual path to where the ovflan file was saved and "your.hipchat.server" is the Fully Qualified Domain Name (FQDN) of the HipChat Server.
Log in to your HipChat Server's command line console and run the following commands:
sudo dont-blame-hipchat cp /home/admin/ovflan /etc/init.d/ chmod a+x /etc/init.d/ovflan
...then proceed with configuring a static IP address for the HipChat server.
This will also work if the need to change back to a DHCP address is desired.
If the HipChat Server is not Accessible at all over the network
Log in to the local console of the HipChat Server. VirtualBox and VMWare both provide this capability.
Run the following command to change to the root user:
sudo dont-blame-hipchat
In a prefferred text editor (nano or vim), please open and edit the /etc/network/interfaces file and add the desired networking configurations.
Below is an example of what a static IP address configuration will look like. Please substitute the respective values in the example below for your environment:
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 172.16.53.138
netmask 255.255.255.0
gateway 172.16.53.2
dns-nameservers 8.8.8.8
Next, save the file and run the hipchat network command so that the changes take effect. Use the values for ip address, gateway, netmask, and dns servers that were used in the file edit above, for example:
hipchat network -m static -i 172.16.53.138 -s 255.255.255.0 -g 172.16.53.2 -r 8.8.8.8
Once this is done, and the system is accessible over the network, please proceed with downloading and / or copying the ovflan file using either of the first two methods above to the HipChat Server so that any future networking changes will take effect properly.
Resolution
The fix is shipped on HCS 1.4.3. Please upgrade your server.